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

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

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/tab_contents_container.h" 8 #include "chrome/browser/ui/views/tab_contents/tab_contents_container.h"
9 #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"
10 #include "content/public/browser/render_widget_host_view.h" 10 #include "content/public/browser/render_widget_host_view.h"
11 #include "content/public/browser/web_contents.h" 11 #include "content/public/browser/web_contents.h"
12 #include "ui/base/accessibility/accessible_view_state.h" 12 #include "ui/base/accessibility/accessible_view_state.h"
13 #include "ui/views/focus/focus_manager.h" 13 #include "ui/views/focus/focus_manager.h"
14 14
15 using content::RenderViewHost;
15 using content::WebContents; 16 using content::WebContents;
16 17
17 //////////////////////////////////////////////////////////////////////////////// 18 ////////////////////////////////////////////////////////////////////////////////
18 // NativeTabContentsContainerGtk, public: 19 // NativeTabContentsContainerGtk, public:
19 20
20 NativeTabContentsContainerGtk::NativeTabContentsContainerGtk( 21 NativeTabContentsContainerGtk::NativeTabContentsContainerGtk(
21 TabContentsContainer* container) 22 TabContentsContainer* container)
22 : container_(container), 23 : container_(container),
23 focus_callback_id_(0) { 24 focus_callback_id_(0) {
24 set_id(VIEW_ID_TAB_CONTAINER_FOCUS_VIEW); 25 set_id(VIEW_ID_TAB_CONTAINER_FOCUS_VIEW);
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 } 138 }
138 139
139 //////////////////////////////////////////////////////////////////////////////// 140 ////////////////////////////////////////////////////////////////////////////////
140 // NativeTabContentsContainer, public: 141 // NativeTabContentsContainer, public:
141 142
142 // static 143 // static
143 NativeTabContentsContainer* NativeTabContentsContainer::CreateNativeContainer( 144 NativeTabContentsContainer* NativeTabContentsContainer::CreateNativeContainer(
144 TabContentsContainer* container) { 145 TabContentsContainer* container) {
145 return new NativeTabContentsContainerGtk(container); 146 return new NativeTabContentsContainerGtk(container);
146 } 147 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698