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

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

Issue 2845583002: Remove FrameViewBase as base class of RemoteFrameView. (Closed)
Patch Set: fix scrollbar inactive Created 3 years, 8 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
Index: third_party/WebKit/Source/core/frame/FrameOrPlugin.h
diff --git a/third_party/WebKit/Source/core/frame/FrameOrPlugin.h b/third_party/WebKit/Source/core/frame/FrameOrPlugin.h
index 426cd53e600e9365ed8ca252ea9521eedc029ce3..d9f398a40712bd5818981045dce6223663f79c2f 100644
--- a/third_party/WebKit/Source/core/frame/FrameOrPlugin.h
+++ b/third_party/WebKit/Source/core/frame/FrameOrPlugin.h
@@ -11,6 +11,7 @@
namespace blink {
class CullRect;
+class FrameView;
class GraphicsContext;
class IntRect;
@@ -20,7 +21,14 @@ class CORE_EXPORT FrameOrPlugin : public GarbageCollectedMixin {
public:
virtual ~FrameOrPlugin() {}
+ virtual bool IsFrameView() const { return false; }
+ virtual bool IsPluginView() const { return false; }
+
+ virtual void SetParent(FrameView*) = 0;
+ virtual FrameView* Parent() const = 0;
+ virtual void SetParentVisible(bool) = 0;
virtual void SetFrameRect(const IntRect&) = 0;
+ virtual void FrameRectsChanged() = 0;
virtual const IntRect& FrameRect() const = 0;
virtual void Paint(GraphicsContext&, const CullRect&) const = 0;
virtual void Show() = 0;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameView.h » ('j') | third_party/WebKit/Source/core/frame/FrameView.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698