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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 - (void)setOpaque:(BOOL)opaque; | 193 - (void)setOpaque:(BOOL)opaque; |
194 // True for always-on-top special windows (e.g. Balloons and Panels). | 194 // True for always-on-top special windows (e.g. Balloons and Panels). |
195 - (BOOL)acceptsMouseEventsWhenInactive; | 195 - (BOOL)acceptsMouseEventsWhenInactive; |
196 // Cancel ongoing composition (abandon the marked text). | 196 // Cancel ongoing composition (abandon the marked text). |
197 - (void)cancelComposition; | 197 - (void)cancelComposition; |
198 // Confirm ongoing composition. | 198 // Confirm ongoing composition. |
199 - (void)finishComposingText; | 199 - (void)finishComposingText; |
200 - (void)updateCursor:(NSCursor*)cursor; | 200 - (void)updateCursor:(NSCursor*)cursor; |
201 - (NSRect)firstViewRectForCharacterRange:(NSRange)theRange | 201 - (NSRect)firstViewRectForCharacterRange:(NSRange)theRange |
202 actualRange:(NSRangePointer)actualRange; | 202 actualRange:(NSRangePointer)actualRange; |
| 203 - (void)tabletEvent:(NSEvent*)theEvent; |
203 - (void)quickLookWithEvent:(NSEvent*)event; | 204 - (void)quickLookWithEvent:(NSEvent*)event; |
204 - (void)showLookUpDictionaryOverlayAtPoint:(NSPoint)point; | 205 - (void)showLookUpDictionaryOverlayAtPoint:(NSPoint)point; |
205 - (void)showLookUpDictionaryOverlayFromRange:(NSRange)range | 206 - (void)showLookUpDictionaryOverlayFromRange:(NSRange)range |
206 targetView:(NSView*)targetView; | 207 targetView:(NSView*)targetView; |
207 @end | 208 @end |
208 | 209 |
209 namespace content { | 210 namespace content { |
210 | 211 |
211 /////////////////////////////////////////////////////////////////////////////// | 212 /////////////////////////////////////////////////////////////////////////////// |
212 // RenderWidgetHostViewMac | 213 // RenderWidgetHostViewMac |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
555 | 556 |
556 // Factory used to safely scope delayed calls to ShutdownHost(). | 557 // Factory used to safely scope delayed calls to ShutdownHost(). |
557 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; | 558 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; |
558 | 559 |
559 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 560 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
560 }; | 561 }; |
561 | 562 |
562 } // namespace content | 563 } // namespace content |
563 | 564 |
564 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 565 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
OLD | NEW |