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

Side by Side Diff: ui/message_center/cocoa/popup_controller.mm

Issue 322623002: Consolidate SDK forwards in sdk_forward_declarations.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit Created 6 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 | Annotate | Revision Log
« no previous file with comments | « ui/app_list/cocoa/scroll_view_with_no_scrollbars.mm ('k') | no next file » | 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #import "ui/message_center/cocoa/popup_controller.h" 5 #import "ui/message_center/cocoa/popup_controller.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 8
9 #import "base/mac/foundation_util.h" 9 #import "base/mac/foundation_util.h"
10 #import "base/mac/sdk_forward_declarations.h" 10 #import "base/mac/sdk_forward_declarations.h"
11 #import "ui/base/cocoa/window_size_constants.h" 11 #import "ui/base/cocoa/window_size_constants.h"
12 #import "ui/message_center/cocoa/notification_controller.h" 12 #import "ui/message_center/cocoa/notification_controller.h"
13 #import "ui/message_center/cocoa/popup_collection.h" 13 #import "ui/message_center/cocoa/popup_collection.h"
14 #include "ui/message_center/message_center.h" 14 #include "ui/message_center/message_center.h"
15 15
16 #if !defined(MAC_OS_X_VERSION_10_7) || \
17 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7
18 enum {
19 NSWindowCollectionBehaviorFullScreenAuxiliary = 1 << 8
20 };
21 #endif // MAC_OS_X_VERSION_10_7
22
23 //////////////////////////////////////////////////////////////////////////////// 16 ////////////////////////////////////////////////////////////////////////////////
24 17
25 @interface MCPopupController (Private) 18 @interface MCPopupController (Private)
26 - (void)notificationSwipeStarted; 19 - (void)notificationSwipeStarted;
27 - (void)notificationSwipeMoved:(CGFloat)amount; 20 - (void)notificationSwipeMoved:(CGFloat)amount;
28 - (void)notificationSwipeEnded:(BOOL)ended complete:(BOOL)isComplete; 21 - (void)notificationSwipeEnded:(BOOL)ended complete:(BOOL)isComplete;
29 @end 22 @end
30 23
31 // Window Subclass ///////////////////////////////////////////////////////////// 24 // Window Subclass /////////////////////////////////////////////////////////////
32 25
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 266
274 - (void)mouseEntered:(NSEvent*)event { 267 - (void)mouseEntered:(NSEvent*)event {
275 messageCenter_->PausePopupTimers(); 268 messageCenter_->PausePopupTimers();
276 } 269 }
277 270
278 - (void)mouseExited:(NSEvent*)event { 271 - (void)mouseExited:(NSEvent*)event {
279 messageCenter_->RestartPopupTimers(); 272 messageCenter_->RestartPopupTimers();
280 } 273 }
281 274
282 @end 275 @end
OLDNEW
« no previous file with comments | « ui/app_list/cocoa/scroll_view_with_no_scrollbars.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698