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

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

Issue 2354283003: Disable direct routing of mouse events for RenderWidgetHostViewGuest (Closed)
Patch Set: Tweak Created 4 years, 3 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 (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 "content/browser/renderer_host/render_widget_host_view_base.h" 5 #include "content/browser/renderer_host/render_widget_host_view_base.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "content/browser/accessibility/browser_accessibility_manager.h" 9 #include "content/browser/accessibility/browser_accessibility_manager.h"
10 #include "content/browser/gpu/gpu_data_manager_impl.h" 10 #include "content/browser/gpu/gpu_data_manager_impl.h"
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 return point; 446 return point;
447 } 447 }
448 448
449 gfx::Point RenderWidgetHostViewBase::TransformPointToCoordSpaceForView( 449 gfx::Point RenderWidgetHostViewBase::TransformPointToCoordSpaceForView(
450 const gfx::Point& point, 450 const gfx::Point& point,
451 RenderWidgetHostViewBase* target_view) { 451 RenderWidgetHostViewBase* target_view) {
452 NOTREACHED(); 452 NOTREACHED();
453 return point; 453 return point;
454 } 454 }
455 455
456 bool RenderWidgetHostViewBase::IsRenderWidgetHostViewGuest() {
457 return false;
458 }
459
456 void RenderWidgetHostViewBase::TextInputStateChanged( 460 void RenderWidgetHostViewBase::TextInputStateChanged(
457 const TextInputState& text_input_state) { 461 const TextInputState& text_input_state) {
458 // TODO(ekaramad): Use TextInputManager code paths for IME on other platforms. 462 // TODO(ekaramad): Use TextInputManager code paths for IME on other platforms.
459 #if !defined(OS_ANDROID) 463 #if !defined(OS_ANDROID)
460 if (GetTextInputManager()) 464 if (GetTextInputManager())
461 GetTextInputManager()->UpdateTextInputState(this, text_input_state); 465 GetTextInputManager()->UpdateTextInputState(this, text_input_state);
462 #endif 466 #endif
463 } 467 }
464 468
465 void RenderWidgetHostViewBase::ImeCancelComposition() { 469 void RenderWidgetHostViewBase::ImeCancelComposition() {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 516
513 bool RenderWidgetHostViewBase::IsChildFrameForTesting() const { 517 bool RenderWidgetHostViewBase::IsChildFrameForTesting() const {
514 return false; 518 return false;
515 } 519 }
516 520
517 cc::SurfaceId RenderWidgetHostViewBase::SurfaceIdForTesting() const { 521 cc::SurfaceId RenderWidgetHostViewBase::SurfaceIdForTesting() const {
518 return cc::SurfaceId(); 522 return cc::SurfaceId();
519 } 523 }
520 524
521 } // namespace content 525 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698