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" |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 | 125 |
126 void NativeTabContentsContainerViews::GetAccessibleState( | 126 void NativeTabContentsContainerViews::GetAccessibleState( |
127 ui::AccessibleViewState* state) { | 127 ui::AccessibleViewState* state) { |
128 state->role = ui::AccessibilityTypes::ROLE_GROUPING; | 128 state->role = ui::AccessibilityTypes::ROLE_GROUPING; |
129 } | 129 } |
130 | 130 |
131 gfx::NativeViewAccessible | 131 gfx::NativeViewAccessible |
132 NativeTabContentsContainerViews::GetNativeViewAccessible() { | 132 NativeTabContentsContainerViews::GetNativeViewAccessible() { |
133 return View::GetNativeViewAccessible(); | 133 return View::GetNativeViewAccessible(); |
134 } | 134 } |
| 135 |
| 136 //////////////////////////////////////////////////////////////////////////////// |
| 137 // NativeTabContentsContainer, public: |
| 138 #if defined(USE_AURA) |
| 139 // static |
| 140 NativeTabContentsContainer* NativeTabContentsContainer::CreateNativeContainer( |
| 141 TabContentsContainer* container) { |
| 142 return new NativeTabContentsContainerViews(container); |
| 143 } |
| 144 #endif |
OLD | NEW |