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

Unified Diff: third_party/WebKit/public/web/WebFrame.h

Issue 2953193002: Move ContentsSize and HasVisibleContent methods from WebFrame to WebLocalFrame. (Closed)
Patch Set: . Created 3 years, 6 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/public/web/WebFrame.h
diff --git a/third_party/WebKit/public/web/WebFrame.h b/third_party/WebKit/public/web/WebFrame.h
index 4481109c84dd672701b4c116636606f509c70b14..a0af6202e57581167895dee82d94c7d69c700e90 100644
--- a/third_party/WebKit/public/web/WebFrame.h
+++ b/third_party/WebKit/public/web/WebFrame.h
@@ -62,7 +62,6 @@ class WebView;
enum class WebSandboxFlags;
struct WebFrameOwnerProperties;
struct WebRect;
-struct WebSize;
// Frames may be rendered in process ('local') or out of process ('remote').
// A remote frame is always cross-site; a local frame may be either same-site or
@@ -139,12 +138,6 @@ class BLINK_EXPORT WebFrame {
// NOTE: These routines do not force page layout so their results may
// not be accurate if the page layout is out-of-date.
- // The size of the contents area.
- virtual WebSize ContentsSize() const = 0;
-
- // Returns true if the contents (minus scrollbars) has non-zero area.
- virtual bool HasVisibleContent() const = 0;
-
// Returns the visible content rect (minus scrollbars, in absolute coordinate)
virtual WebRect VisibleContentRect() const = 0;

Powered by Google App Engine
This is Rietveld 408576698