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

Side by Side Diff: content/renderer/renderer_accessibility_complete.h

Issue 10825274: Clean-up inline members of nested classes (content/) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
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_RENDERER_RENDERER_ACCESSIBILITY_COMPLETE_H_ 5 #ifndef CONTENT_RENDERER_RENDERER_ACCESSIBILITY_COMPLETE_H_
6 #define CONTENT_RENDERER_RENDERER_ACCESSIBILITY_COMPLETE_H_ 6 #define CONTENT_RENDERER_RENDERER_ACCESSIBILITY_COMPLETE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/hash_tables.h" 10 #include "base/hash_tables.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 private: 50 private:
51 // Handle an accessibility notification to be sent to the browser process. 51 // Handle an accessibility notification to be sent to the browser process.
52 void HandleAccessibilityNotification( 52 void HandleAccessibilityNotification(
53 const WebKit::WebAccessibilityObject& obj, 53 const WebKit::WebAccessibilityObject& obj,
54 AccessibilityNotification notification); 54 AccessibilityNotification notification);
55 55
56 // In order to keep track of what nodes the browser knows about, we keep a 56 // In order to keep track of what nodes the browser knows about, we keep a
57 // representation of the browser tree - just IDs and parent/child 57 // representation of the browser tree - just IDs and parent/child
58 // relationships. 58 // relationships.
59 struct BrowserTreeNode { 59 struct BrowserTreeNode {
60 BrowserTreeNode() : id(0) {} 60 BrowserTreeNode();
61 ~BrowserTreeNode() {} 61 ~BrowserTreeNode();
62 int32 id; 62 int32 id;
63 std::vector<BrowserTreeNode*> children; 63 std::vector<BrowserTreeNode*> children;
64 }; 64 };
65 65
66 // Send queued notifications from the renderer to the browser. 66 // Send queued notifications from the renderer to the browser.
67 void SendPendingAccessibilityNotifications(); 67 void SendPendingAccessibilityNotifications();
68 68
69 // Update our representation of what nodes the browser has, given a 69 // Update our representation of what nodes the browser has, given a
70 // tree of nodes. 70 // tree of nodes.
71 void UpdateBrowserTree(const AccessibilityNodeData& renderer_node); 71 void UpdateBrowserTree(const AccessibilityNodeData& renderer_node);
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 132
133 // True if verbose logging of accessibility events is on. 133 // True if verbose logging of accessibility events is on.
134 bool logging_; 134 bool logging_;
135 135
136 DISALLOW_COPY_AND_ASSIGN(RendererAccessibilityComplete); 136 DISALLOW_COPY_AND_ASSIGN(RendererAccessibilityComplete);
137 }; 137 };
138 138
139 #endif // CONTENT_RENDERER_RENDERER_ACCESSIBILITY_COMPLETE_H_ 139 #endif // CONTENT_RENDERER_RENDERER_ACCESSIBILITY_COMPLETE_H_
140 140
141 } // namespace content 141 } // namespace content
OLDNEW
« no previous file with comments | « content/common/resource_dispatcher.cc ('k') | content/renderer/renderer_accessibility_complete.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698