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

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

Issue 325933003: Scroll offset pinning and content size notifications were only used for the Mac overlay navigation … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | Annotate | Revision Log
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 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 // returned only if the accelerated surface size matches. 309 // returned only if the accelerated surface size matches.
310 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) = 0; 310 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) = 0;
311 311
312 virtual void GetScreenInfo(blink::WebScreenInfo* results) = 0; 312 virtual void GetScreenInfo(blink::WebScreenInfo* results) = 0;
313 313
314 // Gets the bounds of the window, in screen coordinates. 314 // Gets the bounds of the window, in screen coordinates.
315 virtual gfx::Rect GetBoundsInRootWindow() = 0; 315 virtual gfx::Rect GetBoundsInRootWindow() = 0;
316 316
317 virtual gfx::GLSurfaceHandle GetCompositingSurface() = 0; 317 virtual gfx::GLSurfaceHandle GetCompositingSurface() = 0;
318 318
319 virtual void SetScrollOffsetPinning(
320 bool is_pinned_to_left, bool is_pinned_to_right) = 0;
321
322 #if defined(OS_ANDROID) 319 #if defined(OS_ANDROID)
323 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, 320 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect,
324 const SkBitmap& zoomed_bitmap) = 0; 321 const SkBitmap& zoomed_bitmap) = 0;
325 322
326 // Instructs the view to not drop the surface even when the view is hidden. 323 // Instructs the view to not drop the surface even when the view is hidden.
327 virtual void LockCompositingSurface() = 0; 324 virtual void LockCompositingSurface() = 0;
328 virtual void UnlockCompositingSurface() = 0; 325 virtual void UnlockCompositingSurface() = 0;
329 #endif 326 #endif
330 327
331 #if defined(OS_MACOSX) 328 #if defined(OS_MACOSX)
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 uint32 renderer_frame_number_; 422 uint32 renderer_frame_number_;
426 423
427 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; 424 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_;
428 425
429 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 426 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
430 }; 427 };
431 428
432 } // namespace content 429 } // namespace content
433 430
434 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 431 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698