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

Unified Diff: webkit/glue/webview.h

Issue 164225: Switch to WebFrame from the WebKit API.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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
« no previous file with comments | « webkit/glue/webtextinput_impl.cc ('k') | webkit/glue/webview_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webview.h
===================================================================
--- webkit/glue/webview.h (revision 22886)
+++ webkit/glue/webview.h (working copy)
@@ -13,6 +13,7 @@
namespace WebKit {
class WebDragData;
+class WebFrame;
class WebSettings;
struct WebPoint;
}
@@ -21,7 +22,6 @@
struct WebPreferences;
class GURL;
class WebDevToolsAgent;
-class WebFrame;
class WebViewDelegate;
//
@@ -99,24 +99,24 @@
// mainFrame.
// @result The main frame.
// - (WebFrame *)mainFrame;
- virtual WebFrame* GetMainFrame() = 0;
+ virtual WebKit::WebFrame* GetMainFrame() = 0;
// Returns the currently focused frame.
- virtual WebFrame* GetFocusedFrame() = 0;
+ virtual WebKit::WebFrame* GetFocusedFrame() = 0;
// Sets focus to the frame passed in.
- virtual void SetFocusedFrame(WebFrame* frame) = 0;
+ virtual void SetFocusedFrame(WebKit::WebFrame* frame) = 0;
// Returns the frame with the given name, or NULL if not found.
- virtual WebFrame* GetFrameWithName(const std::wstring& name) = 0;
+ virtual WebKit::WebFrame* GetFrameWithName(const std::wstring& name) = 0;
// Returns the frame previous to the specified frame, by traversing the frame
// tree, wrapping around if necessary.
- virtual WebFrame* GetPreviousFrameBefore(WebFrame* frame, bool wrap) = 0;
+ virtual WebKit::WebFrame* GetPreviousFrameBefore(WebKit::WebFrame* frame, bool wrap) = 0;
// Returns the frame after to the specified frame, by traversing the frame
// tree, wrapping around if necessary.
- virtual WebFrame* GetNextFrameAfter(WebFrame* frame, bool wrap) = 0;
+ virtual WebKit::WebFrame* GetNextFrameAfter(WebKit::WebFrame* frame, bool wrap) = 0;
// ---- TODO(darin): remove from here ----
« no previous file with comments | « webkit/glue/webtextinput_impl.cc ('k') | webkit/glue/webview_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698