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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_guest.cc

Issue 11953084: Browser Plugin: Removed spammy NOTIMPLEMENTED() messages in RWHVG/WCVG (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed more NOTIMPLEMENTED() Created 7 years, 11 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
« no previous file with comments | « no previous file | content/browser/web_contents/web_contents_view_guest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "base/bind_helpers.h" 5 #include "base/bind_helpers.h"
6 #include "base/logging.h" 6 #include "base/logging.h"
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "content/browser/browser_plugin/browser_plugin_guest.h" 8 #include "content/browser/browser_plugin/browser_plugin_guest.h"
9 #include "content/browser/renderer_host/render_view_host_impl.h" 9 #include "content/browser/renderer_host/render_view_host_impl.h"
10 #include "content/browser/renderer_host/render_widget_host_view_guest.h" 10 #include "content/browser/renderer_host/render_widget_host_view_guest.h"
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 } 148 }
149 149
150 gfx::NativeViewAccessible RenderWidgetHostViewGuest::GetNativeViewAccessible() { 150 gfx::NativeViewAccessible RenderWidgetHostViewGuest::GetNativeViewAccessible() {
151 NOTIMPLEMENTED(); 151 NOTIMPLEMENTED();
152 return NULL; 152 return NULL;
153 } 153 }
154 154
155 void RenderWidgetHostViewGuest::MovePluginWindows( 155 void RenderWidgetHostViewGuest::MovePluginWindows(
156 const gfx::Vector2d& scroll_offset, 156 const gfx::Vector2d& scroll_offset,
157 const std::vector<webkit::npapi::WebPluginGeometry>& moves) { 157 const std::vector<webkit::npapi::WebPluginGeometry>& moves) {
158 NOTIMPLEMENTED();
159 } 158 }
160 159
161 void RenderWidgetHostViewGuest::Focus() { 160 void RenderWidgetHostViewGuest::Focus() {
162 NOTIMPLEMENTED();
163 } 161 }
164 162
165 void RenderWidgetHostViewGuest::Blur() { 163 void RenderWidgetHostViewGuest::Blur() {
166 NOTIMPLEMENTED();
167 } 164 }
168 165
169 bool RenderWidgetHostViewGuest::HasFocus() const { 166 bool RenderWidgetHostViewGuest::HasFocus() const {
170 NOTIMPLEMENTED();
171 return false; 167 return false;
172 } 168 }
173 169
174 bool RenderWidgetHostViewGuest::IsSurfaceAvailableForCopy() const { 170 bool RenderWidgetHostViewGuest::IsSurfaceAvailableForCopy() const {
175 NOTIMPLEMENTED();
176 return true; 171 return true;
177 } 172 }
178 173
179 void RenderWidgetHostViewGuest::UpdateCursor(const WebCursor& cursor) { 174 void RenderWidgetHostViewGuest::UpdateCursor(const WebCursor& cursor) {
180 NOTIMPLEMENTED();
181 } 175 }
182 176
183 void RenderWidgetHostViewGuest::SetIsLoading(bool is_loading) { 177 void RenderWidgetHostViewGuest::SetIsLoading(bool is_loading) {
184 NOTIMPLEMENTED();
185 } 178 }
186 179
187 void RenderWidgetHostViewGuest::TextInputStateChanged( 180 void RenderWidgetHostViewGuest::TextInputStateChanged(
188 const ViewHostMsg_TextInputState_Params& params) { 181 const ViewHostMsg_TextInputState_Params& params) {
189 NOTIMPLEMENTED();
190 } 182 }
191 183
192 void RenderWidgetHostViewGuest::ImeCancelComposition() { 184 void RenderWidgetHostViewGuest::ImeCancelComposition() {
193 NOTIMPLEMENTED();
194 } 185 }
195 186
196 void RenderWidgetHostViewGuest::DidUpdateBackingStore( 187 void RenderWidgetHostViewGuest::DidUpdateBackingStore(
197 const gfx::Rect& scroll_rect, 188 const gfx::Rect& scroll_rect,
198 const gfx::Vector2d& scroll_delta, 189 const gfx::Vector2d& scroll_delta,
199 const std::vector<gfx::Rect>& copy_rects) { 190 const std::vector<gfx::Rect>& copy_rects) {
200 NOTIMPLEMENTED();
201 } 191 }
202 192
203 void RenderWidgetHostViewGuest::SelectionBoundsChanged( 193 void RenderWidgetHostViewGuest::SelectionBoundsChanged(
204 const gfx::Rect& start_rect, 194 const gfx::Rect& start_rect,
205 WebKit::WebTextDirection start_direction, 195 WebKit::WebTextDirection start_direction,
206 const gfx::Rect& end_rect, 196 const gfx::Rect& end_rect,
207 WebKit::WebTextDirection end_direction) { 197 WebKit::WebTextDirection end_direction) {
208 NOTIMPLEMENTED();
209 } 198 }
210 199
211 BackingStore* RenderWidgetHostViewGuest::AllocBackingStore( 200 BackingStore* RenderWidgetHostViewGuest::AllocBackingStore(
212 const gfx::Size& size) { 201 const gfx::Size& size) {
213 NOTIMPLEMENTED();
214 return NULL; 202 return NULL;
215 } 203 }
216 204
217 void RenderWidgetHostViewGuest::CopyFromCompositingSurface( 205 void RenderWidgetHostViewGuest::CopyFromCompositingSurface(
218 const gfx::Rect& src_subrect, 206 const gfx::Rect& src_subrect,
219 const gfx::Size& /* dst_size */, 207 const gfx::Size& /* dst_size */,
220 const base::Callback<void(bool)>& callback, 208 const base::Callback<void(bool)>& callback,
221 skia::PlatformBitmap* output) { 209 skia::PlatformBitmap* output) {
222 NOTIMPLEMENTED();
223 } 210 }
224 211
225 void RenderWidgetHostViewGuest::AcceleratedSurfaceSuspend() { 212 void RenderWidgetHostViewGuest::AcceleratedSurfaceSuspend() {
226 NOTIMPLEMENTED();
227 } 213 }
228 214
229 bool RenderWidgetHostViewGuest::HasAcceleratedSurface( 215 bool RenderWidgetHostViewGuest::HasAcceleratedSurface(
230 const gfx::Size& desired_size) { 216 const gfx::Size& desired_size) {
231 NOTIMPLEMENTED();
232 return false; 217 return false;
233 } 218 }
234 219
235 void RenderWidgetHostViewGuest::SetBackground(const SkBitmap& background) { 220 void RenderWidgetHostViewGuest::SetBackground(const SkBitmap& background) {
236 NOTIMPLEMENTED();
237 } 221 }
238 222
239 void RenderWidgetHostViewGuest::SetHasHorizontalScrollbar( 223 void RenderWidgetHostViewGuest::SetHasHorizontalScrollbar(
240 bool has_horizontal_scrollbar) { 224 bool has_horizontal_scrollbar) {
241 NOTIMPLEMENTED();
242 } 225 }
243 226
244 void RenderWidgetHostViewGuest::SetScrollOffsetPinning( 227 void RenderWidgetHostViewGuest::SetScrollOffsetPinning(
245 bool is_pinned_to_left, bool is_pinned_to_right) { 228 bool is_pinned_to_left, bool is_pinned_to_right) {
246 NOTIMPLEMENTED();
247 } 229 }
248 230
249 void RenderWidgetHostViewGuest::OnAcceleratedCompositingStateChange() { 231 void RenderWidgetHostViewGuest::OnAcceleratedCompositingStateChange() {
250 NOTIMPLEMENTED();
251 } 232 }
252 233
253 bool RenderWidgetHostViewGuest::LockMouse() { 234 bool RenderWidgetHostViewGuest::LockMouse() {
254 NOTIMPLEMENTED();
255 return false; 235 return false;
256 } 236 }
257 237
258 void RenderWidgetHostViewGuest::UnlockMouse() { 238 void RenderWidgetHostViewGuest::UnlockMouse() {
259 NOTIMPLEMENTED();
260 } 239 }
261 240
262 #if defined(OS_MACOSX) 241 #if defined(OS_MACOSX)
263 void RenderWidgetHostViewGuest::SetActive(bool active) { 242 void RenderWidgetHostViewGuest::SetActive(bool active) {
264 NOTIMPLEMENTED();
265 } 243 }
266 244
267 void RenderWidgetHostViewGuest::SetTakesFocusOnlyOnMouseDown(bool flag) { 245 void RenderWidgetHostViewGuest::SetTakesFocusOnlyOnMouseDown(bool flag) {
268 NOTIMPLEMENTED();
269 } 246 }
270 247
271 void RenderWidgetHostViewGuest::SetWindowVisibility(bool visible) { 248 void RenderWidgetHostViewGuest::SetWindowVisibility(bool visible) {
272 NOTIMPLEMENTED();
273 } 249 }
274 250
275 void RenderWidgetHostViewGuest::WindowFrameChanged() { 251 void RenderWidgetHostViewGuest::WindowFrameChanged() {
276 NOTIMPLEMENTED();
277 } 252 }
278 253
279 void RenderWidgetHostViewGuest::ShowDefinitionForSelection() { 254 void RenderWidgetHostViewGuest::ShowDefinitionForSelection() {
280 NOTIMPLEMENTED();
281 } 255 }
282 256
283 bool RenderWidgetHostViewGuest::SupportsSpeech() const { 257 bool RenderWidgetHostViewGuest::SupportsSpeech() const {
284 NOTIMPLEMENTED();
285 return false; 258 return false;
286 } 259 }
287 260
288 void RenderWidgetHostViewGuest::SpeakSelection() { 261 void RenderWidgetHostViewGuest::SpeakSelection() {
289 NOTIMPLEMENTED();
290 } 262 }
291 263
292 bool RenderWidgetHostViewGuest::IsSpeaking() const { 264 bool RenderWidgetHostViewGuest::IsSpeaking() const {
293 NOTIMPLEMENTED();
294 return false; 265 return false;
295 } 266 }
296 267
297 void RenderWidgetHostViewGuest::StopSpeaking() { 268 void RenderWidgetHostViewGuest::StopSpeaking() {
298 NOTIMPLEMENTED();
299 } 269 }
300 270
301 void RenderWidgetHostViewGuest::AboutToWaitForBackingStoreMsg() { 271 void RenderWidgetHostViewGuest::AboutToWaitForBackingStoreMsg() {
302 NOTIMPLEMENTED();
303 } 272 }
304 273
305 void RenderWidgetHostViewGuest::PluginFocusChanged(bool focused, 274 void RenderWidgetHostViewGuest::PluginFocusChanged(bool focused,
306 int plugin_id) { 275 int plugin_id) {
307 NOTIMPLEMENTED();
308 } 276 }
309 277
310 void RenderWidgetHostViewGuest::StartPluginIme() { 278 void RenderWidgetHostViewGuest::StartPluginIme() {
311 NOTIMPLEMENTED();
312 } 279 }
313 280
314 bool RenderWidgetHostViewGuest::PostProcessEventForPluginIme( 281 bool RenderWidgetHostViewGuest::PostProcessEventForPluginIme(
315 const NativeWebKeyboardEvent& event) { 282 const NativeWebKeyboardEvent& event) {
316 NOTIMPLEMENTED();
317 return false; 283 return false;
318 } 284 }
319 285
320 gfx::PluginWindowHandle 286 gfx::PluginWindowHandle
321 RenderWidgetHostViewGuest::AllocateFakePluginWindowHandle( 287 RenderWidgetHostViewGuest::AllocateFakePluginWindowHandle(
322 bool opaque, bool root) { 288 bool opaque, bool root) {
323 NOTIMPLEMENTED();
324 return 0; 289 return 0;
325 } 290 }
326 291
327 void RenderWidgetHostViewGuest::DestroyFakePluginWindowHandle( 292 void RenderWidgetHostViewGuest::DestroyFakePluginWindowHandle(
328 gfx::PluginWindowHandle window) { 293 gfx::PluginWindowHandle window) {
329 NOTIMPLEMENTED();
330 } 294 }
331 295
332 void RenderWidgetHostViewGuest::AcceleratedSurfaceSetIOSurface( 296 void RenderWidgetHostViewGuest::AcceleratedSurfaceSetIOSurface(
333 gfx::PluginWindowHandle window, 297 gfx::PluginWindowHandle window,
334 int32 width, 298 int32 width,
335 int32 height, 299 int32 height,
336 uint64 io_surface_identifier) { 300 uint64 io_surface_identifier) {
337 NOTIMPLEMENTED();
338 } 301 }
339 302
340 void RenderWidgetHostViewGuest::AcceleratedSurfaceSetTransportDIB( 303 void RenderWidgetHostViewGuest::AcceleratedSurfaceSetTransportDIB(
341 gfx::PluginWindowHandle window, 304 gfx::PluginWindowHandle window,
342 int32 width, 305 int32 width,
343 int32 height, 306 int32 height,
344 TransportDIB::Handle transport_dib) { 307 TransportDIB::Handle transport_dib) {
345 NOTIMPLEMENTED();
346 } 308 }
347 #endif // defined(OS_MACOSX) 309 #endif // defined(OS_MACOSX)
348 310
349 #if defined(OS_ANDROID) 311 #if defined(OS_ANDROID)
350 void RenderWidgetHostViewGuest::StartContentIntent(const GURL& content_url) { 312 void RenderWidgetHostViewGuest::StartContentIntent(const GURL& content_url) {
351 NOTIMPLEMENTED();
352 } 313 }
353 314
354 void RenderWidgetHostViewGuest::SetCachedBackgroundColor(SkColor color) { 315 void RenderWidgetHostViewGuest::SetCachedBackgroundColor(SkColor color) {
355 NOTIMPLEMENTED();
356 } 316 }
357 317
358 void RenderWidgetHostViewGuest::ShowDisambiguationPopup( 318 void RenderWidgetHostViewGuest::ShowDisambiguationPopup(
359 const gfx::Rect& target_rect, 319 const gfx::Rect& target_rect,
360 const SkBitmap& zoomed_bitmap) { 320 const SkBitmap& zoomed_bitmap) {
361 NOTIMPLEMENTED();
362 } 321 }
363 322
364 void RenderWidgetHostViewGuest::SetCachedPageScaleFactorLimits( 323 void RenderWidgetHostViewGuest::SetCachedPageScaleFactorLimits(
365 float minimum_scale, 324 float minimum_scale,
366 float maximum_scale) { 325 float maximum_scale) {
367 NOTIMPLEMENTED();
368 } 326 }
369 327
370 void RenderWidgetHostViewGuest::UpdateFrameInfo( 328 void RenderWidgetHostViewGuest::UpdateFrameInfo(
371 const gfx::Vector2d& scroll_offset, 329 const gfx::Vector2d& scroll_offset,
372 float page_scale_factor, 330 float page_scale_factor,
373 float min_page_scale_factor, 331 float min_page_scale_factor,
374 float max_page_scale_factor, 332 float max_page_scale_factor,
375 const gfx::Size& content_size, 333 const gfx::Size& content_size,
376 const gfx::Vector2dF& controls_offset, 334 const gfx::Vector2dF& controls_offset,
377 const gfx::Vector2dF& content_offset) { 335 const gfx::Vector2dF& content_offset) {
378 NOTIMPLEMENTED();
379 } 336 }
380 337
381 void RenderWidgetHostViewGuest::HasTouchEventHandlers(bool need_touch_events) { 338 void RenderWidgetHostViewGuest::HasTouchEventHandlers(bool need_touch_events) {
382 NOTIMPLEMENTED();
383 } 339 }
384 #endif // defined(OS_ANDROID) 340 #endif // defined(OS_ANDROID)
385 341
386 #if defined(TOOLKIT_GTK) 342 #if defined(TOOLKIT_GTK)
387 GdkEventButton* RenderWidgetHostViewGuest::GetLastMouseDown() { 343 GdkEventButton* RenderWidgetHostViewGuest::GetLastMouseDown() {
388 NOTIMPLEMENTED();
389 return NULL; 344 return NULL;
390 } 345 }
391 346
392 gfx::NativeView RenderWidgetHostViewGuest::BuildInputMethodsGtkMenu() { 347 gfx::NativeView RenderWidgetHostViewGuest::BuildInputMethodsGtkMenu() {
393 NOTIMPLEMENTED();
394 return gfx::NativeView(); 348 return gfx::NativeView();
395 } 349 }
396 350
397 void RenderWidgetHostViewGuest::CreatePluginContainer( 351 void RenderWidgetHostViewGuest::CreatePluginContainer(
398 gfx::PluginWindowHandle id) { 352 gfx::PluginWindowHandle id) {
399 NOTIMPLEMENTED();
400 } 353 }
401 354
402 void RenderWidgetHostViewGuest::DestroyPluginContainer( 355 void RenderWidgetHostViewGuest::DestroyPluginContainer(
403 gfx::PluginWindowHandle id) { 356 gfx::PluginWindowHandle id) {
404 NOTIMPLEMENTED();
405 } 357 }
406 #endif // defined(TOOLKIT_GTK) 358 #endif // defined(TOOLKIT_GTK)
407 359
408 #if defined(OS_WIN) && !defined(USE_AURA) 360 #if defined(OS_WIN) && !defined(USE_AURA)
409 void RenderWidgetHostViewGuest::WillWmDestroy() { 361 void RenderWidgetHostViewGuest::WillWmDestroy() {
410 NOTIMPLEMENTED();
411 } 362 }
412 #endif 363 #endif
413 364
414 #if defined(OS_POSIX) || defined(USE_AURA) 365 #if defined(OS_POSIX) || defined(USE_AURA)
415 void RenderWidgetHostViewGuest::GetScreenInfo(WebKit::WebScreenInfo* results) { 366 void RenderWidgetHostViewGuest::GetScreenInfo(WebKit::WebScreenInfo* results) {
416 NOTIMPLEMENTED();
417 } 367 }
418 #endif // defined(OS_POSIX) || defined(USE_AURA) 368 #endif // defined(OS_POSIX) || defined(USE_AURA)
419 369
420 } // namespace content 370 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/browser/web_contents/web_contents_view_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698