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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 virtual void ImeCancelComposition() OVERRIDE; | 81 virtual void ImeCancelComposition() OVERRIDE; |
82 virtual void DidUpdateBackingStore( | 82 virtual void DidUpdateBackingStore( |
83 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, | 83 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, |
84 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; | 84 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; |
85 virtual void RenderViewGone(base::TerminationStatus status, | 85 virtual void RenderViewGone(base::TerminationStatus status, |
86 int error_code) OVERRIDE; | 86 int error_code) OVERRIDE; |
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 std::wstring& tooltip_text) OVERRIDE; | 89 virtual void SetTooltipText(const std::wstring& tooltip_text) OVERRIDE; |
90 virtual void SelectionChanged(const std::string& text, | 90 virtual void SelectionChanged(const std::string& text, |
91 const ui::Range& range) OVERRIDE; | 91 const ui::Range& range, |
| 92 const gfx::Point& start, |
| 93 const gfx::Point& end) OVERRIDE; |
92 virtual void ShowingContextMenu(bool showing) OVERRIDE; | 94 virtual void ShowingContextMenu(bool showing) OVERRIDE; |
93 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 95 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
94 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 96 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
95 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE; | 97 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE; |
96 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE; | 98 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE; |
97 virtual void SetVisuallyDeemphasized(const SkColor* color, | 99 virtual void SetVisuallyDeemphasized(const SkColor* color, |
98 bool animate) OVERRIDE; | 100 bool animate) OVERRIDE; |
99 virtual void AcceleratedCompositingActivated(bool activated) OVERRIDE; | 101 virtual void AcceleratedCompositingActivated(bool activated) OVERRIDE; |
100 virtual gfx::PluginWindowHandle GetCompositingSurface() OVERRIDE; | 102 virtual gfx::PluginWindowHandle GetCompositingSurface() OVERRIDE; |
101 | 103 |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 // menus and drags. | 262 // menus and drags. |
261 GdkEventButton* last_mouse_down_; | 263 GdkEventButton* last_mouse_down_; |
262 | 264 |
263 #if defined(OS_CHROMEOS) | 265 #if defined(OS_CHROMEOS) |
264 // Custimized tooltip window. | 266 // Custimized tooltip window. |
265 scoped_ptr<views::TooltipWindowGtk> tooltip_window_; | 267 scoped_ptr<views::TooltipWindowGtk> tooltip_window_; |
266 #endif // defined(OS_CHROMEOS) | 268 #endif // defined(OS_CHROMEOS) |
267 }; | 269 }; |
268 | 270 |
269 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 271 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
OLD | NEW |