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

Side by Side Diff: chrome/browser/ui/cocoa/url_drop_target.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) 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 #import "chrome/browser/ui/cocoa/url_drop_target.h" 5 #import "chrome/browser/ui/cocoa/url_drop_target.h"
6 6
7 #include "base/basictypes.h"
8 #include "chrome/browser/ui/cocoa/drag_util.h" 7 #include "chrome/browser/ui/cocoa/drag_util.h"
9 #import "third_party/mozilla/NSPasteboard+Utils.h" 8 #import "third_party/mozilla/NSPasteboard+Utils.h"
10 #include "url/gurl.h" 9 #include "url/gurl.h"
11 10
12 namespace { 11 namespace {
13 12
14 // Mac WebKit uses this type, declared in 13 // Mac WebKit uses this type, declared in
15 // WebKit/mac/History/WebURLsWithTitles.h. 14 // WebKit/mac/History/WebURLsWithTitles.h.
16 NSString* const kCrWebURLsWithTitlesPboardType = 15 NSString* const kCrWebURLsWithTitlesPboardType =
17 @"WebURLsWithTitlesPboardType"; 16 @"WebURLsWithTitlesPboardType";
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 125
127 // Only allow the copy operation. 126 // Only allow the copy operation.
128 return [sender draggingSourceOperationMask] & NSDragOperationCopy; 127 return [sender draggingSourceOperationMask] & NSDragOperationCopy;
129 } 128 }
130 129
131 - (void)hideIndicator { 130 - (void)hideIndicator {
132 [[view_ urlDropController] hideDropURLsIndicatorInView:view_]; 131 [[view_ urlDropController] hideDropURLsIndicatorInView:view_];
133 } 132 }
134 133
135 @end // @implementation URLDropTargetHandler(Private) 134 @end // @implementation URLDropTargetHandler(Private)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698