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

Unified Diff: Source/web/WebFrameImpl.h

Issue 191003006: Framework for converting embedder uses of WebFrame to WebLocalFrame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/web/WebFrameImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebFrameImpl.h
diff --git a/Source/web/WebFrameImpl.h b/Source/web/WebFrameImpl.h
index 5ddadee0da30c60e625adeb843e9703015dd65ba..79eec874aa6a62de89664c3d541529c7334f3b72 100644
--- a/Source/web/WebFrameImpl.h
+++ b/Source/web/WebFrameImpl.h
@@ -72,10 +72,11 @@ template <typename T> class WebVector;
// Implementation of WebFrame, note that this is a reference counted object.
class WebFrameImpl FINAL
- : public WebFrame
+ : public WebLocalFrame
, public RefCounted<WebFrameImpl> {
public:
// WebFrame methods:
+ virtual WebLocalFrame* toWebLocalFrame() OVERRIDE { return this; }
virtual void close() OVERRIDE;
virtual WebString uniqueName() const OVERRIDE;
virtual WebString assignedName() const OVERRIDE;
« no previous file with comments | « no previous file | Source/web/WebFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698