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

Side by Side Diff: content/browser/frame_host/render_widget_host_view_child_frame.cc

Issue 306803002: Revert of Chromium plumbing to use the selection root bounds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/frame_host/render_widget_host_view_child_frame.h" 5 #include "content/browser/frame_host/render_widget_host_view_child_frame.h"
6 6
7 #include "content/browser/frame_host/cross_process_frame_connector.h" 7 #include "content/browser/frame_host/cross_process_frame_connector.h"
8 #include "content/browser/renderer_host/render_widget_host_impl.h" 8 #include "content/browser/renderer_host/render_widget_host_impl.h"
9 #include "content/common/gpu/gpu_messages.h" 9 #include "content/common/gpu/gpu_messages.h"
10 #include "content/common/view_messages.h" 10 #include "content/common/view_messages.h"
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 void RenderWidgetHostViewChildFrame::SelectionBoundsChanged( 184 void RenderWidgetHostViewChildFrame::SelectionBoundsChanged(
185 const ViewHostMsg_SelectionBounds_Params& params) { 185 const ViewHostMsg_SelectionBounds_Params& params) {
186 } 186 }
187 187
188 #if defined(OS_ANDROID) 188 #if defined(OS_ANDROID)
189 void RenderWidgetHostViewChildFrame::ShowDisambiguationPopup( 189 void RenderWidgetHostViewChildFrame::ShowDisambiguationPopup(
190 const gfx::Rect& target_rect, 190 const gfx::Rect& target_rect,
191 const SkBitmap& zoomed_bitmap) { 191 const SkBitmap& zoomed_bitmap) {
192 } 192 }
193 193
194 void RenderWidgetHostViewChildFrame::SelectionRootBoundsChanged(
195 const gfx::Rect& bounds) {
196 }
197
198 void RenderWidgetHostViewChildFrame::LockCompositingSurface() { 194 void RenderWidgetHostViewChildFrame::LockCompositingSurface() {
199 } 195 }
200 196
201 void RenderWidgetHostViewChildFrame::UnlockCompositingSurface() { 197 void RenderWidgetHostViewChildFrame::UnlockCompositingSurface() {
202 } 198 }
203 #endif 199 #endif
204 200
205 void RenderWidgetHostViewChildFrame::ScrollOffsetChanged() { 201 void RenderWidgetHostViewChildFrame::ScrollOffsetChanged() {
206 } 202 }
207 203
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 const { 337 const {
342 return NULL; 338 return NULL;
343 } 339 }
344 #endif // defined(OS_WIN) 340 #endif // defined(OS_WIN)
345 341
346 SkBitmap::Config RenderWidgetHostViewChildFrame::PreferredReadbackFormat() { 342 SkBitmap::Config RenderWidgetHostViewChildFrame::PreferredReadbackFormat() {
347 return SkBitmap::kARGB_8888_Config; 343 return SkBitmap::kARGB_8888_Config;
348 } 344 }
349 345
350 } // namespace content 346 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698