OLD | NEW |
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 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_container_vie
ws.h" | 5 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_container_vie
ws.h" |
6 | 6 |
7 #include "chrome/browser/renderer_host/render_widget_host_view_views.h" | 7 #include "chrome/browser/renderer_host/render_widget_host_view_views.h" |
8 #include "chrome/browser/ui/view_ids.h" | 8 #include "chrome/browser/ui/view_ids.h" |
9 #include "chrome/browser/ui/views/tab_contents/tab_contents_container.h" | 9 #include "chrome/browser/ui/views/tab_contents/tab_contents_container.h" |
10 #include "chrome/browser/ui/views/tab_contents/tab_contents_view_views.h" | 10 #include "chrome/browser/ui/views/tab_contents/tab_contents_view_views.h" |
11 #include "content/browser/renderer_host/render_widget_host_view.h" | 11 #include "content/browser/renderer_host/render_widget_host_view.h" |
12 #include "content/browser/tab_contents/interstitial_page.h" | 12 #include "content/browser/tab_contents/interstitial_page.h" |
13 #include "content/browser/tab_contents/tab_contents.h" | 13 #include "content/browser/tab_contents/tab_contents.h" |
14 #include "ui/base/accessibility/accessible_view_state.h" | 14 #include "ui/base/accessibility/accessible_view_state.h" |
15 #include "views/focus/focus_manager.h" | 15 #include "ui/views/focus/focus_manager.h" |
16 #include "views/focus/widget_focus_manager.h" | 16 #include "ui/views/focus/widget_focus_manager.h" |
17 #include "views/layout/fill_layout.h" | 17 #include "ui/views/layout/fill_layout.h" |
18 #include "views/widget/native_widget_views.h" | 18 #include "views/widget/native_widget_views.h" |
19 | 19 |
20 //////////////////////////////////////////////////////////////////////////////// | 20 //////////////////////////////////////////////////////////////////////////////// |
21 // NativeTabContentsContainerViews, public: | 21 // NativeTabContentsContainerViews, public: |
22 | 22 |
23 NativeTabContentsContainerViews::NativeTabContentsContainerViews( | 23 NativeTabContentsContainerViews::NativeTabContentsContainerViews( |
24 TabContentsContainer* container) | 24 TabContentsContainer* container) |
25 : container_(container) { | 25 : container_(container) { |
26 set_id(VIEW_ID_TAB_CONTAINER_FOCUS_VIEW); | 26 set_id(VIEW_ID_TAB_CONTAINER_FOCUS_VIEW); |
27 SetLayoutManager(new views::FillLayout); | 27 SetLayoutManager(new views::FillLayout); |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 void NativeTabContentsContainerViews::GetAccessibleState( | 131 void NativeTabContentsContainerViews::GetAccessibleState( |
132 ui::AccessibleViewState* state) { | 132 ui::AccessibleViewState* state) { |
133 state->role = ui::AccessibilityTypes::ROLE_GROUPING; | 133 state->role = ui::AccessibilityTypes::ROLE_GROUPING; |
134 } | 134 } |
135 | 135 |
136 gfx::NativeViewAccessible | 136 gfx::NativeViewAccessible |
137 NativeTabContentsContainerViews::GetNativeViewAccessible() { | 137 NativeTabContentsContainerViews::GetNativeViewAccessible() { |
138 return View::GetNativeViewAccessible(); | 138 return View::GetNativeViewAccessible(); |
139 } | 139 } |
140 | 140 |
OLD | NEW |