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

Side by Side Diff: chrome/browser/ui/cocoa/extensions/browser_actions_container_view.mm

Issue 17593006: mac: Update clients of scoped_nsobject.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: iwyu, scoped_nsprotocol Created 7 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "chrome/browser/ui/cocoa/extensions/browser_actions_container_view.h" 5 #import "chrome/browser/ui/cocoa/extensions/browser_actions_container_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #import "base/memory/scoped_nsobject.h" 10 #import "base/mac/scoped_nsobject.h"
11 #import "chrome/browser/ui/cocoa/view_id_util.h" 11 #import "chrome/browser/ui/cocoa/view_id_util.h"
12 12
13 NSString* const kBrowserActionGrippyDragStartedNotification = 13 NSString* const kBrowserActionGrippyDragStartedNotification =
14 @"BrowserActionGrippyDragStartedNotification"; 14 @"BrowserActionGrippyDragStartedNotification";
15 NSString* const kBrowserActionGrippyDraggingNotification = 15 NSString* const kBrowserActionGrippyDraggingNotification =
16 @"BrowserActionGrippyDraggingNotification"; 16 @"BrowserActionGrippyDraggingNotification";
17 NSString* const kBrowserActionGrippyDragFinishedNotification = 17 NSString* const kBrowserActionGrippyDragFinishedNotification =
18 @"BrowserActionGrippyDragFinishedNotification"; 18 @"BrowserActionGrippyDragFinishedNotification";
19 19
20 namespace { 20 namespace {
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 retVal = [NSCursor resizeRightCursor]; 183 retVal = [NSCursor resizeRightCursor];
184 } else if (!canDragRight_) { 184 } else if (!canDragRight_) {
185 retVal = [NSCursor resizeLeftCursor]; 185 retVal = [NSCursor resizeLeftCursor];
186 } else { 186 } else {
187 retVal = [NSCursor resizeLeftRightCursor]; 187 retVal = [NSCursor resizeLeftRightCursor];
188 } 188 }
189 return retVal; 189 return retVal;
190 } 190 }
191 191
192 @end 192 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698