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

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

Issue 2072653002: Experiments for using textfieldy context menus Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « no previous file | ui/views/cocoa/bridged_content_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 // The set of key codes from key down events that we haven't seen the matching 178 // The set of key codes from key down events that we haven't seen the matching
179 // key up events yet. 179 // key up events yet.
180 // Used for filtering out non-matching NSKeyUp events. 180 // Used for filtering out non-matching NSKeyUp events.
181 std::set<unsigned short> keyDownCodes_; 181 std::set<unsigned short> keyDownCodes_;
182 182
183 // The filter used to guide touch events towards a horizontal or vertical 183 // The filter used to guide touch events towards a horizontal or vertical
184 // orientation. 184 // orientation.
185 content::MouseWheelRailsFilterMac mouseWheelFilter_; 185 content::MouseWheelRailsFilterMac mouseWheelFilter_;
186 } 186 }
187 187
188 @property(nonatomic, readonly) NSRange selectedRange; 188 //@property(atomic, readwrite) NSRange selectedRange;
189 @property(nonatomic, readonly) BOOL suppressNextEscapeKeyUp; 189 @property(nonatomic, readonly) BOOL suppressNextEscapeKeyUp;
190 190
191 - (void)setCanBeKeyView:(BOOL)can; 191 - (void)setCanBeKeyView:(BOOL)can;
192 - (void)setCloseOnDeactivate:(BOOL)b; 192 - (void)setCloseOnDeactivate:(BOOL)b;
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.
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
617 617
618 // Factory used to safely scope delayed calls to ShutdownHost(). 618 // Factory used to safely scope delayed calls to ShutdownHost().
619 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; 619 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_;
620 620
621 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 621 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
622 }; 622 };
623 623
624 } // namespace content 624 } // namespace content
625 625
626 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 626 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW
« no previous file with comments | « no previous file | ui/views/cocoa/bridged_content_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698