| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 const ui::Range& range, | 91 const ui::Range& range, |
| 92 const gfx::Point& start, | 92 const gfx::Point& start, |
| 93 const gfx::Point& end) OVERRIDE; | 93 const gfx::Point& end) OVERRIDE; |
| 94 virtual void ShowingContextMenu(bool showing) OVERRIDE; | 94 virtual void ShowingContextMenu(bool showing) OVERRIDE; |
| 95 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 95 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
| 96 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 96 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
| 97 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE; | 97 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE; |
| 98 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE; | 98 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE; |
| 99 virtual void SetVisuallyDeemphasized(const SkColor* color, | 99 virtual void SetVisuallyDeemphasized(const SkColor* color, |
| 100 bool animate) OVERRIDE; | 100 bool animate) OVERRIDE; |
| 101 virtual void UnhandledWheelEvent( |
| 102 const WebKit::WebMouseWheelEvent& event) OVERRIDE; |
| 103 virtual void SetHasHorizontalScrollbar( |
| 104 bool has_horizontal_scrollbar) OVERRIDE; |
| 105 virtual void SetScrollOffsetPinning( |
| 106 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
| 101 virtual void AcceleratedCompositingActivated(bool activated) OVERRIDE; | 107 virtual void AcceleratedCompositingActivated(bool activated) OVERRIDE; |
| 102 virtual gfx::PluginWindowHandle GetCompositingSurface() OVERRIDE; | 108 virtual gfx::PluginWindowHandle GetCompositingSurface() OVERRIDE; |
| 103 | 109 |
| 104 // ui::AnimationDelegate implementation. | 110 // ui::AnimationDelegate implementation. |
| 105 virtual void AnimationEnded(const ui::Animation* animation) OVERRIDE; | 111 virtual void AnimationEnded(const ui::Animation* animation) OVERRIDE; |
| 106 virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE; | 112 virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE; |
| 107 virtual void AnimationCanceled(const ui::Animation* animation) OVERRIDE; | 113 virtual void AnimationCanceled(const ui::Animation* animation) OVERRIDE; |
| 108 | 114 |
| 109 gfx::NativeView native_view() const { return view_.get(); } | 115 gfx::NativeView native_view() const { return view_.get(); } |
| 110 | 116 |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 // menus and drags. | 268 // menus and drags. |
| 263 GdkEventButton* last_mouse_down_; | 269 GdkEventButton* last_mouse_down_; |
| 264 | 270 |
| 265 #if defined(OS_CHROMEOS) | 271 #if defined(OS_CHROMEOS) |
| 266 // Custimized tooltip window. | 272 // Custimized tooltip window. |
| 267 scoped_ptr<views::TooltipWindowGtk> tooltip_window_; | 273 scoped_ptr<views::TooltipWindowGtk> tooltip_window_; |
| 268 #endif // defined(OS_CHROMEOS) | 274 #endif // defined(OS_CHROMEOS) |
| 269 }; | 275 }; |
| 270 | 276 |
| 271 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 277 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
| OLD | NEW |