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

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

Issue 7669040: content: Move render_widget_host_view_gtk to content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: chromeos fix. Created 9 years, 4 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
« no previous file with comments | « chrome/browser/ui/views/notifications/balloon_view_host.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_view_gtk.h" 5 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view_gtk.h"
6 6
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "chrome/browser/renderer_host/render_widget_host_view_gtk.h"
9 #include "chrome/browser/tab_contents/web_drag_dest_gtk.h" 8 #include "chrome/browser/tab_contents/web_drag_dest_gtk.h"
10 #include "chrome/browser/ui/gtk/constrained_window_gtk.h" 9 #include "chrome/browser/ui/gtk/constrained_window_gtk.h"
11 #include "chrome/browser/ui/gtk/tab_contents_drag_source.h" 10 #include "chrome/browser/ui/gtk/tab_contents_drag_source.h"
12 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view_delegate .h" 11 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view_delegate .h"
13 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view_views.h" 12 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view_views.h"
13 #include "content/browser/renderer_host/render_widget_host_view_gtk.h"
14 #include "content/browser/tab_contents/tab_contents.h" 14 #include "content/browser/tab_contents/tab_contents.h"
15 #include "content/browser/tab_contents/tab_contents_view.h" 15 #include "content/browser/tab_contents/tab_contents_view.h"
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragData.h" 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragData.h"
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
18 #include "views/views_delegate.h" 18 #include "views/views_delegate.h"
19 19
20 using WebKit::WebDragOperation; 20 using WebKit::WebDragOperation;
21 using WebKit::WebDragOperationsMask; 21 using WebKit::WebDragOperationsMask;
22 using WebKit::WebInputEvent; 22 using WebKit::WebInputEvent;
23 23
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 // NativeTabContentsView, public: 260 // NativeTabContentsView, public:
261 261
262 // static 262 // static
263 NativeTabContentsView* NativeTabContentsView::CreateNativeTabContentsView( 263 NativeTabContentsView* NativeTabContentsView::CreateNativeTabContentsView(
264 internal::NativeTabContentsViewDelegate* delegate) { 264 internal::NativeTabContentsViewDelegate* delegate) {
265 if (views::Widget::IsPureViews() && 265 if (views::Widget::IsPureViews() &&
266 views::ViewsDelegate::views_delegate->GetDefaultParentView()) 266 views::ViewsDelegate::views_delegate->GetDefaultParentView())
267 return new NativeTabContentsViewViews(delegate); 267 return new NativeTabContentsViewViews(delegate);
268 return new NativeTabContentsViewGtk(delegate); 268 return new NativeTabContentsViewGtk(delegate);
269 } 269 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/notifications/balloon_view_host.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698