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

Unified Diff: webkit/tools/test_shell/text_input_controller.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
Index: webkit/tools/test_shell/text_input_controller.h
===================================================================
--- webkit/tools/test_shell/text_input_controller.h (revision 22886)
+++ webkit/tools/test_shell/text_input_controller.h (working copy)
@@ -14,9 +14,11 @@
#include "webkit/glue/cpp_bound_class.h"
class TestShell;
-class WebView;
-class WebTextInput;
+namespace WebKit {
+class WebFrame;
+}
+
class TextInputController : public CppBoundClass {
public:
TextInputController(TestShell* shell);
@@ -37,11 +39,9 @@
void makeAttributedString(const CppArgumentList& args, CppVariant* result);
private:
- static WebTextInput* GetTextInput();
+ // Returns the test shell's main WebFrame.
+ static WebKit::WebFrame* GetMainFrame();
- // Returns the test shell's webview.
- static WebView* webview();
-
// Non-owning pointer. The LayoutTestController is owned by the host.
static TestShell* shell_;
};
« no previous file with comments | « webkit/tools/test_shell/test_webview_delegate_win.cc ('k') | webkit/tools/test_shell/text_input_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698