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

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

Issue 1528153004: Look Up on Force Touch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 4 years, 11 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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 // Enables or disables plugin IME. 203 // Enables or disables plugin IME.
204 - (void)setPluginImeActive:(BOOL)active; 204 - (void)setPluginImeActive:(BOOL)active;
205 // Updates the current plugin focus state. 205 // Updates the current plugin focus state.
206 - (void)pluginFocusChanged:(BOOL)focused forPlugin:(int)pluginId; 206 - (void)pluginFocusChanged:(BOOL)focused forPlugin:(int)pluginId;
207 // Evaluates the event in the context of plugin IME, if plugin IME is enabled. 207 // Evaluates the event in the context of plugin IME, if plugin IME is enabled.
208 // Returns YES if the event was handled. 208 // Returns YES if the event was handled.
209 - (BOOL)postProcessEventForPluginIme:(NSEvent*)event; 209 - (BOOL)postProcessEventForPluginIme:(NSEvent*)event;
210 - (void)updateCursor:(NSCursor*)cursor; 210 - (void)updateCursor:(NSCursor*)cursor;
211 - (NSRect)firstViewRectForCharacterRange:(NSRange)theRange 211 - (NSRect)firstViewRectForCharacterRange:(NSRange)theRange
212 actualRange:(NSRangePointer)actualRange; 212 actualRange:(NSRangePointer)actualRange;
213 - (void)quickLookWithEvent:(NSEvent*)event;
213 - (void)showLookUpDictionaryOverlayAtPoint:(NSPoint)point; 214 - (void)showLookUpDictionaryOverlayAtPoint:(NSPoint)point;
214 - (void)showLookUpDictionaryOverlayFromRange:(NSRange)range 215 - (void)showLookUpDictionaryOverlayFromRange:(NSRange)range
215 targetView:(NSView*)targetView; 216 targetView:(NSView*)targetView;
216 @end 217 @end
217 218
218 namespace content { 219 namespace content {
219 220
220 /////////////////////////////////////////////////////////////////////////////// 221 ///////////////////////////////////////////////////////////////////////////////
221 // RenderWidgetHostViewMac 222 // RenderWidgetHostViewMac
222 // 223 //
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 609
609 // Factory used to safely scope delayed calls to ShutdownHost(). 610 // Factory used to safely scope delayed calls to ShutdownHost().
610 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; 611 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_;
611 612
612 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 613 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
613 }; 614 };
614 615
615 } // namespace content 616 } // namespace content
616 617
617 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 618 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW
« no previous file with comments | « base/mac/sdk_forward_declarations.h ('k') | content/browser/renderer_host/render_widget_host_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698