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

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

Issue 1836113002: Fix accessible touch exploration inside of iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test startup on Android Created 4 years, 8 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
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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 // objects. 243 // objects.
244 virtual void OnLocationChanges( 244 virtual void OnLocationChanges(
245 const std::vector<AccessibilityHostMsg_LocationChangeParams>& params); 245 const std::vector<AccessibilityHostMsg_LocationChangeParams>& params);
246 246
247 // Called when a new find in page result is received. We hold on to this 247 // Called when a new find in page result is received. We hold on to this
248 // information and don't activate it until the user requests it. 248 // information and don't activate it until the user requests it.
249 void OnFindInPageResult( 249 void OnFindInPageResult(
250 int request_id, int match_index, int start_id, int start_offset, 250 int request_id, int match_index, int start_id, int start_offset,
251 int end_id, int end_offset); 251 int end_id, int end_offset);
252 252
253 // Called in response to a hit test, when the object hit has a child frame
254 // (like an iframe element or browser plugin), and we need to do another
255 // hit test recursively.
256 void OnChildFrameHitTestResult(const gfx::Point& point, int hit_obj_id);
257
253 // This is called when the user has committed to a find in page query, 258 // This is called when the user has committed to a find in page query,
254 // e.g. by pressing enter or tapping on the next / previous result buttons. 259 // e.g. by pressing enter or tapping on the next / previous result buttons.
255 // If a match has already been received for this request id, 260 // If a match has already been received for this request id,
256 // activate the result now by firing an accessibility event. If a match 261 // activate the result now by firing an accessibility event. If a match
257 // has not been received, we hold onto this request id and update it 262 // has not been received, we hold onto this request id and update it
258 // when OnFindInPageResult is called. 263 // when OnFindInPageResult is called.
259 void ActivateFindInPageResult(int request_id); 264 void ActivateFindInPageResult(int request_id);
260 265
261 #if defined(OS_WIN) 266 #if defined(OS_WIN)
262 BrowserAccessibilityManagerWin* ToBrowserAccessibilityManagerWin(); 267 BrowserAccessibilityManagerWin* ToBrowserAccessibilityManagerWin();
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 // node within that parent tree. It's computed as needed and cached for 427 // node within that parent tree. It's computed as needed and cached for
423 // speed so that it can be accessed quickly if it hasn't changed. 428 // speed so that it can be accessed quickly if it hasn't changed.
424 int parent_node_id_from_parent_tree_; 429 int parent_node_id_from_parent_tree_;
425 430
426 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManager); 431 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManager);
427 }; 432 };
428 433
429 } // namespace content 434 } // namespace content
430 435
431 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ 436 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698