diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-10-26 13:57:00 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-11-02 11:31:01 +0000 |
commit | 1943b3c2a1dcee36c233724fc4ee7613d71b9cf6 (patch) | |
tree | 8c1b5f12357025c197da5427ae02cfdc2f3570d6 /chromium/third_party/blink/public/web/web_frame.h | |
parent | 21ba0c5d4bf8fba15dddd97cd693bad2358b77fd (diff) | |
download | qtwebengine-chromium-1943b3c2a1dcee36c233724fc4ee7613d71b9cf6.tar.gz |
BASELINE: Update Chromium to 94.0.4606.111
Change-Id: I924781584def20fc800bedf6ff41fdb96c438193
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/third_party/blink/public/web/web_frame.h')
-rw-r--r-- | chromium/third_party/blink/public/web/web_frame.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chromium/third_party/blink/public/web/web_frame.h b/chromium/third_party/blink/public/web/web_frame.h index a70289aff20..2eeeafe1c5c 100644 --- a/chromium/third_party/blink/public/web/web_frame.h +++ b/chromium/third_party/blink/public/web/web_frame.h @@ -162,6 +162,10 @@ class BLINK_EXPORT WebFrame { // the given node is not a frame, iframe or if the frame is empty. static WebFrame* FromFrameOwnerElement(const WebNode&); + // Whether the owner element of this frame is in the document tree or the + // shadow tree, per https://w3c.github.io/webcomponents/spec/shadow/. + mojom::TreeScopeType GetTreeScopeType() const { return scope_; } + // This identifier represents the stable identifier between a // LocalFrame <--> RenderFrameHostImpl or a // RemoteFrame <--> RenderFrameProxyHost in the browser process. @@ -170,8 +174,6 @@ class BLINK_EXPORT WebFrame { #if INSIDE_BLINK static WebFrame* FromCoreFrame(Frame*); static Frame* ToCoreFrame(const WebFrame&); - - bool InShadowTree() const { return scope_ == mojom::TreeScopeType::kShadow; } #endif protected: |