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

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

Issue 9420007: Move RenderWidgetHostView into content namespace. Fix include paths. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix linux_chromeos_gtk build issue not caught by trybots. Created 8 years, 10 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_view_win.h" 5 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view_win.h"
6 6
7 #include "chrome/browser/tab_contents/web_drop_target_win.h" 7 #include "chrome/browser/tab_contents/web_drop_target_win.h"
8 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view_delegate .h" 8 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view_delegate .h"
9 #include "chrome/browser/ui/views/tab_contents/tab_contents_drag_win.h" 9 #include "chrome/browser/ui/views/tab_contents/tab_contents_drag_win.h"
10 #include "content/browser/renderer_host/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 "content/public/browser/web_contents_view.h" 12 #include "content/public/browser/web_contents_view.h"
13 #include "ui/views/views_delegate.h" 13 #include "ui/views/views_delegate.h"
14 #include "ui/views/widget/widget.h" 14 #include "ui/views/widget/widget.h"
15 15
16 using content::RenderWidgetHostView;
16 using content::WebContents; 17 using content::WebContents;
17 18
18 namespace { 19 namespace {
19 20
20 // See comment above TempParent in tab_contents_view_win.cc. 21 // See comment above TempParent in tab_contents_view_win.cc.
21 // Also, Tabs must be created as child widgets, otherwise they will be given 22 // Also, Tabs must be created as child widgets, otherwise they will be given
22 // a FocusManager which will conflict with the FocusManager of the 23 // a FocusManager which will conflict with the FocusManager of the
23 // window they eventually end up attached to. 24 // window they eventually end up attached to.
24 class HiddenTabHostWindow : public views::Widget { 25 class HiddenTabHostWindow : public views::Widget {
25 public: 26 public:
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 } 331 }
331 332
332 //////////////////////////////////////////////////////////////////////////////// 333 ////////////////////////////////////////////////////////////////////////////////
333 // NativeTabContentsView, public: 334 // NativeTabContentsView, public:
334 335
335 // static 336 // static
336 NativeTabContentsView* NativeTabContentsView::CreateNativeTabContentsView( 337 NativeTabContentsView* NativeTabContentsView::CreateNativeTabContentsView(
337 internal::NativeTabContentsViewDelegate* delegate) { 338 internal::NativeTabContentsViewDelegate* delegate) {
338 return new NativeTabContentsViewWin(delegate); 339 return new NativeTabContentsViewWin(delegate);
339 } 340 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698