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

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

Issue 1543393002: Switch to standard integer types in chrome/browser/ui/cocoa/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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) 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"
10 #import "chrome/browser/ui/cocoa/view_id_util.h" 9 #import "chrome/browser/ui/cocoa/view_id_util.h"
11 #include "grit/theme_resources.h" 10 #include "grit/theme_resources.h"
12 #include "ui/base/cocoa/appkit_utils.h" 11 #include "ui/base/cocoa/appkit_utils.h"
13 #include "ui/events/keycodes/keyboard_code_conversion_mac.h" 12 #include "ui/events/keycodes/keyboard_code_conversion_mac.h"
14 13
15 NSString* const kBrowserActionGrippyDragStartedNotification = 14 NSString* const kBrowserActionGrippyDragStartedNotification =
16 @"BrowserActionGrippyDragStartedNotification"; 15 @"BrowserActionGrippyDragStartedNotification";
17 NSString* const kBrowserActionGrippyDraggingNotification = 16 NSString* const kBrowserActionGrippyDraggingNotification =
18 @"BrowserActionGrippyDraggingNotification"; 17 @"BrowserActionGrippyDraggingNotification";
19 NSString* const kBrowserActionGrippyDragFinishedNotification = 18 NSString* const kBrowserActionGrippyDragFinishedNotification =
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 retVal = [NSCursor resizeLeftRightCursor]; 362 retVal = [NSCursor resizeLeftRightCursor];
364 } 363 }
365 return retVal; 364 return retVal;
366 } 365 }
367 366
368 - (CGFloat)maxAllowedWidth { 367 - (CGFloat)maxAllowedWidth {
369 return delegate_ ? delegate_->GetMaxAllowedWidth() : CGFLOAT_MAX; 368 return delegate_ ? delegate_->GetMaxAllowedWidth() : CGFLOAT_MAX;
370 } 369 }
371 370
372 @end 371 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698