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

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

Issue 2297433002: On the Mac, AX_EVENT_LOAD_COMPLETE should only be fired on the top document. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compiler fix. Created 4 years, 3 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.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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 } 372 }
373 373
374 // If this BrowserAccessibilityManager is a child frame or guest frame, 374 // If this BrowserAccessibilityManager is a child frame or guest frame,
375 // return the BrowserAccessibilityManager from the highest ancestor frame 375 // return the BrowserAccessibilityManager from the highest ancestor frame
376 // in the frame tree. 376 // in the frame tree.
377 BrowserAccessibilityManager* GetRootManager(); 377 BrowserAccessibilityManager* GetRootManager();
378 378
379 // Returns the BrowserAccessibilityDelegate from |GetRootManager|, above. 379 // Returns the BrowserAccessibilityDelegate from |GetRootManager|, above.
380 BrowserAccessibilityDelegate* GetDelegateFromRootManager(); 380 BrowserAccessibilityDelegate* GetDelegateFromRootManager();
381 381
382 // Returns whether this is the top document.
383 bool IsRootTree();
384
382 // Get a snapshot of the current tree as an AXTreeUpdate. 385 // Get a snapshot of the current tree as an AXTreeUpdate.
383 ui::AXTreeUpdate SnapshotAXTreeForTesting(); 386 ui::AXTreeUpdate SnapshotAXTreeForTesting();
384 387
385 protected: 388 protected:
386 BrowserAccessibilityManager( 389 BrowserAccessibilityManager(
387 BrowserAccessibilityDelegate* delegate, 390 BrowserAccessibilityDelegate* delegate,
388 BrowserAccessibilityFactory* factory); 391 BrowserAccessibilityFactory* factory);
389 392
390 BrowserAccessibilityManager( 393 BrowserAccessibilityManager(
391 const ui::AXTreeUpdate& initial_tree, 394 const ui::AXTreeUpdate& initial_tree,
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 // node within that parent tree. It's computed as needed and cached for 467 // node within that parent tree. It's computed as needed and cached for
465 // speed so that it can be accessed quickly if it hasn't changed. 468 // speed so that it can be accessed quickly if it hasn't changed.
466 int parent_node_id_from_parent_tree_; 469 int parent_node_id_from_parent_tree_;
467 470
468 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManager); 471 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManager);
469 }; 472 };
470 473
471 } // namespace content 474 } // namespace content
472 475
473 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ 476 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698