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

Unified Diff: webkit/tools/test_shell/text_input_controller.h

Issue 6296015: Remove eventSender, accessibilityController, plainText and (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/webkit/tools/test_shell
Patch Set: Created 9 years, 11 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/tools/test_shell/test_webview_delegate.cc ('k') | webkit/tools/test_shell/text_input_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/text_input_controller.h
diff --git a/webkit/tools/test_shell/text_input_controller.h b/webkit/tools/test_shell/text_input_controller.h
deleted file mode 100644
index 2657f8398e989d3a1c7cfb2ab3a2964ac73f0064..0000000000000000000000000000000000000000
--- a/webkit/tools/test_shell/text_input_controller.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// TextInputController is bound to window.textInputController in Javascript
-// when test_shell is running in layout test mode. Layout tests use it to
-// exercise various corners of text input.
-//
-// Mac equivalent: WebKit/Tools/DumpRenderTree/TextInputController.{h,m}
-
-#ifndef WEBKIT_TOOLS_TEST_SHELL_TEXT_INPUT_CONTROLLER_H__
-#define WEBKIT_TOOLS_TEST_SHELL_TEXT_INPUT_CONTROLLER_H__
-
-#include "webkit/glue/cpp_bound_class.h"
-
-class TestShell;
-
-namespace WebKit {
-class WebFrame;
-}
-
-class TextInputController : public CppBoundClass {
- public:
- TextInputController(TestShell* shell);
-
- void insertText(const CppArgumentList& args, CppVariant* result);
- void doCommand(const CppArgumentList& args, CppVariant* result);
- void setMarkedText(const CppArgumentList& args, CppVariant* result);
- void unmarkText(const CppArgumentList& args, CppVariant* result);
- void hasMarkedText(const CppArgumentList& args, CppVariant* result);
- void conversationIdentifier(const CppArgumentList& args, CppVariant* result);
- void substringFromRange(const CppArgumentList& args, CppVariant* result);
- void attributedSubstringFromRange(const CppArgumentList& args, CppVariant* result);
- void markedRange(const CppArgumentList& args, CppVariant* result);
- void selectedRange(const CppArgumentList& args, CppVariant* result);
- void firstRectForCharacterRange(const CppArgumentList& args, CppVariant* result);
- void characterIndexForPoint(const CppArgumentList& args, CppVariant* result);
- void validAttributesForMarkedText(const CppArgumentList& args, CppVariant* result);
- void makeAttributedString(const CppArgumentList& args, CppVariant* result);
-
- private:
- // Returns the test shell's main WebFrame.
- static WebKit::WebFrame* GetMainFrame();
-
- // Non-owning pointer. The LayoutTestController is owned by the host.
- static TestShell* shell_;
-};
-
-#endif // WEBKIT_TOOLS_TEST_SHELL_TEXT_INPUT_CONTROLLER_H__
« no previous file with comments | « webkit/tools/test_shell/test_webview_delegate.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