Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Side by Side Diff: Source/web/FrameLoaderClientImpl.h

Issue 1132133009: Plumb whether or not a frame is in shadow DOM to the embedder. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address review comments Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/loader/EmptyClients.h ('k') | Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 virtual void documentElementAvailable() override; 60 virtual void documentElementAvailable() override;
61 61
62 virtual void didCreateScriptContext(v8::Local<v8::Context>, int extensionGro up, int worldId) override; 62 virtual void didCreateScriptContext(v8::Local<v8::Context>, int extensionGro up, int worldId) override;
63 virtual void willReleaseScriptContext(v8::Local<v8::Context>, int worldId) o verride; 63 virtual void willReleaseScriptContext(v8::Local<v8::Context>, int worldId) o verride;
64 64
65 // Returns true if we should allow the given V8 extension to be added to 65 // Returns true if we should allow the given V8 extension to be added to
66 // the script context at the currently loading page and given extension grou p. 66 // the script context at the currently loading page and given extension grou p.
67 virtual bool allowScriptExtension(const String& extensionName, int extension Group, int worldId) override; 67 virtual bool allowScriptExtension(const String& extensionName, int extension Group, int worldId) override;
68 68
69 virtual bool hasWebView() const override; 69 virtual bool hasWebView() const override;
70 virtual bool inShadowTree() const override;
70 virtual Frame* opener() const override; 71 virtual Frame* opener() const override;
71 virtual void setOpener(Frame*) override; 72 virtual void setOpener(Frame*) override;
72 virtual Frame* parent() const override; 73 virtual Frame* parent() const override;
73 virtual Frame* top() const override; 74 virtual Frame* top() const override;
74 virtual Frame* previousSibling() const override; 75 virtual Frame* previousSibling() const override;
75 virtual Frame* nextSibling() const override; 76 virtual Frame* nextSibling() const override;
76 virtual Frame* firstChild() const override; 77 virtual Frame* firstChild() const override;
77 virtual Frame* lastChild() const override; 78 virtual Frame* lastChild() const override;
78 virtual void willBeDetached() override; 79 virtual void willBeDetached() override;
79 virtual void detached() override; 80 virtual void detached() override;
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 // The WebFrame that owns this object and manages its lifetime. Therefore, 188 // The WebFrame that owns this object and manages its lifetime. Therefore,
188 // the web frame object is guaranteed to exist. 189 // the web frame object is guaranteed to exist.
189 WebLocalFrameImpl* m_webFrame; 190 WebLocalFrameImpl* m_webFrame;
190 }; 191 };
191 192
192 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 193 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl());
193 194
194 } // namespace blink 195 } // namespace blink
195 196
196 #endif 197 #endif
OLDNEW
« no previous file with comments | « Source/core/loader/EmptyClients.h ('k') | Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698