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

Side by Side Diff: content/browser/accessibility/browser_accessibility_manager.h

Issue 415633002: Simplify access to LegacyRenderWidgetHostHWND. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@render_frame_ax_4
Patch Set: Rebase and fix style issue Created 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility_manager_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/containers/hash_tables.h" 10 #include "base/containers/hash_tables.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 int acc_obj_id, const gfx::Point& point) = 0; 54 int acc_obj_id, const gfx::Point& point) = 0;
55 virtual void AccessibilitySetTextSelection( 55 virtual void AccessibilitySetTextSelection(
56 int acc_obj_id, int start_offset, int end_offset) = 0; 56 int acc_obj_id, int start_offset, int end_offset) = 0;
57 virtual bool AccessibilityViewHasFocus() const = 0; 57 virtual bool AccessibilityViewHasFocus() const = 0;
58 virtual gfx::Rect AccessibilityGetViewBounds() const = 0; 58 virtual gfx::Rect AccessibilityGetViewBounds() const = 0;
59 virtual gfx::Point AccessibilityOriginInScreen( 59 virtual gfx::Point AccessibilityOriginInScreen(
60 const gfx::Rect& bounds) const = 0; 60 const gfx::Rect& bounds) const = 0;
61 virtual void AccessibilityHitTest( 61 virtual void AccessibilityHitTest(
62 const gfx::Point& point) = 0; 62 const gfx::Point& point) = 0;
63 virtual void AccessibilityFatalError() = 0; 63 virtual void AccessibilityFatalError() = 0;
64 virtual gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() = 0;
65 virtual gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() = 0;
64 }; 66 };
65 67
66 class CONTENT_EXPORT BrowserAccessibilityFactory { 68 class CONTENT_EXPORT BrowserAccessibilityFactory {
67 public: 69 public:
68 virtual ~BrowserAccessibilityFactory() {} 70 virtual ~BrowserAccessibilityFactory() {}
69 71
70 // Create an instance of BrowserAccessibility and return a new 72 // Create an instance of BrowserAccessibility and return a new
71 // reference to it. 73 // reference to it.
72 virtual BrowserAccessibility* Create(); 74 virtual BrowserAccessibility* Create();
73 }; 75 };
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 258
257 // The on-screen keyboard state. 259 // The on-screen keyboard state.
258 OnScreenKeyboardState osk_state_; 260 OnScreenKeyboardState osk_state_;
259 261
260 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManager); 262 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManager);
261 }; 263 };
262 264
263 } // namespace content 265 } // namespace content
264 266
265 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ 267 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698