diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-08 21:58:04 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-08 21:58:04 +0000 |
commit | 02e80deede0729617aeb87128b1db3cd14b36d6b (patch) | |
tree | dfdec4f6e761c652ba8439dc36204cfa31246962 /webkit/glue/webframe_impl.h | |
parent | 98aebc7fc44cc34ecfa5a33ade9a8aa511bb96a3 (diff) | |
download | chromium_src-02e80deede0729617aeb87128b1db3cd14b36d6b.zip chromium_src-02e80deede0729617aeb87128b1db3cd14b36d6b.tar.gz chromium_src-02e80deede0729617aeb87128b1db3cd14b36d6b.tar.bz2 |
Switch to using WebPoint, WebRect, and WebSize in more of the glue
layer interface. This will help when we move those interfaces into
the WebKit API.
R=dglazkov
Review URL: http://codereview.chromium.org/63126
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13381 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webframe_impl.h')
-rw-r--r-- | webkit/glue/webframe_impl.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/webkit/glue/webframe_impl.h b/webkit/glue/webframe_impl.h index 942c000..0d8b876 100644 --- a/webkit/glue/webframe_impl.h +++ b/webkit/glue/webframe_impl.h @@ -130,7 +130,7 @@ class WebFrameImpl : public WebFrame, public base::RefCounted<WebFrameImpl> { const string16& search_text, const WebKit::WebFindOptions& options, bool wrap_within_frame, - gfx::Rect* selection_rect); + WebKit::WebRect* selection_rect); virtual void StopFinding(bool clear_selection); virtual void ScopeStringMatches( int request_id, @@ -174,9 +174,9 @@ class WebFrameImpl : public WebFrame, public base::RefCounted<WebFrameImpl> { virtual void ClosePage(); - virtual gfx::Size ScrollOffset() const; + virtual WebKit::WebSize ScrollOffset() const; - virtual bool BeginPrint(const gfx::Size& page_size_px, + virtual bool BeginPrint(const WebKit::WebSize& page_size_px, int* page_count); virtual float PrintPage(int page, skia::PlatformCanvas* canvas); virtual void EndPrint(); @@ -193,7 +193,7 @@ class WebFrameImpl : public WebFrame, public base::RefCounted<WebFrameImpl> { // WebFrameImpl void Layout(); - void Paint(skia::PlatformCanvas* canvas, const gfx::Rect& rect); + void Paint(skia::PlatformCanvas* canvas, const WebKit::WebRect& rect); bool IsLoading(); @@ -286,7 +286,7 @@ class WebFrameImpl : public WebFrame, public base::RefCounted<WebFrameImpl> { // See WebFrame.h for details. virtual void IncreaseMatchCount(int count, int request_id); - virtual void ReportFindInPageSelection(const gfx::Rect& selection_rect, + virtual void ReportFindInPageSelection(const WebKit::WebRect& selection_rect, int active_match_ordinal, int request_id); |