diff options
author | cpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-08 23:16:24 +0000 |
---|---|---|
committer | cpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-08 23:16:24 +0000 |
commit | eb6439387ab5035450035d606f6ff32319c13789 (patch) | |
tree | 897f9ffa88d64addd5ed0de10039c3dfc383100a /webkit/glue/webframe.h | |
parent | 1640ffbff45713748fb31c9bbae46ea47ab6e8e0 (diff) | |
download | chromium_src-eb6439387ab5035450035d606f6ff32319c13789.zip chromium_src-eb6439387ab5035450035d606f6ff32319c13789.tar.gz chromium_src-eb6439387ab5035450035d606f6ff32319c13789.tar.bz2 |
Reverting dfisher changes 133386 and 13381
TBR=darin
Review URL: http://codereview.chromium.org/58018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13387 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webframe.h')
-rw-r--r-- | webkit/glue/webframe.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/webkit/glue/webframe.h b/webkit/glue/webframe.h index 97559b6..9c36c95 100644 --- a/webkit/glue/webframe.h +++ b/webkit/glue/webframe.h @@ -19,12 +19,15 @@ class WebView; class WebTextInput; struct NPObject; +namespace gfx { +class Rect; +class Size; +} + namespace WebKit { struct WebConsoleMessage; struct WebFindOptions; -struct WebRect; struct WebScriptSource; -struct WebSize; } // Every frame in a web page is represented by one WebFrame, including the @@ -220,7 +223,7 @@ class WebFrame { const string16& search_text, const WebKit::WebFindOptions& options, bool wrap_within_frame, - WebKit::WebRect* selection_rect) = 0; + gfx::Rect* selection_rect) = 0; // Notifies the frame that we are no longer interested in searching. This will // abort any asynchronous scoping effort already under way (see the function @@ -256,7 +259,7 @@ class WebFrame { // Notifies the webview-delegate about a new selection rect. This will result // in the browser getting notified. For more information see WebViewDelegate. - virtual void ReportFindInPageSelection(const WebKit::WebRect& selection_rect, + virtual void ReportFindInPageSelection(const gfx::Rect& selection_rect, int active_match_ordinal, int request_id) = 0; @@ -361,7 +364,7 @@ class WebFrame { virtual void ClosePage() = 0; // The current scroll offset from the top of frame in pixels. - virtual WebKit::WebSize ScrollOffset() const = 0; + virtual gfx::Size ScrollOffset() const = 0; // Reformats the web frame for printing. |page_size_px| is the page size in // pixels. @@ -369,7 +372,7 @@ class WebFrame { // |page_count| is the number of printed pages. // Returns false if it fails. It'll fail if the main frame failed to load but // will succeed even if a child frame failed to load. - virtual bool BeginPrint(const WebKit::WebSize& page_size_px, + virtual bool BeginPrint(const gfx::Size& page_size_px, int* page_count) = 0; // Prints one page. |page| is 0-based. |