| 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_MAC_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #import <Cocoa/Cocoa.h> | 9 #import <Cocoa/Cocoa.h> |
| 10 | 10 |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 | 306 |
| 307 virtual void SetVisuallyDeemphasized(const SkColor* color, bool animate); | 307 virtual void SetVisuallyDeemphasized(const SkColor* color, bool animate); |
| 308 | 308 |
| 309 virtual void UnhandledWheelEvent( | 309 virtual void UnhandledWheelEvent( |
| 310 const WebKit::WebMouseWheelEvent& event) OVERRIDE; | 310 const WebKit::WebMouseWheelEvent& event) OVERRIDE; |
| 311 virtual void SetHasHorizontalScrollbar( | 311 virtual void SetHasHorizontalScrollbar( |
| 312 bool has_horizontal_scrollbar) OVERRIDE; | 312 bool has_horizontal_scrollbar) OVERRIDE; |
| 313 virtual void SetScrollOffsetPinning( | 313 virtual void SetScrollOffsetPinning( |
| 314 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | 314 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
| 315 | 315 |
| 316 virtual bool LockMouse() OVERRIDE; |
| 317 virtual void UnlockMouse() OVERRIDE; |
| 318 |
| 316 void KillSelf(); | 319 void KillSelf(); |
| 317 | 320 |
| 318 void SetTextInputActive(bool active); | 321 void SetTextInputActive(bool active); |
| 319 | 322 |
| 320 // Sends completed plugin IME notification and text back to the renderer. | 323 // Sends completed plugin IME notification and text back to the renderer. |
| 321 void PluginImeCompositionCompleted(const string16& text, int plugin_id); | 324 void PluginImeCompositionCompleted(const string16& text, int plugin_id); |
| 322 | 325 |
| 323 const std::string& selected_text() const { return selected_text_; } | 326 const std::string& selected_text() const { return selected_text_; } |
| 324 | 327 |
| 325 void UpdateRootGpuViewVisibility(bool show_gpu_widget); | 328 void UpdateRootGpuViewVisibility(bool show_gpu_widget); |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 // hidden until the software backing store has been updated. This variable is | 427 // hidden until the software backing store has been updated. This variable is |
| 425 // set when the gpu widget needs to be hidden once a paint is completed. | 428 // set when the gpu widget needs to be hidden once a paint is completed. |
| 426 bool needs_gpu_visibility_update_after_repaint_; | 429 bool needs_gpu_visibility_update_after_repaint_; |
| 427 | 430 |
| 428 gfx::PluginWindowHandle compositing_surface_; | 431 gfx::PluginWindowHandle compositing_surface_; |
| 429 | 432 |
| 430 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 433 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
| 431 }; | 434 }; |
| 432 | 435 |
| 433 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 436 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| OLD | NEW |