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

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

Issue 248383002: Revert of mac: History swiping doesn't work right with iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 return base::string16(); 446 return base::string16();
447 return selection_text_.substr( 447 return selection_text_.substr(
448 selection_range_.GetMin() - selection_text_offset_, 448 selection_range_.GetMin() - selection_text_offset_,
449 selection_range_.length()); 449 selection_range_.length());
450 } 450 }
451 451
452 bool RenderWidgetHostViewBase::IsMouseLocked() { 452 bool RenderWidgetHostViewBase::IsMouseLocked() {
453 return mouse_locked_; 453 return mouse_locked_;
454 } 454 }
455 455
456 void RenderWidgetHostViewBase::HandledWheelEvent( 456 void RenderWidgetHostViewBase::UnhandledWheelEvent(
457 const blink::WebMouseWheelEvent& event, 457 const blink::WebMouseWheelEvent& event) {
458 bool consumed) {
459 // Most implementations don't need to do anything here. 458 // Most implementations don't need to do anything here.
460 } 459 }
461 460
462 InputEventAckState RenderWidgetHostViewBase::FilterInputEvent( 461 InputEventAckState RenderWidgetHostViewBase::FilterInputEvent(
463 const blink::WebInputEvent& input_event) { 462 const blink::WebInputEvent& input_event) {
464 // By default, input events are simply forwarded to the renderer. 463 // By default, input events are simply forwarded to the renderer.
465 return INPUT_EVENT_ACK_STATE_NOT_CONSUMED; 464 return INPUT_EVENT_ACK_STATE_NOT_CONSUMED;
466 } 465 }
467 466
468 void RenderWidgetHostViewBase::OnDidFlushInput() { 467 void RenderWidgetHostViewBase::OnDidFlushInput() {
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
609 if (!impl) 608 if (!impl)
610 return; 609 return;
611 impl->FlushInput(); 610 impl->FlushInput();
612 } 611 }
613 612
614 SkBitmap::Config RenderWidgetHostViewBase::PreferredReadbackFormat() { 613 SkBitmap::Config RenderWidgetHostViewBase::PreferredReadbackFormat() {
615 return SkBitmap::kARGB_8888_Config; 614 return SkBitmap::kARGB_8888_Config;
616 } 615 }
617 616
618 } // namespace content 617 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698