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

Side by Side Diff: chrome/browser/ui/views/tab_contents/native_tab_contents_container_gtk.cc

Issue 8598024: Now that we are doing a hard-cut-over to Aura, remove a bunch of *Views based classes that are ob... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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) 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_gtk .h" 5 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_container_gtk .h"
6 6
7 #include "chrome/browser/ui/view_ids.h" 7 #include "chrome/browser/ui/view_ids.h"
8 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_container_vie ws.h"
9 #include "chrome/browser/ui/views/tab_contents/tab_contents_container.h" 8 #include "chrome/browser/ui/views/tab_contents/tab_contents_container.h"
10 #include "chrome/browser/ui/views/tab_contents/tab_contents_view_views.h" 9 #include "chrome/browser/ui/views/tab_contents/tab_contents_view_views.h"
11 #include "content/browser/renderer_host/render_widget_host_view.h" 10 #include "content/browser/renderer_host/render_widget_host_view.h"
12 #include "content/browser/tab_contents/interstitial_page.h" 11 #include "content/browser/tab_contents/interstitial_page.h"
13 #include "content/browser/tab_contents/tab_contents.h" 12 #include "content/browser/tab_contents/tab_contents.h"
14 #include "ui/base/accessibility/accessible_view_state.h" 13 #include "ui/base/accessibility/accessible_view_state.h"
15 #include "ui/views/focus/focus_manager.h" 14 #include "ui/views/focus/focus_manager.h"
16 15
17 //////////////////////////////////////////////////////////////////////////////// 16 ////////////////////////////////////////////////////////////////////////////////
18 // NativeTabContentsContainerGtk, public: 17 // NativeTabContentsContainerGtk, public:
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 ui::AccessibleViewState* state) { 141 ui::AccessibleViewState* state) {
143 state->role = ui::AccessibilityTypes::ROLE_GROUPING; 142 state->role = ui::AccessibilityTypes::ROLE_GROUPING;
144 } 143 }
145 144
146 //////////////////////////////////////////////////////////////////////////////// 145 ////////////////////////////////////////////////////////////////////////////////
147 // NativeTabContentsContainer, public: 146 // NativeTabContentsContainer, public:
148 147
149 // static 148 // static
150 NativeTabContentsContainer* NativeTabContentsContainer::CreateNativeContainer( 149 NativeTabContentsContainer* NativeTabContentsContainer::CreateNativeContainer(
151 TabContentsContainer* container) { 150 TabContentsContainer* container) {
152 if (views::Widget::IsPureViews())
153 return new NativeTabContentsContainerViews(container);
154 return new NativeTabContentsContainerGtk(container); 151 return new NativeTabContentsContainerGtk(container);
155 } 152 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698