OLD | NEW |
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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 OnAcceleratedCompositingStateChange() OVERRIDE; | 97 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; |
98 virtual void AcceleratedSurfaceBuffersSwapped( | |
99 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | |
100 int gpu_host_id) OVERRIDE; | |
101 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 98 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
102 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE; | 99 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE; |
103 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE; | 100 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE; |
104 virtual void SetVisuallyDeemphasized(const SkColor* color, | 101 virtual void SetVisuallyDeemphasized(const SkColor* color, |
105 bool animate) OVERRIDE; | 102 bool animate) OVERRIDE; |
106 virtual void UnhandledWheelEvent( | 103 virtual void UnhandledWheelEvent( |
107 const WebKit::WebMouseWheelEvent& event) OVERRIDE; | 104 const WebKit::WebMouseWheelEvent& event) OVERRIDE; |
108 virtual void SetHasHorizontalScrollbar( | 105 virtual void SetHasHorizontalScrollbar( |
109 bool has_horizontal_scrollbar) OVERRIDE; | 106 bool has_horizontal_scrollbar) OVERRIDE; |
110 virtual void SetScrollOffsetPinning( | 107 virtual void SetScrollOffsetPinning( |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 | 303 |
307 #if defined(OS_CHROMEOS) | 304 #if defined(OS_CHROMEOS) |
308 // Custimized tooltip window. | 305 // Custimized tooltip window. |
309 scoped_ptr<ui::TooltipWindowGtk> tooltip_window_; | 306 scoped_ptr<ui::TooltipWindowGtk> tooltip_window_; |
310 #endif // defined(OS_CHROMEOS) | 307 #endif // defined(OS_CHROMEOS) |
311 | 308 |
312 ui::GtkSignalRegistrar signals_; | 309 ui::GtkSignalRegistrar signals_; |
313 }; | 310 }; |
314 | 311 |
315 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 312 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
OLD | NEW |