OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 #include <IOSurface/IOSurface.h> | 9 #include <IOSurface/IOSurface.h> |
10 #include <stddef.h> | 10 #include <stddef.h> |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 @property(nonatomic, readonly) BOOL suppressNextEscapeKeyUp; | 188 @property(nonatomic, readonly) BOOL suppressNextEscapeKeyUp; |
189 | 189 |
190 - (void)setCanBeKeyView:(BOOL)can; | 190 - (void)setCanBeKeyView:(BOOL)can; |
191 - (void)setCloseOnDeactivate:(BOOL)b; | 191 - (void)setCloseOnDeactivate:(BOOL)b; |
192 - (void)setOpaque:(BOOL)opaque; | 192 - (void)setOpaque:(BOOL)opaque; |
193 // True for always-on-top special windows (e.g. Balloons and Panels). | 193 // True for always-on-top special windows (e.g. Balloons and Panels). |
194 - (BOOL)acceptsMouseEventsWhenInactive; | 194 - (BOOL)acceptsMouseEventsWhenInactive; |
195 // Cancel ongoing composition (abandon the marked text). | 195 // Cancel ongoing composition (abandon the marked text). |
196 - (void)cancelComposition; | 196 - (void)cancelComposition; |
197 // Confirm ongoing composition. | 197 // Confirm ongoing composition. |
198 - (void)confirmComposition; | 198 - (void)finishComposingText; |
199 - (void)updateCursor:(NSCursor*)cursor; | 199 - (void)updateCursor:(NSCursor*)cursor; |
200 - (NSRect)firstViewRectForCharacterRange:(NSRange)theRange | 200 - (NSRect)firstViewRectForCharacterRange:(NSRange)theRange |
201 actualRange:(NSRangePointer)actualRange; | 201 actualRange:(NSRangePointer)actualRange; |
202 - (void)quickLookWithEvent:(NSEvent*)event; | 202 - (void)quickLookWithEvent:(NSEvent*)event; |
203 - (void)showLookUpDictionaryOverlayAtPoint:(NSPoint)point; | 203 - (void)showLookUpDictionaryOverlayAtPoint:(NSPoint)point; |
204 - (void)showLookUpDictionaryOverlayFromRange:(NSRange)range | 204 - (void)showLookUpDictionaryOverlayFromRange:(NSRange)range |
205 targetView:(NSView*)targetView; | 205 targetView:(NSView*)targetView; |
206 @end | 206 @end |
207 | 207 |
208 namespace content { | 208 namespace content { |
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
538 | 538 |
539 // Factory used to safely scope delayed calls to ShutdownHost(). | 539 // Factory used to safely scope delayed calls to ShutdownHost(). |
540 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; | 540 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; |
541 | 541 |
542 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 542 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
543 }; | 543 }; |
544 | 544 |
545 } // namespace content | 545 } // namespace content |
546 | 546 |
547 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 547 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
OLD | NEW |