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_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ |
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 const ui::Range& range, | 84 const ui::Range& range, |
85 const gfx::Point& start, | 85 const gfx::Point& start, |
86 const gfx::Point& end) OVERRIDE; | 86 const gfx::Point& end) OVERRIDE; |
87 virtual void ShowingContextMenu(bool showing) OVERRIDE; | 87 virtual void ShowingContextMenu(bool showing) OVERRIDE; |
88 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 88 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
89 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 89 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
90 #if defined(OS_POSIX) | 90 #if defined(OS_POSIX) |
91 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; | 91 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; |
92 virtual gfx::Rect GetRootWindowBounds() OVERRIDE; | 92 virtual gfx::Rect GetRootWindowBounds() OVERRIDE; |
93 #endif | 93 #endif |
94 #if defined(TOOLKIT_USES_GTK) | 94 #if defined(TOOLKIT_USES_GTK) && !defined(USE_AURA) |
95 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE; | 95 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE; |
96 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE; | 96 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE; |
97 #endif | 97 #endif |
98 virtual void SetVisuallyDeemphasized(const SkColor* color, | 98 virtual void SetVisuallyDeemphasized(const SkColor* color, |
99 bool animate) OVERRIDE; | 99 bool animate) OVERRIDE; |
100 virtual void UnhandledWheelEvent( | 100 virtual void UnhandledWheelEvent( |
101 const WebKit::WebMouseWheelEvent& event) OVERRIDE; | 101 const WebKit::WebMouseWheelEvent& event) OVERRIDE; |
102 virtual void SetHasHorizontalScrollbar( | 102 virtual void SetHasHorizontalScrollbar( |
103 bool has_horizontal_scrollbar) OVERRIDE; | 103 bool has_horizontal_scrollbar) OVERRIDE; |
104 virtual void SetScrollOffsetPinning( | 104 virtual void SetScrollOffsetPinning( |
105 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | 105 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
106 #if defined(TOOLKIT_USES_GTK) | 106 #if defined(TOOLKIT_USES_GTK) && !defined(USE_AURA) |
107 virtual void AcceleratedCompositingActivated(bool activated) OVERRIDE; | 107 virtual void AcceleratedCompositingActivated(bool activated) OVERRIDE; |
108 #endif | 108 #endif |
109 #if defined(OS_WIN) | 109 #if defined(OS_WIN) |
110 virtual void WillWmDestroy() OVERRIDE; | 110 virtual void WillWmDestroy() OVERRIDE; |
111 virtual void ShowCompositorHostWindow(bool show) OVERRIDE; | 111 virtual void ShowCompositorHostWindow(bool show) OVERRIDE; |
112 #endif | 112 #endif |
113 virtual gfx::PluginWindowHandle GetCompositingSurface() OVERRIDE; | 113 virtual gfx::PluginWindowHandle GetCompositingSurface() OVERRIDE; |
114 | 114 |
115 // Overridden from views::TouchSelectionClientView. | 115 // Overridden from views::TouchSelectionClientView. |
116 virtual void SelectRect(const gfx::Point& start, | 116 virtual void SelectRect(const gfx::Point& start, |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 | 280 |
281 #if defined(TOUCH_UI) | 281 #if defined(TOUCH_UI) |
282 std::map<uint64, scoped_refptr<AcceleratedSurfaceContainerTouch> > | 282 std::map<uint64, scoped_refptr<AcceleratedSurfaceContainerTouch> > |
283 accelerated_surface_containers_; | 283 accelerated_surface_containers_; |
284 #endif | 284 #endif |
285 | 285 |
286 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewViews); | 286 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewViews); |
287 }; | 287 }; |
288 | 288 |
289 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ | 289 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ |
OLD | NEW |