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_views.h" | 5 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view_views.h" |
6 | 6 |
7 #include "chrome/browser/renderer_host/render_widget_host_view_views.h" | 7 #include "chrome/browser/renderer_host/render_widget_host_view_views.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 "content/browser/tab_contents/tab_contents.h" | 9 #include "content/browser/tab_contents/tab_contents.h" |
10 #include "content/browser/tab_contents/tab_contents_view.h" | 10 #include "content/browser/tab_contents/tab_contents_view.h" |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 } | 81 } |
82 | 82 |
83 void NativeTabContentsViewViews::SetDragCursor( | 83 void NativeTabContentsViewViews::SetDragCursor( |
84 WebKit::WebDragOperation operation) { | 84 WebKit::WebDragOperation operation) { |
85 NOTIMPLEMENTED(); | 85 NOTIMPLEMENTED(); |
86 } | 86 } |
87 | 87 |
88 views::NativeWidget* NativeTabContentsViewViews::AsNativeWidget() { | 88 views::NativeWidget* NativeTabContentsViewViews::AsNativeWidget() { |
89 return this; | 89 return this; |
90 } | 90 } |
| 91 |
| 92 //////////////////////////////////////////////////////////////////////////////// |
| 93 // NativeTabContentsView, public: |
| 94 #if defined(USE_AURA) |
| 95 // static |
| 96 NativeTabContentsView* NativeTabContentsView::CreateNativeTabContentsView( |
| 97 internal::NativeTabContentsViewDelegate* delegate) { |
| 98 return new NativeTabContentsViewViews(delegate); |
| 99 } |
| 100 #endif |
OLD | NEW |