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

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

Issue 2157793002: Remove ContentViewCore::RequestTextSurroundingSelection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the review comments. Created 4 years, 5 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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 285
286 void RenderWidgetHostViewBase::FlushInput() { 286 void RenderWidgetHostViewBase::FlushInput() {
287 RenderWidgetHostImpl* impl = NULL; 287 RenderWidgetHostImpl* impl = NULL;
288 if (GetRenderWidgetHost()) 288 if (GetRenderWidgetHost())
289 impl = RenderWidgetHostImpl::From(GetRenderWidgetHost()); 289 impl = RenderWidgetHostImpl::From(GetRenderWidgetHost());
290 if (!impl) 290 if (!impl)
291 return; 291 return;
292 impl->FlushInput(); 292 impl->FlushInput();
293 } 293 }
294 294
295 void RenderWidgetHostViewBase::OnTextSurroundingSelectionResponse(
296 const base::string16& content,
297 size_t start_offset,
298 size_t end_offset) {
299 NOTIMPLEMENTED();
300 }
301
302 void RenderWidgetHostViewBase::ShowDisambiguationPopup( 295 void RenderWidgetHostViewBase::ShowDisambiguationPopup(
303 const gfx::Rect& rect_pixels, 296 const gfx::Rect& rect_pixels,
304 const SkBitmap& zoomed_bitmap) { 297 const SkBitmap& zoomed_bitmap) {
305 NOTIMPLEMENTED(); 298 NOTIMPLEMENTED();
306 } 299 }
307 300
308 gfx::Size RenderWidgetHostViewBase::GetVisibleViewportSize() const { 301 gfx::Size RenderWidgetHostViewBase::GetVisibleViewportSize() const {
309 return GetViewBounds().size(); 302 return GetViewBounds().size();
310 } 303 }
311 304
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 459
467 bool RenderWidgetHostViewBase::IsChildFrameForTesting() const { 460 bool RenderWidgetHostViewBase::IsChildFrameForTesting() const {
468 return false; 461 return false;
469 } 462 }
470 463
471 cc::SurfaceId RenderWidgetHostViewBase::SurfaceIdForTesting() const { 464 cc::SurfaceId RenderWidgetHostViewBase::SurfaceIdForTesting() const {
472 return cc::SurfaceId(); 465 return cc::SurfaceId();
473 } 466 }
474 467
475 } // namespace content 468 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_base.h ('k') | content/public/browser/android/content_view_core.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698