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

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

Issue 610893003: Remove #ifdefs around ShowLinkDisambiguationPopup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: callback_forward 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 (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 587 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 impl = RenderWidgetHostImpl::From(GetRenderWidgetHost()); 598 impl = RenderWidgetHostImpl::From(GetRenderWidgetHost());
599 if (!impl) 599 if (!impl)
600 return; 600 return;
601 impl->FlushInput(); 601 impl->FlushInput();
602 } 602 }
603 603
604 SkColorType RenderWidgetHostViewBase::PreferredReadbackFormat() { 604 SkColorType RenderWidgetHostViewBase::PreferredReadbackFormat() {
605 return kN32_SkColorType; 605 return kN32_SkColorType;
606 } 606 }
607 607
608 void RenderWidgetHostViewBase::OnTextSurroundingSelectionResponse(
609 const base::string16& content,
610 size_t start_offset,
611 size_t end_offset) {
612 NOTIMPLEMENTED();
613 }
614
615 void RenderWidgetHostViewBase::ShowDisambiguationPopup(
616 const gfx::Rect& rect_pixels,
617 const SkBitmap& zoomed_bitmap) {
618 NOTIMPLEMENTED();
619 }
620
608 gfx::Size RenderWidgetHostViewBase::GetVisibleViewportSize() const { 621 gfx::Size RenderWidgetHostViewBase::GetVisibleViewportSize() const {
609 return GetViewBounds().size(); 622 return GetViewBounds().size();
610 } 623 }
611 624
612 void RenderWidgetHostViewBase::SetInsets(const gfx::Insets& insets) { 625 void RenderWidgetHostViewBase::SetInsets(const gfx::Insets& insets) {
613 NOTIMPLEMENTED(); 626 NOTIMPLEMENTED();
614 } 627 }
615 628
616 // static 629 // static
617 blink::WebScreenOrientationType 630 blink::WebScreenOrientationType
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 ? blink::WebScreenOrientationPortraitPrimary 681 ? blink::WebScreenOrientationPortraitPrimary
669 : blink::WebScreenOrientationPortraitSecondary; 682 : blink::WebScreenOrientationPortraitSecondary;
670 } 683 }
671 684
672 return primary_landscape_angle == angle 685 return primary_landscape_angle == angle
673 ? blink::WebScreenOrientationLandscapePrimary 686 ? blink::WebScreenOrientationLandscapePrimary
674 : blink::WebScreenOrientationLandscapeSecondary; 687 : blink::WebScreenOrientationLandscapeSecondary;
675 } 688 }
676 689
677 } // namespace content 690 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698