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_gtk.h

Issue 9303009: Add IPC allowing GPU process to tell browser process to temporarily drop a front buffer. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 10 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_GTK_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gdk/gdk.h> 9 #include <gdk/gdk.h>
10 10
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 const gfx::Rect& end_rect) OVERRIDE; 91 const gfx::Rect& end_rect) OVERRIDE;
92 virtual void ShowingContextMenu(bool showing) OVERRIDE; 92 virtual void ShowingContextMenu(bool showing) OVERRIDE;
93 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; 93 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE;
94 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; 94 virtual void OnAcceleratedCompositingStateChange() OVERRIDE;
95 virtual void AcceleratedSurfaceBuffersSwapped( 95 virtual void AcceleratedSurfaceBuffersSwapped(
96 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, 96 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params,
97 int gpu_host_id) OVERRIDE; 97 int gpu_host_id) OVERRIDE;
98 virtual void AcceleratedSurfacePostSubBuffer( 98 virtual void AcceleratedSurfacePostSubBuffer(
99 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, 99 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params,
100 int gpu_host_id) OVERRIDE; 100 int gpu_host_id) OVERRIDE;
101 virtual void AcceleratedSurfaceSuspend() OVERRIDE;
101 virtual void SetBackground(const SkBitmap& background) OVERRIDE; 102 virtual void SetBackground(const SkBitmap& background) OVERRIDE;
102 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE; 103 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE;
103 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE; 104 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE;
104 virtual void UnhandledWheelEvent( 105 virtual void UnhandledWheelEvent(
105 const WebKit::WebMouseWheelEvent& event) OVERRIDE; 106 const WebKit::WebMouseWheelEvent& event) OVERRIDE;
106 virtual void ProcessTouchAck(bool processed) OVERRIDE; 107 virtual void ProcessTouchAck(bool processed) OVERRIDE;
107 virtual void SetHasHorizontalScrollbar( 108 virtual void SetHasHorizontalScrollbar(
108 bool has_horizontal_scrollbar) OVERRIDE; 109 bool has_horizontal_scrollbar) OVERRIDE;
109 virtual void SetScrollOffsetPinning( 110 virtual void SetScrollOffsetPinning(
110 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; 111 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE;
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 295
295 #if defined(OS_CHROMEOS) 296 #if defined(OS_CHROMEOS)
296 // Custimized tooltip window. 297 // Custimized tooltip window.
297 scoped_ptr<ui::TooltipWindowGtk> tooltip_window_; 298 scoped_ptr<ui::TooltipWindowGtk> tooltip_window_;
298 #endif // defined(OS_CHROMEOS) 299 #endif // defined(OS_CHROMEOS)
299 300
300 ui::GtkSignalRegistrar signals_; 301 ui::GtkSignalRegistrar signals_;
301 }; 302 };
302 303
303 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ 304 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698