OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "content/browser/tab_contents/web_contents_view_android.h" | |
6 | |
7 #include "base/logging.h" | |
8 #include "content/browser/renderer_host/render_view_host_impl.h" | |
9 | |
10 WebContentsViewAndroid::WebContentsViewAndroid( | |
11 content::WebContents* web_contents) | |
12 : web_contents_(web_contents) { | |
13 } | |
14 | |
15 WebContentsViewAndroid::~WebContentsViewAndroid() { | |
16 } | |
17 | |
18 void WebContentsViewAndroid::CreateView(const gfx::Size& initial_size) { | |
19 NOTIMPLEMENTED(); | |
20 } | |
21 | |
22 content::RenderWidgetHostView* WebContentsViewAndroid::CreateViewForWidget( | |
23 content::RenderWidgetHost* render_widget_host) { | |
24 NOTIMPLEMENTED(); | |
25 return NULL; | |
26 } | |
27 | |
28 gfx::NativeView WebContentsViewAndroid::GetNativeView() const { | |
29 NOTIMPLEMENTED(); | |
30 return NULL; | |
31 } | |
32 | |
33 gfx::NativeView WebContentsViewAndroid::GetContentNativeView() const { | |
34 NOTIMPLEMENTED(); | |
35 return NULL; | |
36 } | |
37 | |
38 gfx::NativeWindow WebContentsViewAndroid::GetTopLevelNativeWindow() const { | |
39 NOTIMPLEMENTED(); | |
40 return NULL; | |
41 } | |
42 | |
43 void WebContentsViewAndroid::GetContainerBounds(gfx::Rect* out) const { | |
44 NOTIMPLEMENTED(); | |
45 } | |
46 | |
47 void WebContentsViewAndroid::SetPageTitle(const string16& title) { | |
48 NOTIMPLEMENTED(); | |
49 } | |
50 | |
51 void WebContentsViewAndroid::OnTabCrashed(base::TerminationStatus status, | |
52 int error_code) { | |
53 NOTIMPLEMENTED(); | |
54 } | |
55 | |
56 void WebContentsViewAndroid::SizeContents(const gfx::Size& size) { | |
57 NOTIMPLEMENTED(); | |
58 } | |
59 | |
60 void WebContentsViewAndroid::RenderViewCreated(content::RenderViewHost* host) { | |
61 NOTIMPLEMENTED(); | |
62 } | |
63 | |
64 void WebContentsViewAndroid::Focus() { | |
65 NOTIMPLEMENTED(); | |
66 } | |
67 | |
68 void WebContentsViewAndroid::SetInitialFocus() { | |
69 NOTIMPLEMENTED(); | |
70 } | |
71 | |
72 void WebContentsViewAndroid::StoreFocus() { | |
73 NOTIMPLEMENTED(); | |
74 } | |
75 | |
76 void WebContentsViewAndroid::RestoreFocus() { | |
77 NOTIMPLEMENTED(); | |
78 } | |
79 | |
80 bool WebContentsViewAndroid::IsDoingDrag() const { | |
81 NOTIMPLEMENTED(); | |
82 return false; | |
83 } | |
84 | |
85 void WebContentsViewAndroid::CancelDragAndCloseTab() { | |
86 NOTIMPLEMENTED(); | |
87 } | |
88 | |
89 bool WebContentsViewAndroid::IsEventTracking() const { | |
90 NOTIMPLEMENTED(); | |
91 return false; | |
92 } | |
93 | |
94 void WebContentsViewAndroid::CloseTabAfterEventTracking() { | |
95 NOTIMPLEMENTED(); | |
96 } | |
97 | |
98 void WebContentsViewAndroid::GetViewBounds(gfx::Rect* out) const { | |
99 NOTIMPLEMENTED(); | |
100 } | |
101 | |
102 void WebContentsViewAndroid::CreateNewWindow( | |
103 int route_id, | |
104 const ViewHostMsg_CreateWindow_Params& params) { | |
105 NOTIMPLEMENTED(); | |
106 } | |
107 | |
108 void WebContentsViewAndroid::CreateNewWidget( | |
109 int route_id, WebKit::WebPopupType popup_type) { | |
110 NOTIMPLEMENTED(); | |
111 } | |
112 | |
113 void WebContentsViewAndroid::CreateNewFullscreenWidget(int route_id) { | |
114 NOTIMPLEMENTED(); | |
115 } | |
116 | |
117 void WebContentsViewAndroid::ShowCreatedWindow(int route_id, | |
118 WindowOpenDisposition disposition, | |
119 const gfx::Rect& initial_pos, | |
120 bool user_gesture) { | |
121 NOTIMPLEMENTED(); | |
122 } | |
123 | |
124 void WebContentsViewAndroid::ShowCreatedWidget( | |
125 int route_id, const gfx::Rect& initial_pos) { | |
126 NOTIMPLEMENTED(); | |
127 } | |
128 | |
129 void WebContentsViewAndroid::ShowCreatedFullscreenWidget(int route_id) { | |
130 NOTIMPLEMENTED(); | |
131 } | |
132 | |
133 void WebContentsViewAndroid::ShowContextMenu( | |
134 const content::ContextMenuParams& params) { | |
135 NOTIMPLEMENTED(); | |
136 } | |
137 | |
138 void WebContentsViewAndroid::ShowPopupMenu( | |
139 const gfx::Rect& bounds, | |
140 int item_height, | |
141 double item_font_size, | |
142 int selected_item, | |
143 const std::vector<WebMenuItem>& items, | |
144 bool right_aligned) { | |
145 NOTIMPLEMENTED(); | |
146 } | |
147 | |
148 void WebContentsViewAndroid::StartDragging( | |
149 const WebDropData& drop_data, | |
150 WebKit::WebDragOperationsMask allowed_ops, | |
151 const SkBitmap& image, | |
152 const gfx::Point& image_offset) { | |
153 NOTIMPLEMENTED(); | |
154 } | |
155 | |
156 void WebContentsViewAndroid::UpdateDragCursor(WebKit::WebDragOperation op) { | |
157 NOTIMPLEMENTED(); | |
158 } | |
159 | |
160 void WebContentsViewAndroid::GotFocus() { | |
161 NOTIMPLEMENTED(); | |
162 } | |
163 | |
164 void WebContentsViewAndroid::TakeFocus(bool reverse) { | |
165 NOTIMPLEMENTED(); | |
166 } | |
OLD | NEW |