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

Side by Side Diff: webkit/tools/test_shell/accessibility_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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WEBKIT_TOOLS_TEST_SHELL_ACCESSIBILITY_CONTROLLER_H_
6 #define WEBKIT_TOOLS_TEST_SHELL_ACCESSIBILITY_CONTROLLER_H_
7
8 #include "webkit/glue/cpp_bound_class.h"
9 #include "webkit/tools/test_shell/accessibility_ui_element.h"
10
11 namespace WebKit {
12 class WebAccessibilityObject;
13 class WebFrame;
14 }
15
16 class AccessibilityUIElement;
17 class AccessibilityUIElementList;
18 class TestShell;
19
20 class AccessibilityController : public CppBoundClass {
21 public:
22 explicit AccessibilityController(TestShell* shell);
23
24 // shadow to include accessibility initialization.
25 void BindToJavascript(WebKit::WebFrame* frame, const std::string& classname);
26 void Reset();
27
28 void SetFocusedElement(const WebKit::WebAccessibilityObject& focused_element);
29 AccessibilityUIElement* GetFocusedElement();
30 AccessibilityUIElement* GetRootElement();
31
32 private:
33 // Bound methods and properties
34 void LogFocusEventsCallback(const CppArgumentList& args, CppVariant* result);
35 void LogScrollingStartEventsCallback(
36 const CppArgumentList& args, CppVariant* result);
37 void FallbackCallback(const CppArgumentList& args, CppVariant* result);
38
39 void FocusedElementGetterCallback(CppVariant* result);
40 void RootElementGetterCallback(CppVariant* result);
41
42 WebKit::WebAccessibilityObject focused_element_;
43 WebKit::WebAccessibilityObject root_element_;
44
45 AccessibilityUIElementList elements_;
46
47 TestShell* shell_;
48 };
49
50 #endif // WEBKIT_TOOLS_TEST_SHELL_ACCESSIBILITY_CONTROLLER_H_
OLDNEW
« no previous file with comments | « webkit/glue/context_menu_unittest.cc ('k') | webkit/tools/test_shell/accessibility_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698