OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 virtual bool IsShowing(); | 67 virtual bool IsShowing(); |
68 virtual gfx::Rect GetViewBounds() const; | 68 virtual gfx::Rect GetViewBounds() const; |
69 virtual void UpdateCursor(const WebCursor& cursor); | 69 virtual void UpdateCursor(const WebCursor& cursor); |
70 virtual void SetIsLoading(bool is_loading); | 70 virtual void SetIsLoading(bool is_loading); |
71 virtual void ImeUpdateTextInputState(WebKit::WebTextInputType type, | 71 virtual void ImeUpdateTextInputState(WebKit::WebTextInputType type, |
72 const gfx::Rect& caret_rect); | 72 const gfx::Rect& caret_rect); |
73 virtual void ImeCancelComposition(); | 73 virtual void ImeCancelComposition(); |
74 virtual void DidUpdateBackingStore( | 74 virtual void DidUpdateBackingStore( |
75 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, | 75 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, |
76 const std::vector<gfx::Rect>& copy_rects); | 76 const std::vector<gfx::Rect>& copy_rects); |
77 virtual void RenderViewGone(); | 77 virtual void RenderViewGone(base::TerminationStatus status, |
| 78 int error_code); |
78 virtual void Destroy(); | 79 virtual void Destroy(); |
79 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} | 80 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} |
80 virtual void SetTooltipText(const std::wstring& tooltip_text); | 81 virtual void SetTooltipText(const std::wstring& tooltip_text); |
81 virtual void SelectionChanged(const std::string& text); | 82 virtual void SelectionChanged(const std::string& text); |
82 virtual void ShowingContextMenu(bool showing); | 83 virtual void ShowingContextMenu(bool showing); |
83 virtual BackingStore* AllocBackingStore(const gfx::Size& size); | 84 virtual BackingStore* AllocBackingStore(const gfx::Size& size); |
84 virtual void SetBackground(const SkBitmap& background); | 85 virtual void SetBackground(const SkBitmap& background); |
85 virtual void CreatePluginContainer(gfx::PluginWindowHandle id); | 86 virtual void CreatePluginContainer(gfx::PluginWindowHandle id); |
86 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id); | 87 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id); |
87 virtual void SetVisuallyDeemphasized(bool deemphasized); | 88 virtual void SetVisuallyDeemphasized(bool deemphasized); |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 // indicate the top edge, positive the bottom. | 211 // indicate the top edge, positive the bottom. |
211 int dragged_at_vertical_edge_; | 212 int dragged_at_vertical_edge_; |
212 | 213 |
213 #if defined(OS_CHROMEOS) | 214 #if defined(OS_CHROMEOS) |
214 // Custimized tooltip window. | 215 // Custimized tooltip window. |
215 scoped_ptr<views::TooltipWindowGtk> tooltip_window_; | 216 scoped_ptr<views::TooltipWindowGtk> tooltip_window_; |
216 #endif // defined(OS_CHROMEOS) | 217 #endif // defined(OS_CHROMEOS) |
217 }; | 218 }; |
218 | 219 |
219 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 220 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
OLD | NEW |