Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_mac.h

Issue 1999423002: tyrbot test for commitText (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: SetHasCompositionTextToTrue Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 541
542 // Factory used to safely scope delayed calls to ShutdownHost(). 542 // Factory used to safely scope delayed calls to ShutdownHost().
543 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; 543 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_;
544 544
545 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 545 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
546 }; 546 };
547 547
548 } // namespace content 548 } // namespace content
549 549
550 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 550 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698