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

Side by Side Diff: chrome/browser/ui/views/accessible_view_helper.cc

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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) 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/views/accessible_view_helper.h" 5 #include "chrome/browser/views/accessible_view_helper.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "chrome/browser/accessibility_events.h" 8 #include "chrome/browser/accessibility_events.h"
9 #include "chrome/browser/profile.h" 9 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/browser/views/accessibility_event_router_views.h" 10 #include "chrome/browser/views/accessibility_event_router_views.h"
11 #include "chrome/common/notification_service.h" 11 #include "chrome/common/notification_service.h"
12 #include "views/controls/native/native_view_host.h" 12 #include "views/controls/native/native_view_host.h"
13 #include "views/widget/widget.h" 13 #include "views/widget/widget.h"
14 #include "views/view.h" 14 #include "views/view.h"
15 15
16 AccessibleViewHelper::AccessibleViewHelper( 16 AccessibleViewHelper::AccessibleViewHelper(
17 views::View* view_tree, Profile* profile) 17 views::View* view_tree, Profile* profile)
18 : accessibility_event_router_(AccessibilityEventRouterViews::GetInstance()), 18 : accessibility_event_router_(AccessibilityEventRouterViews::GetInstance()),
19 profile_(profile), 19 profile_(profile),
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 return static_cast<views::NativeViewHost*>(view)->native_view(); 80 return static_cast<views::NativeViewHost*>(view)->native_view();
81 81
82 for (int i = 0; i < view->GetChildViewCount(); i++) { 82 for (int i = 0; i < view->GetChildViewCount(); i++) {
83 gfx::NativeView native_view = GetNativeView(view->GetChildViewAt(i)); 83 gfx::NativeView native_view = GetNativeView(view->GetChildViewAt(i));
84 if (native_view) 84 if (native_view)
85 return native_view; 85 return native_view;
86 } 86 }
87 87
88 return NULL; 88 return NULL;
89 } 89 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698