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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 EditCommands editCommands_; | 110 EditCommands editCommands_; |
111 | 111 |
112 // The plugin that currently has focus (-1 if no plugin has focus). | 112 // The plugin that currently has focus (-1 if no plugin has focus). |
113 int focusedPluginIdentifier_; | 113 int focusedPluginIdentifier_; |
114 | 114 |
115 // Whether or not plugin IME is currently enabled active. | 115 // Whether or not plugin IME is currently enabled active. |
116 BOOL pluginImeActive_; | 116 BOOL pluginImeActive_; |
117 | 117 |
118 // Whether the previous mouse event was ignored due to hitTest check. | 118 // Whether the previous mouse event was ignored due to hitTest check. |
119 BOOL mouseEventWasIgnored_; | 119 BOOL mouseEventWasIgnored_; |
| 120 |
| 121 // Event monitor for gesture ended events. |
| 122 id endGestureMonitor_; |
120 } | 123 } |
121 | 124 |
122 @property(nonatomic, readonly) NSRange selectedRange; | 125 @property(nonatomic, readonly) NSRange selectedRange; |
123 | 126 |
124 - (void)setCanBeKeyView:(BOOL)can; | 127 - (void)setCanBeKeyView:(BOOL)can; |
125 - (void)setTakesFocusOnlyOnMouseDown:(BOOL)b; | 128 - (void)setTakesFocusOnlyOnMouseDown:(BOOL)b; |
126 - (void)setCloseOnDeactivate:(BOOL)b; | 129 - (void)setCloseOnDeactivate:(BOOL)b; |
127 - (void)setToolTipAtMousePoint:(NSString *)string; | 130 - (void)setToolTipAtMousePoint:(NSString *)string; |
128 // Set frame, then notify the RenderWidgetHost that the frame has been changed, | 131 // Set frame, then notify the RenderWidgetHost that the frame has been changed, |
129 // but do it in a separate task, using |performSelector:withObject:afterDelay:|. | 132 // but do it in a separate task, using |performSelector:withObject:afterDelay:|. |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 // hidden until the software backing store has been updated. This variable is | 391 // hidden until the software backing store has been updated. This variable is |
389 // set when the gpu widget needs to be hidden once a paint is completed. | 392 // set when the gpu widget needs to be hidden once a paint is completed. |
390 bool needs_gpu_visibility_update_after_repaint_; | 393 bool needs_gpu_visibility_update_after_repaint_; |
391 | 394 |
392 gfx::PluginWindowHandle compositing_surface_; | 395 gfx::PluginWindowHandle compositing_surface_; |
393 | 396 |
394 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 397 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
395 }; | 398 }; |
396 | 399 |
397 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 400 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
OLD | NEW |