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

Unified Diff: third_party/WebKit/Source/core/frame/WebLocalFrameBase.h

Issue 2865953002: Move more users of WebLocalFrameImpl to WebLocalFrameBase. (Closed)
Patch Set: Convert DedicatedWorkerMessagingProxyProviderImpl to use WebLocalFrameBase. Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/ContextMenuClientImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/WebLocalFrameBase.h
diff --git a/third_party/WebKit/Source/core/frame/WebLocalFrameBase.h b/third_party/WebKit/Source/core/frame/WebLocalFrameBase.h
index 3e05917358238c3299e9c6652f02c5ddcb1b0c19..9679281158e46567848ed60dbc811134572cb6a1 100644
--- a/third_party/WebKit/Source/core/frame/WebLocalFrameBase.h
+++ b/third_party/WebKit/Source/core/frame/WebLocalFrameBase.h
@@ -11,6 +11,10 @@
namespace blink {
class LocalFrame;
+class Node;
+class WebFrameClient;
+class WebTextCheckClient;
+class WebViewBase;
// WebLocalFrameBase is a temporary class the provides a layer of abstraction
// for WebLocalFrameImpl. Mehtods that are declared public in WebLocalFrameImpl
@@ -25,6 +29,12 @@ class WebLocalFrameBase : public WebLocalFrame {
CORE_EXPORT static WebLocalFrameBase* FromFrame(LocalFrame*);
CORE_EXPORT static WebLocalFrameBase* FromFrame(LocalFrame&);
+ virtual WebViewBase* ViewImpl() const = 0;
+ virtual WebFrameClient* Client() const = 0;
+ virtual WebTextCheckClient* TextCheckClient() const = 0;
+ virtual void SetContextMenuNode(Node*) = 0;
+ virtual void ClearContextMenuNode() = 0;
+
protected:
explicit WebLocalFrameBase(WebTreeScopeType scope) : WebLocalFrame(scope) {}
};
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/ContextMenuClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698