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

Unified Diff: third_party/WebKit/Source/platform/FrameViewBase.h

Issue 2814643003: Remove FrameViewBase as base class of PluginView. (Closed)
Patch Set: fix unused var 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/platform/FrameViewBase.h
diff --git a/third_party/WebKit/Source/platform/FrameViewBase.h b/third_party/WebKit/Source/platform/FrameViewBase.h
index 0b05bb291ebcbfe8080be7f16377238922bee1ab..f9eb22b6561f574082583f2aab212d76eb21ccd5 100644
--- a/third_party/WebKit/Source/platform/FrameViewBase.h
+++ b/third_party/WebKit/Source/platform/FrameViewBase.h
@@ -63,14 +63,11 @@ class PLATFORM_EXPORT FrameViewBase
frame_rect_ = frame_rect;
}
const IntRect& FrameRect() const { return frame_rect_; }
- IntRect BoundsRect() const { return IntRect(0, 0, Width(), Height()); }
void Resize(int w, int h) { SetFrameRect(IntRect(X(), Y(), w, h)); }
void Resize(const IntSize& s) { SetFrameRect(IntRect(Location(), s)); }
virtual void Paint(GraphicsContext&, const CullRect&) const {}
- void Invalidate() { InvalidateRect(BoundsRect()); }
- virtual void InvalidateRect(const IntRect&) = 0;
virtual void Show() {}
virtual void Hide() {}

Powered by Google App Engine
This is Rietveld 408576698