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 CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #if defined(__OBJC__) | 9 #if defined(__OBJC__) |
10 | 10 |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 bool is_showing_context_menu() const { return is_showing_context_menu_; } | 271 bool is_showing_context_menu() const { return is_showing_context_menu_; } |
272 | 272 |
273 void DrawAcceleratedSurfaceInstance( | 273 void DrawAcceleratedSurfaceInstance( |
274 CGLContextObj context, | 274 CGLContextObj context, |
275 gfx::PluginWindowHandle plugin_handle, | 275 gfx::PluginWindowHandle plugin_handle, |
276 NSSize size); | 276 NSSize size); |
277 // Forces the textures associated with any accelerated plugin instances | 277 // Forces the textures associated with any accelerated plugin instances |
278 // to be reloaded. | 278 // to be reloaded. |
279 void ForceTextureReload(); | 279 void ForceTextureReload(); |
280 | 280 |
281 virtual void SetVisuallyDeemphasized(const SkColor* color, bool animate); | 281 virtual void SetVisuallyDeemphasized(const SkColor* color, |
| 282 bool animate) OVERRIDE; |
282 | 283 |
283 virtual void UnhandledWheelEvent( | 284 virtual void UnhandledWheelEvent( |
284 const WebKit::WebMouseWheelEvent& event) OVERRIDE; | 285 const WebKit::WebMouseWheelEvent& event) OVERRIDE; |
285 virtual void SetHasHorizontalScrollbar( | 286 virtual void SetHasHorizontalScrollbar( |
286 bool has_horizontal_scrollbar) OVERRIDE; | 287 bool has_horizontal_scrollbar) OVERRIDE; |
287 virtual void SetScrollOffsetPinning( | 288 virtual void SetScrollOffsetPinning( |
288 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | 289 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
289 | 290 |
290 virtual bool LockMouse() OVERRIDE; | 291 virtual bool LockMouse() OVERRIDE; |
291 virtual void UnlockMouse() OVERRIDE; | 292 virtual void UnlockMouse() OVERRIDE; |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
416 | 417 |
417 class RenderWidgetHostView; | 418 class RenderWidgetHostView; |
418 class RenderWidgetHost; | 419 class RenderWidgetHost; |
419 | 420 |
420 namespace render_widget_host_view_mac { | 421 namespace render_widget_host_view_mac { |
421 CONTENT_EXPORT RenderWidgetHostView* CreateRenderWidgetHostView( | 422 CONTENT_EXPORT RenderWidgetHostView* CreateRenderWidgetHostView( |
422 RenderWidgetHost* widget); | 423 RenderWidgetHost* widget); |
423 } | 424 } |
424 | 425 |
425 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 426 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
OLD | NEW |