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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 view->InitAsChild(); | 52 view->InitAsChild(); |
53 // TODO(anicolao): implement drag'n'drop hooks if needed | 53 // TODO(anicolao): implement drag'n'drop hooks if needed |
54 return view; | 54 return view; |
55 } | 55 } |
56 | 56 |
57 gfx::NativeWindow NativeTabContentsViewViews::GetTopLevelNativeWindow() const { | 57 gfx::NativeWindow NativeTabContentsViewViews::GetTopLevelNativeWindow() const { |
58 NOTIMPLEMENTED(); | 58 NOTIMPLEMENTED(); |
59 return NULL; | 59 return NULL; |
60 } | 60 } |
61 | 61 |
62 void NativeTabContentsViewViews::SetPageTitle(const std::wstring& title) { | 62 void NativeTabContentsViewViews::SetPageTitle(const string16& title) { |
63 SetWindowTitle(title); | 63 SetWindowTitle(title); |
64 } | 64 } |
65 | 65 |
66 void NativeTabContentsViewViews::StartDragging( | 66 void NativeTabContentsViewViews::StartDragging( |
67 const WebDropData& drop_data, | 67 const WebDropData& drop_data, |
68 WebKit::WebDragOperationsMask ops, | 68 WebKit::WebDragOperationsMask ops, |
69 const SkBitmap& image, | 69 const SkBitmap& image, |
70 const gfx::Point& image_offset) { | 70 const gfx::Point& image_offset) { |
71 NOTIMPLEMENTED(); | 71 NOTIMPLEMENTED(); |
72 } | 72 } |
73 | 73 |
74 void NativeTabContentsViewViews::CancelDrag() { | 74 void NativeTabContentsViewViews::CancelDrag() { |
75 NOTIMPLEMENTED(); | 75 NOTIMPLEMENTED(); |
76 } | 76 } |
77 | 77 |
78 bool NativeTabContentsViewViews::IsDoingDrag() const { | 78 bool NativeTabContentsViewViews::IsDoingDrag() const { |
79 NOTIMPLEMENTED(); | 79 NOTIMPLEMENTED(); |
80 return false; | 80 return false; |
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 } |
OLD | NEW |