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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 const gfx::Rect& caret_rect); | 77 const gfx::Rect& caret_rect); |
78 virtual void ImeCancelComposition(); | 78 virtual void ImeCancelComposition(); |
79 virtual void DidUpdateBackingStore( | 79 virtual void DidUpdateBackingStore( |
80 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, | 80 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, |
81 const std::vector<gfx::Rect>& copy_rects); | 81 const std::vector<gfx::Rect>& copy_rects); |
82 virtual void RenderViewGone(base::TerminationStatus status, | 82 virtual void RenderViewGone(base::TerminationStatus status, |
83 int error_code); | 83 int error_code); |
84 virtual void Destroy(); | 84 virtual void Destroy(); |
85 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} | 85 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} |
86 virtual void SetTooltipText(const std::wstring& tooltip_text); | 86 virtual void SetTooltipText(const std::wstring& tooltip_text); |
87 virtual void SelectionChanged(const std::string& text); | 87 virtual void SelectionChanged(const std::string& text, |
| 88 const ui::Range& range); |
88 virtual void ShowingContextMenu(bool showing); | 89 virtual void ShowingContextMenu(bool showing); |
89 virtual BackingStore* AllocBackingStore(const gfx::Size& size); | 90 virtual BackingStore* AllocBackingStore(const gfx::Size& size); |
90 virtual void SetBackground(const SkBitmap& background); | 91 virtual void SetBackground(const SkBitmap& background); |
91 virtual void CreatePluginContainer(gfx::PluginWindowHandle id); | 92 virtual void CreatePluginContainer(gfx::PluginWindowHandle id); |
92 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id); | 93 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id); |
93 virtual void SetVisuallyDeemphasized(const SkColor* color, bool animate); | 94 virtual void SetVisuallyDeemphasized(const SkColor* color, bool animate); |
94 virtual bool ContainsNativeView(gfx::NativeView native_view) const; | 95 virtual bool ContainsNativeView(gfx::NativeView native_view) const; |
95 | 96 |
96 virtual void AcceleratedCompositingActivated(bool activated); | 97 virtual void AcceleratedCompositingActivated(bool activated); |
97 virtual gfx::PluginWindowHandle GetCompositingSurface(); | 98 virtual gfx::PluginWindowHandle GetCompositingSurface(); |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 // menus and drags. | 254 // menus and drags. |
254 GdkEventButton* last_mouse_down_; | 255 GdkEventButton* last_mouse_down_; |
255 | 256 |
256 #if defined(OS_CHROMEOS) | 257 #if defined(OS_CHROMEOS) |
257 // Custimized tooltip window. | 258 // Custimized tooltip window. |
258 scoped_ptr<views::TooltipWindowGtk> tooltip_window_; | 259 scoped_ptr<views::TooltipWindowGtk> tooltip_window_; |
259 #endif // defined(OS_CHROMEOS) | 260 #endif // defined(OS_CHROMEOS) |
260 }; | 261 }; |
261 | 262 |
262 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 263 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
OLD | NEW |