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

Side by Side Diff: chrome/browser/browser_accessibility_manager_win.cc

Issue 3071012: Cleanup: Remove unneeded headers from base/ (part 1) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 | « chrome/app/chrome_dll_main.cc ('k') | chrome/browser/browser_accessibility_win.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/browser/browser_accessibility_manager_win.h" 5 #include "chrome/browser/browser_accessibility_manager_win.h"
6 6
7 #include "base/scoped_comptr_win.h"
8 #include "chrome/browser/browser_accessibility_win.h" 7 #include "chrome/browser/browser_accessibility_win.h"
9 #include "chrome/browser/renderer_host/render_process_host.h" 8 #include "chrome/browser/renderer_host/render_process_host.h"
10 #include "chrome/browser/renderer_host/render_view_host.h" 9 #include "chrome/browser/renderer_host/render_view_host.h"
11 #include "chrome/common/render_messages.h" 10 #include "chrome/common/render_messages.h"
12 11
13 using webkit_glue::WebAccessibility; 12 using webkit_glue::WebAccessibility;
14 13
15 // Factory method to create an instance of BrowserAccessibility 14 // Factory method to create an instance of BrowserAccessibility
16 BrowserAccessibility* BrowserAccessibilityFactory::Create() { 15 BrowserAccessibility* BrowserAccessibilityFactory::Create() {
17 CComObject<BrowserAccessibility>* instance; 16 CComObject<BrowserAccessibility>* instance;
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 if ((src.state >> WebAccessibility::STATE_FOCUSED) & 1) 141 if ((src.state >> WebAccessibility::STATE_FOCUSED) & 1)
143 focus_ = instance; 142 focus_ = instance;
144 for (int i = 0; i < static_cast<int>(src.children.size()); ++i) { 143 for (int i = 0; i < static_cast<int>(src.children.size()); ++i) {
145 BrowserAccessibility* child = CreateAccessibilityTree( 144 BrowserAccessibility* child = CreateAccessibilityTree(
146 instance, src.children[i], i); 145 instance, src.children[i], i);
147 instance->AddChild(child); 146 instance->AddChild(child);
148 } 147 }
149 148
150 return instance; 149 return instance;
151 } 150 }
OLDNEW
« no previous file with comments | « chrome/app/chrome_dll_main.cc ('k') | chrome/browser/browser_accessibility_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698