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

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

Issue 8060045: Use shared D3D9 texture to transport the compositor's backing buffer to the browser... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 virtual void Destroy() OVERRIDE; 87 virtual void Destroy() OVERRIDE;
88 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} 88 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {}
89 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; 89 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE;
90 virtual void SelectionChanged(const string16& text, 90 virtual void SelectionChanged(const string16& text,
91 size_t offset, 91 size_t offset,
92 const ui::Range& range) OVERRIDE; 92 const ui::Range& range) OVERRIDE;
93 virtual void SelectionBoundsChanged(const gfx::Rect& start_rect, 93 virtual void SelectionBoundsChanged(const gfx::Rect& start_rect,
94 const gfx::Rect& end_rect) OVERRIDE; 94 const gfx::Rect& end_rect) OVERRIDE;
95 virtual void ShowingContextMenu(bool showing) OVERRIDE; 95 virtual void ShowingContextMenu(bool showing) OVERRIDE;
96 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; 96 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE;
97 virtual void AcceleratedSurfaceBuffersSwapped(
98 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params,
99 int gpu_host_id) OVERRIDE;
97 virtual void SetBackground(const SkBitmap& background) OVERRIDE; 100 virtual void SetBackground(const SkBitmap& background) OVERRIDE;
98 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE; 101 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE;
99 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE; 102 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE;
100 virtual void SetVisuallyDeemphasized(const SkColor* color, 103 virtual void SetVisuallyDeemphasized(const SkColor* color,
101 bool animate) OVERRIDE; 104 bool animate) OVERRIDE;
102 virtual void UnhandledWheelEvent( 105 virtual void UnhandledWheelEvent(
103 const WebKit::WebMouseWheelEvent& event) OVERRIDE; 106 const WebKit::WebMouseWheelEvent& event) OVERRIDE;
104 virtual void SetHasHorizontalScrollbar( 107 virtual void SetHasHorizontalScrollbar(
105 bool has_horizontal_scrollbar) OVERRIDE; 108 bool has_horizontal_scrollbar) OVERRIDE;
106 virtual void SetScrollOffsetPinning( 109 virtual void SetScrollOffsetPinning(
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 306
304 #if defined(OS_CHROMEOS) 307 #if defined(OS_CHROMEOS)
305 // Custimized tooltip window. 308 // Custimized tooltip window.
306 scoped_ptr<ui::TooltipWindowGtk> tooltip_window_; 309 scoped_ptr<ui::TooltipWindowGtk> tooltip_window_;
307 #endif // defined(OS_CHROMEOS) 310 #endif // defined(OS_CHROMEOS)
308 311
309 ui::GtkSignalRegistrar signals_; 312 ui::GtkSignalRegistrar signals_;
310 }; 313 };
311 314
312 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ 315 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698