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

Side by Side Diff: content/renderer/renderer_accessibility.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
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_RENDERER_RENDERER_ACCESSIBILITY_H_ 5 #ifndef CONTENT_RENDERER_RENDERER_ACCESSIBILITY_H_
6 #define CONTENT_RENDERER_RENDERER_ACCESSIBILITY_H_ 6 #define CONTENT_RENDERER_RENDERER_ACCESSIBILITY_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 18 matching lines...) Expand all
29 // sending a serialized representation of WebKit's accessibility tree from 29 // sending a serialized representation of WebKit's accessibility tree from
30 // the renderer to the browser and sending updates whenever it changes, and 30 // the renderer to the browser and sending updates whenever it changes, and
31 // handling requests from the browser to perform accessibility actions on 31 // handling requests from the browser to perform accessibility actions on
32 // nodes in the tree (e.g., change focus, or click on a button). 32 // nodes in the tree (e.g., change focus, or click on a button).
33 class RendererAccessibility : public content::RenderViewObserver { 33 class RendererAccessibility : public content::RenderViewObserver {
34 public: 34 public:
35 RendererAccessibility(RenderViewImpl* render_view); 35 RendererAccessibility(RenderViewImpl* render_view);
36 virtual ~RendererAccessibility(); 36 virtual ~RendererAccessibility();
37 37
38 // RenderView::Observer implementation. 38 // RenderView::Observer implementation.
39 virtual bool OnMessageReceived(const IPC::Message& message); 39 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
40 virtual void FocusedNodeChanged(const WebKit::WebNode& node); 40 virtual void FocusedNodeChanged(const WebKit::WebNode& node) OVERRIDE;
41 virtual void DidFinishLoad(WebKit::WebFrame* frame); 41 virtual void DidFinishLoad(WebKit::WebFrame* frame) OVERRIDE;
42 42
43 // Called when an accessibility notification occurs in WebKit. 43 // Called when an accessibility notification occurs in WebKit.
44 virtual void PostAccessibilityNotification( 44 virtual void PostAccessibilityNotification(
45 const WebKit::WebAccessibilityObject& obj, 45 const WebKit::WebAccessibilityObject& obj,
46 WebKit::WebAccessibilityNotification notification); 46 WebKit::WebAccessibilityNotification notification);
47 47
48 private: 48 private:
49 // One accessibility notification from WebKit. These are queued up and 49 // One accessibility notification from WebKit. These are queued up and
50 // used to send tree updates and notification messages from the 50 // used to send tree updates and notification messages from the
51 // renderer to the browser. 51 // renderer to the browser.
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 // True if verbose logging of accessibility events is on. 112 // True if verbose logging of accessibility events is on.
113 bool logging_; 113 bool logging_;
114 114
115 // True if we've sent a load complete notification for this page already. 115 // True if we've sent a load complete notification for this page already.
116 bool sent_load_complete_; 116 bool sent_load_complete_;
117 117
118 DISALLOW_COPY_AND_ASSIGN(RendererAccessibility); 118 DISALLOW_COPY_AND_ASSIGN(RendererAccessibility);
119 }; 119 };
120 120
121 #endif // CONTENT_RENDERER_RENDERER_ACCESSIBILITY_H_ 121 #endif // CONTENT_RENDERER_RENDERER_ACCESSIBILITY_H_
OLDNEW
« no previous file with comments | « content/renderer/render_widget_fullscreen_pepper.h ('k') | content/renderer/renderer_webapplicationcachehost_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698