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

Side by Side Diff: webkit/glue/webaccessibilitymanager.h

Issue 46013: Removes all use of COM and dependencies on Windows-specific classes (includin... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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
« no previous file with comments | « webkit/glue/webaccessibility.h ('k') | webkit/glue/webaccessibilitymanager_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2006-2008 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_GLUE_WEBACCESSIBILITYMANAGER_H_
6 #define WEBKIT_GLUE_WEBACCESSIBILITYMANAGER_H_
7
8 #include "webkit/glue/webaccessibility.h"
9
10 class WebView;
11
12 ////////////////////////////////////////////////////////////////////////////////
13 //
14 // WebAccessibilityManager
15 //
16 // Responds to incoming accessibility requests from the browser side. Retrieves
17 // the requested information from the active AccessibilityObject, through the
18 // GlueAccessibilityObject.
19 ////////////////////////////////////////////////////////////////////////////////
20 namespace webkit_glue {
21
22 class WebAccessibilityManager {
23 public:
24 WebAccessibilityManager() {}
25 virtual ~WebAccessibilityManager() {}
26
27 static WebAccessibilityManager* Create();
28
29 // Retrieves the accessibility information as requested in in_params, by
30 // calling into WebKit's AccessibilityObject. Maintains a hashmap of the
31 // currently active (browser side ref-count non-zero) instances. Returns true
32 // if successful, false otherwise.
33 virtual bool GetAccObjInfo(WebView* view,
34 const WebAccessibility::InParams& in_params,
35 WebAccessibility::OutParams* out_params) = 0;
36
37 // Erases the entry identified by the [acc_obj_id] from the hash maps. If
38 // [clear_all] is true, all entries are erased. Returns true if successful,
39 // false otherwise.
40 virtual bool ClearAccObjMap(int acc_obj_id, bool clear_all) = 0;
41
42 // Retrieves the RenderObject associated with this WebView, and uses it to
43 // initialize the root of the GlueAccessibilityObject tree with the
44 // associated accessibility information. Returns true if successful, false
45 // otherwise.
46 virtual bool InitAccObjRoot(WebView* view) = 0;
47
48 private:
49 DISALLOW_COPY_AND_ASSIGN(WebAccessibilityManager);
50 };
51
52 }; // namespace webkit_glue
darin (slow to review) 2009/03/20 17:23:15 nit: no ';' when closing a namespace.
53
54 #endif // WEBKIT_GLUE_WEBACCESSIBILITYMANAGER_H_
OLDNEW
« no previous file with comments | « webkit/glue/webaccessibility.h ('k') | webkit/glue/webaccessibilitymanager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698