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

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

Issue 351683002: Adds link disambiguation popup support to Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: attempt to fix athena build Created 6 years, 2 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/command_line.h" 6 #include "base/command_line.h"
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "content/browser/browser_plugin/browser_plugin_guest.h" 9 #include "content/browser/browser_plugin/browser_plugin_guest.h"
10 #include "content/browser/frame_host/render_widget_host_view_guest.h" 10 #include "content/browser/frame_host/render_widget_host_view_guest.h"
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 platform_view_->StopSpeaking(); 450 platform_view_->StopSpeaking();
451 } 451 }
452 452
453 bool RenderWidgetHostViewGuest::PostProcessEventForPluginIme( 453 bool RenderWidgetHostViewGuest::PostProcessEventForPluginIme(
454 const NativeWebKeyboardEvent& event) { 454 const NativeWebKeyboardEvent& event) {
455 return false; 455 return false;
456 } 456 }
457 457
458 #endif // defined(OS_MACOSX) 458 #endif // defined(OS_MACOSX)
459 459
460 #if defined(OS_ANDROID) 460 #if defined(OS_ANDROID) || defined(TOOLKIT_VIEWS)
461 void RenderWidgetHostViewGuest::ShowDisambiguationPopup( 461 void RenderWidgetHostViewGuest::ShowDisambiguationPopup(
462 const gfx::Rect& target_rect, 462 const gfx::Rect& rect_pixels,
463 const SkBitmap& zoomed_bitmap) { 463 const SkBitmap& zoomed_bitmap) {
464 } 464 }
465 #endif // defined(OS_ANDROID) || defined(TOOLKIT_VIEWS)
465 466
467 #if defined(OS_ANDROID)
466 void RenderWidgetHostViewGuest::LockCompositingSurface() { 468 void RenderWidgetHostViewGuest::LockCompositingSurface() {
467 } 469 }
468 470
469 void RenderWidgetHostViewGuest::UnlockCompositingSurface() { 471 void RenderWidgetHostViewGuest::UnlockCompositingSurface() {
470 } 472 }
471 #endif // defined(OS_ANDROID) 473 #endif // defined(OS_ANDROID)
472 474
473 #if defined(OS_WIN) 475 #if defined(OS_WIN)
474 void RenderWidgetHostViewGuest::SetParentNativeViewAccessible( 476 void RenderWidgetHostViewGuest::SetParentNativeViewAccessible(
475 gfx::NativeViewAccessible accessible_parent) { 477 gfx::NativeViewAccessible accessible_parent) {
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 } 604 }
603 605
604 if (blink::WebInputEvent::isGestureEventType(event->type)) { 606 if (blink::WebInputEvent::isGestureEventType(event->type)) {
605 host_->ForwardGestureEvent( 607 host_->ForwardGestureEvent(
606 *static_cast<const blink::WebGestureEvent*>(event)); 608 *static_cast<const blink::WebGestureEvent*>(event));
607 return; 609 return;
608 } 610 }
609 } 611 }
610 612
611 } // namespace content 613 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698