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

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

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 (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 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
7 7
8 #if defined(OS_MACOSX) 8 #if defined(OS_MACOSX)
9 #include <OpenGL/OpenGL.h> 9 #include <OpenGL/OpenGL.h>
10 #endif 10 #endif
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 317
318 virtual gfx::GLSurfaceHandle GetCompositingSurface() = 0; 318 virtual gfx::GLSurfaceHandle GetCompositingSurface() = 0;
319 319
320 virtual void SetScrollOffsetPinning( 320 virtual void SetScrollOffsetPinning(
321 bool is_pinned_to_left, bool is_pinned_to_right) = 0; 321 bool is_pinned_to_left, bool is_pinned_to_right) = 0;
322 322
323 #if defined(OS_ANDROID) 323 #if defined(OS_ANDROID)
324 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, 324 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect,
325 const SkBitmap& zoomed_bitmap) = 0; 325 const SkBitmap& zoomed_bitmap) = 0;
326 326
327 // Notifies the View that the renderer selection root bounds has changed.
328 virtual void SelectionRootBoundsChanged(const gfx::Rect& bounds) = 0;
329
330 // Instructs the view to not drop the surface even when the view is hidden. 327 // Instructs the view to not drop the surface even when the view is hidden.
331 virtual void LockCompositingSurface() = 0; 328 virtual void LockCompositingSurface() = 0;
332 virtual void UnlockCompositingSurface() = 0; 329 virtual void UnlockCompositingSurface() = 0;
333 #endif 330 #endif
334 331
335 #if defined(OS_MACOSX) 332 #if defined(OS_MACOSX)
336 // Does any event handling necessary for plugin IME; should be called after 333 // Does any event handling necessary for plugin IME; should be called after
337 // the plugin has already had a chance to process the event. If plugin IME is 334 // the plugin has already had a chance to process the event. If plugin IME is
338 // not enabled, this is a no-op, so it is always safe to call. 335 // not enabled, this is a no-op, so it is always safe to call.
339 // Returns true if the event was handled by IME. 336 // Returns true if the event was handled by IME.
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 uint32 renderer_frame_number_; 426 uint32 renderer_frame_number_;
430 427
431 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; 428 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_;
432 429
433 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 430 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
434 }; 431 };
435 432
436 } // namespace content 433 } // namespace content
437 434
438 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 435 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_android.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698