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

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

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
« no previous file with comments | « content/renderer/renderer_accessibility_complete.h ('k') | no next file » | 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 #include "content/renderer/renderer_accessibility_complete.h" 5 #include "content/renderer/renderer_accessibility_complete.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "content/renderer/accessibility_node_serializer.h" 9 #include "content/renderer/accessibility_node_serializer.h"
10 #include "content/renderer/render_view_impl.h" 10 #include "content/renderer/render_view_impl.h"
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 // up additional notifications. 215 // up additional notifications.
216 MessageLoop::current()->PostTask( 216 MessageLoop::current()->PostTask(
217 FROM_HERE, 217 FROM_HERE,
218 base::Bind( 218 base::Bind(
219 &RendererAccessibilityComplete:: 219 &RendererAccessibilityComplete::
220 SendPendingAccessibilityNotifications, 220 SendPendingAccessibilityNotifications,
221 weak_factory_.GetWeakPtr())); 221 weak_factory_.GetWeakPtr()));
222 } 222 }
223 } 223 }
224 224
225 RendererAccessibilityComplete::BrowserTreeNode::BrowserTreeNode() : id(0) {}
226
227 RendererAccessibilityComplete::BrowserTreeNode::~BrowserTreeNode() {}
228
225 void RendererAccessibilityComplete::SendPendingAccessibilityNotifications() { 229 void RendererAccessibilityComplete::SendPendingAccessibilityNotifications() {
226 const WebDocument& document = GetMainDocument(); 230 const WebDocument& document = GetMainDocument();
227 if (document.isNull()) 231 if (document.isNull())
228 return; 232 return;
229 233
230 if (pending_notifications_.empty()) 234 if (pending_notifications_.empty())
231 return; 235 return;
232 236
233 ack_pending_ = true; 237 ack_pending_ = true;
234 238
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 if (type == AccessibilityNotificationChildrenChanged || 530 if (type == AccessibilityNotificationChildrenChanged ||
527 type == AccessibilityNotificationLoadComplete || 531 type == AccessibilityNotificationLoadComplete ||
528 type == AccessibilityNotificationLiveRegionChanged || 532 type == AccessibilityNotificationLiveRegionChanged ||
529 type == AccessibilityNotificationSelectedChildrenChanged) { 533 type == AccessibilityNotificationSelectedChildrenChanged) {
530 return true; 534 return true;
531 } 535 }
532 return false; 536 return false;
533 } 537 }
534 538
535 } // namespace content 539 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/renderer_accessibility_complete.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698