| 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 virtual void AcceleratedCompositingActivated(bool activated); | 93 virtual void AcceleratedCompositingActivated(bool activated); |
| 94 | 94 |
| 95 // ui::AnimationDelegate implementation. | 95 // ui::AnimationDelegate implementation. |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 // indicate the top edge, positive the bottom. | 224 // indicate the top edge, positive the bottom. |
| 225 int dragged_at_vertical_edge_; | 225 int dragged_at_vertical_edge_; |
| 226 | 226 |
| 227 #if defined(OS_CHROMEOS) | 227 #if defined(OS_CHROMEOS) |
| 228 // Custimized tooltip window. | 228 // Custimized tooltip window. |
| 229 scoped_ptr<views::TooltipWindowGtk> tooltip_window_; | 229 scoped_ptr<views::TooltipWindowGtk> tooltip_window_; |
| 230 #endif // defined(OS_CHROMEOS) | 230 #endif // defined(OS_CHROMEOS) |
| 231 }; | 231 }; |
| 232 | 232 |
| 233 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 233 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
| OLD | NEW |