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: ui/base/cocoa/appkit_utils.h

Issue 2430863002: [Mac] Refactor the fullscreen menubar (Closed)
Patch Set: Fix for rsesek 2 Created 4 years, 2 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 | « chrome/browser/ui/cocoa/fullscreen_toolbar_controller.mm ('k') | ui/base/cocoa/appkit_utils.mm » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 UI_BASE_COCOA_APPKIT_UTILS_H 5 #ifndef UI_BASE_COCOA_APPKIT_UTILS_H
6 #define UI_BASE_COCOA_APPKIT_UTILS_H 6 #define UI_BASE_COCOA_APPKIT_UTILS_H
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "ui/base/ui_base_export.h" 10 #include "ui/base/ui_base_export.h"
(...skipping 27 matching lines...) Expand all
38 // Minimizes or zooms the window, or does nothing, depending on OS version and 38 // Minimizes or zooms the window, or does nothing, depending on OS version and
39 // system configuration. 39 // system configuration.
40 // |window| is the receiver of the double click. 40 // |window| is the receiver of the double click.
41 // |sender| is the object that sends the action, if one is sent. 41 // |sender| is the object that sends the action, if one is sent.
42 UI_BASE_EXPORT void WindowTitlebarReceivedDoubleClick(NSWindow* window, 42 UI_BASE_EXPORT void WindowTitlebarReceivedDoubleClick(NSWindow* window,
43 id sender); 43 id sender);
44 44
45 // Whether a force-click event on the touchpad should invoke Quick Look. 45 // Whether a force-click event on the touchpad should invoke Quick Look.
46 UI_BASE_EXPORT bool ForceClickInvokesQuickLook(); 46 UI_BASE_EXPORT bool ForceClickInvokesQuickLook();
47 47
48 // Returns true if both CGFloat values are equal.
49 UI_BASE_EXPORT bool IsCGFloatEqual(CGFloat a, CGFloat b);
50
48 } // namespace ui 51 } // namespace ui
49 52
50 #endif // UI_BASE_COCOA_APPKIT_UTILS_H 53 #endif // UI_BASE_COCOA_APPKIT_UTILS_H
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/fullscreen_toolbar_controller.mm ('k') | ui/base/cocoa/appkit_utils.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698