| OLD | NEW |
| 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/ui/gtk/constrained_window_gtk.h" | 8 #include "chrome/browser/ui/gtk/constrained_window_gtk.h" |
| 9 #include "chrome/browser/tab_contents/web_drag_bookmark_handler_gtk.h" | 9 #include "chrome/browser/tab_contents/web_drag_bookmark_handler_gtk.h" |
| 10 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view_delegate
.h" | 10 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view_delegate
.h" |
| 11 #include "content/browser/renderer_host/render_widget_host_view_gtk.h" | 11 #include "content/browser/renderer_host/render_widget_host_view_gtk.h" |
| 12 #include "content/browser/tab_contents/tab_contents.h" | 12 #include "content/browser/tab_contents/tab_contents.h" |
| 13 #include "content/browser/tab_contents/tab_contents_view.h" | 13 #include "content/browser/tab_contents/tab_contents_view.h" |
| 14 #include "content/browser/tab_contents/web_drag_dest_gtk.h" | 14 #include "content/browser/tab_contents/web_drag_dest_gtk.h" |
| 15 #include "content/browser/tab_contents/web_drag_source_gtk.h" | 15 #include "content/browser/tab_contents/web_drag_source_gtk.h" |
| 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragData.h" | 16 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/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 | 18 |
| 19 #if defined(OS_CHROMEOS) | 19 #if defined(OS_CHROMEOS) |
| 20 #include "chrome/browser/chromeos/login/user_manager.h" | 20 #include "chrome/browser/chromeos/login/user_manager.h" |
| 21 #endif | 21 #endif |
| 22 | 22 |
| 23 using WebKit::WebDragOperation; | 23 using WebKit::WebDragOperation; |
| 24 using WebKit::WebDragOperationsMask; | 24 using WebKit::WebDragOperationsMask; |
| 25 using WebKit::WebInputEvent; | 25 using WebKit::WebInputEvent; |
| 26 | 26 |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 } | 282 } |
| 283 | 283 |
| 284 //////////////////////////////////////////////////////////////////////////////// | 284 //////////////////////////////////////////////////////////////////////////////// |
| 285 // NativeTabContentsView, public: | 285 // NativeTabContentsView, public: |
| 286 | 286 |
| 287 // static | 287 // static |
| 288 NativeTabContentsView* NativeTabContentsView::CreateNativeTabContentsView( | 288 NativeTabContentsView* NativeTabContentsView::CreateNativeTabContentsView( |
| 289 internal::NativeTabContentsViewDelegate* delegate) { | 289 internal::NativeTabContentsViewDelegate* delegate) { |
| 290 return new NativeTabContentsViewGtk(delegate); | 290 return new NativeTabContentsViewGtk(delegate); |
| 291 } | 291 } |
| OLD | NEW |