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

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

Issue 8587009: Add OVERRIDE to content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 1 month 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 | « no previous file | content/browser/accessibility/browser_accessibility_manager_mac.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_MAC_H_ 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MAC_H_
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MAC_H_ 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MAC_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <utility> 10 #include <utility>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/memory/scoped_nsobject.h" 13 #include "base/memory/scoped_nsobject.h"
14 #include "content/browser/accessibility/browser_accessibility.h" 14 #include "content/browser/accessibility/browser_accessibility.h"
15 15
16 @class BrowserAccessibilityCocoa; 16 @class BrowserAccessibilityCocoa;
17 17
18 class BrowserAccessibilityMac : public BrowserAccessibility { 18 class BrowserAccessibilityMac : public BrowserAccessibility {
19 public: 19 public:
20 // Implementation of BrowserAccessibility. 20 // Implementation of BrowserAccessibility.
21 virtual void Initialize(); 21 virtual void Initialize() OVERRIDE;
22 virtual void NativeReleaseReference(); 22 virtual void NativeReleaseReference() OVERRIDE;
23 23
24 // Overrides from BrowserAccessibility. 24 // Overrides from BrowserAccessibility.
25 virtual void DetachTree(std::vector<BrowserAccessibility*>* nodes); 25 virtual void DetachTree(std::vector<BrowserAccessibility*>* nodes) OVERRIDE;
26 26
27 // The BrowserAccessibilityCocoa associated with us. 27 // The BrowserAccessibilityCocoa associated with us.
28 BrowserAccessibilityCocoa* native_view() const { 28 BrowserAccessibilityCocoa* native_view() const {
29 return browser_accessibility_cocoa_; 29 return browser_accessibility_cocoa_;
30 } 30 }
31 31
32 private: 32 private:
33 // This gives BrowserAccessibility::Create access to the class constructor. 33 // This gives BrowserAccessibility::Create access to the class constructor.
34 friend class BrowserAccessibility; 34 friend class BrowserAccessibility;
35 35
36 BrowserAccessibilityMac(); 36 BrowserAccessibilityMac();
37 37
38 // Allows access to the BrowserAccessibilityCocoa which wraps this. 38 // Allows access to the BrowserAccessibilityCocoa which wraps this.
39 // BrowserAccessibility. 39 // BrowserAccessibility.
40 // We own this object until our manager calls ReleaseReference; 40 // We own this object until our manager calls ReleaseReference;
41 // thereafter, the cocoa object owns us. 41 // thereafter, the cocoa object owns us.
42 BrowserAccessibilityCocoa* browser_accessibility_cocoa_; 42 BrowserAccessibilityCocoa* browser_accessibility_cocoa_;
43 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityMac); 43 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityMac);
44 }; 44 };
45 45
46 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MAC_H_ 46 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MAC_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility_manager_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698