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 CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 6 #define CHROME_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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 const gfx::Rect& caret_rect); | 75 const gfx::Rect& caret_rect); |
76 virtual void ImeCancelComposition(); | 76 virtual void ImeCancelComposition(); |
77 virtual void DidUpdateBackingStore( | 77 virtual void DidUpdateBackingStore( |
78 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, | 78 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, |
79 const std::vector<gfx::Rect>& copy_rects); | 79 const std::vector<gfx::Rect>& copy_rects); |
80 virtual void RenderViewGone(base::TerminationStatus status, | 80 virtual void RenderViewGone(base::TerminationStatus status, |
81 int error_code); | 81 int error_code); |
82 virtual void Destroy(); | 82 virtual void Destroy(); |
83 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} | 83 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} |
84 virtual void SetTooltipText(const std::wstring& tooltip_text); | 84 virtual void SetTooltipText(const std::wstring& tooltip_text); |
85 virtual void SelectionChanged(const std::string& text); | 85 virtual void SelectionChanged(const std::string& text, int start, int end); |
86 virtual void ShowingContextMenu(bool showing); | 86 virtual void ShowingContextMenu(bool showing); |
87 virtual BackingStore* AllocBackingStore(const gfx::Size& size); | 87 virtual BackingStore* AllocBackingStore(const gfx::Size& size); |
88 virtual void SetBackground(const SkBitmap& background); | 88 virtual void SetBackground(const SkBitmap& background); |
89 virtual void CreatePluginContainer(gfx::PluginWindowHandle id); | 89 virtual void CreatePluginContainer(gfx::PluginWindowHandle id); |
90 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id); | 90 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id); |
91 virtual void SetVisuallyDeemphasized(const SkColor* color, bool animate); | 91 virtual void SetVisuallyDeemphasized(const SkColor* color, bool animate); |
92 virtual bool ContainsNativeView(gfx::NativeView native_view) const; | 92 virtual bool ContainsNativeView(gfx::NativeView native_view) const; |
93 | 93 |
94 virtual void AcceleratedCompositingActivated(bool activated); | 94 virtual void AcceleratedCompositingActivated(bool activated); |
95 virtual gfx::PluginWindowHandle AcquireCompositingSurface(); | 95 virtual gfx::PluginWindowHandle AcquireCompositingSurface(); |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 | 229 |
230 bool accelerated_surface_acquired_; | 230 bool accelerated_surface_acquired_; |
231 | 231 |
232 #if defined(OS_CHROMEOS) | 232 #if defined(OS_CHROMEOS) |
233 // Custimized tooltip window. | 233 // Custimized tooltip window. |
234 scoped_ptr<views::TooltipWindowGtk> tooltip_window_; | 234 scoped_ptr<views::TooltipWindowGtk> tooltip_window_; |
235 #endif // defined(OS_CHROMEOS) | 235 #endif // defined(OS_CHROMEOS) |
236 }; | 236 }; |
237 | 237 |
238 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 238 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
OLD | NEW |