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

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

Issue 300863002: mac: History swiping doesn't work right with iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unit tests. Created 6 years, 6 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 "content/browser/accessibility/browser_accessibility_manager.h" 8 #include "content/browser/accessibility/browser_accessibility_manager.h"
9 #include "content/browser/gpu/gpu_data_manager_impl.h" 9 #include "content/browser/gpu/gpu_data_manager_impl.h"
10 #include "content/browser/renderer_host/input/synthetic_gesture_target_base.h" 10 #include "content/browser/renderer_host/input/synthetic_gesture_target_base.h"
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 return base::string16(); 438 return base::string16();
439 return selection_text_.substr( 439 return selection_text_.substr(
440 selection_range_.GetMin() - selection_text_offset_, 440 selection_range_.GetMin() - selection_text_offset_,
441 selection_range_.length()); 441 selection_range_.length());
442 } 442 }
443 443
444 bool RenderWidgetHostViewBase::IsMouseLocked() { 444 bool RenderWidgetHostViewBase::IsMouseLocked() {
445 return mouse_locked_; 445 return mouse_locked_;
446 } 446 }
447 447
448 void RenderWidgetHostViewBase::UnhandledWheelEvent( 448 void RenderWidgetHostViewBase::ProcessedWheelEvent(
449 const blink::WebMouseWheelEvent& event) { 449 const blink::WebMouseWheelEvent& event,
450 bool consumed) {
450 // Most implementations don't need to do anything here. 451 // Most implementations don't need to do anything here.
451 } 452 }
452 453
453 InputEventAckState RenderWidgetHostViewBase::FilterInputEvent( 454 InputEventAckState RenderWidgetHostViewBase::FilterInputEvent(
454 const blink::WebInputEvent& input_event) { 455 const blink::WebInputEvent& input_event) {
455 // By default, input events are simply forwarded to the renderer. 456 // By default, input events are simply forwarded to the renderer.
456 return INPUT_EVENT_ACK_STATE_NOT_CONSUMED; 457 return INPUT_EVENT_ACK_STATE_NOT_CONSUMED;
457 } 458 }
458 459
459 void RenderWidgetHostViewBase::OnDidFlushInput() { 460 void RenderWidgetHostViewBase::OnDidFlushInput() {
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 603
603 gfx::Size RenderWidgetHostViewBase::GetVisibleViewportSize() const { 604 gfx::Size RenderWidgetHostViewBase::GetVisibleViewportSize() const {
604 return GetViewBounds().size(); 605 return GetViewBounds().size();
605 } 606 }
606 607
607 void RenderWidgetHostViewBase::SetInsets(const gfx::Insets& insets) { 608 void RenderWidgetHostViewBase::SetInsets(const gfx::Insets& insets) {
608 NOTIMPLEMENTED(); 609 NOTIMPLEMENTED();
609 } 610 }
610 611
611 } // namespace content 612 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698