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

Side by Side Diff: chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.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_aura.h" 5 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.h"
6 6
7 // TODO(beng): USE_ASH 7 // TODO(beng): USE_ASH
8 #include "ash/shell.h" 8 #include "ash/shell.h"
9 #include "ash/wm/visibility_controller.h" 9 #include "ash/wm/visibility_controller.h"
10 #include "base/event_types.h" 10 #include "base/event_types.h"
11 #include "base/message_loop.h" 11 #include "base/message_loop.h"
12 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view_delegate .h" 12 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view_delegate .h"
13 #include "content/browser/renderer_host/render_view_host.h" 13 #include "content/browser/renderer_host/render_view_host.h"
14 #include "content/browser/renderer_host/render_widget_host_view.h" 14 #include "content/public/browser/render_widget_host_view.h"
15 #include "content/public/browser/web_contents.h" 15 #include "content/public/browser/web_contents.h"
16 #include "content/public/browser/web_contents_view.h" 16 #include "content/public/browser/web_contents_view.h"
17 #include "ui/aura/client/drag_drop_client.h" 17 #include "ui/aura/client/drag_drop_client.h"
18 #include "ui/aura/client/drag_drop_delegate.h" 18 #include "ui/aura/client/drag_drop_delegate.h"
19 #include "ui/aura/event.h" 19 #include "ui/aura/event.h"
20 #include "ui/aura/root_window.h" 20 #include "ui/aura/root_window.h"
21 #include "ui/aura/window.h" 21 #include "ui/aura/window.h"
22 #include "ui/base/dragdrop/drag_drop_types.h" 22 #include "ui/base/dragdrop/drag_drop_types.h"
23 #include "ui/base/dragdrop/os_exchange_data.h" 23 #include "ui/base/dragdrop/os_exchange_data.h"
24 #include "ui/base/dragdrop/os_exchange_data_provider_aura.h" 24 #include "ui/base/dragdrop/os_exchange_data_provider_aura.h"
25 #include "ui/views/views_delegate.h" 25 #include "ui/views/views_delegate.h"
26 #include "ui/views/widget/widget.h" 26 #include "ui/views/widget/widget.h"
27 #include "webkit/glue/webdropdata.h" 27 #include "webkit/glue/webdropdata.h"
28 28
29 using content::RenderWidgetHostView;
29 using content::WebContents; 30 using content::WebContents;
30 31
31 namespace { 32 namespace {
32 33
33 // Listens to all mouse drag events during a drag and drop and sends them to 34 // Listens to all mouse drag events during a drag and drop and sends them to
34 // the renderer. 35 // the renderer.
35 class WebDragSourceAura : public MessageLoopForUI::Observer { 36 class WebDragSourceAura : public MessageLoopForUI::Observer {
36 public: 37 public:
37 explicit WebDragSourceAura(NativeTabContentsViewAura* view) 38 explicit WebDragSourceAura(NativeTabContentsViewAura* view)
38 : view_(view) { 39 : view_(view) {
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 } 318 }
318 319
319 //////////////////////////////////////////////////////////////////////////////// 320 ////////////////////////////////////////////////////////////////////////////////
320 // NativeTabContentsView, public: 321 // NativeTabContentsView, public:
321 322
322 // static 323 // static
323 NativeTabContentsView* NativeTabContentsView::CreateNativeTabContentsView( 324 NativeTabContentsView* NativeTabContentsView::CreateNativeTabContentsView(
324 internal::NativeTabContentsViewDelegate* delegate) { 325 internal::NativeTabContentsViewDelegate* delegate) {
325 return new NativeTabContentsViewAura(delegate); 326 return new NativeTabContentsViewAura(delegate);
326 } 327 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698