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

Side by Side Diff: chrome/browser/cocoa/bookmark_bubble_controller.mm

Issue 3089004: Mac: Some clang appeasing. (Closed)
Patch Set: '' Created 10 years, 4 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/cocoa/bookmark_bar_controller.h ('k') | chrome/browser/cocoa/bookmark_button.h » ('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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/cocoa/bookmark_bubble_controller.h" 5 #import "chrome/browser/cocoa/bookmark_bubble_controller.h"
6
6 #include "app/l10n_util_mac.h" 7 #include "app/l10n_util_mac.h"
7 #include "base/mac_util.h" 8 #include "base/mac_util.h"
8 #include "base/sys_string_conversions.h" 9 #include "base/sys_string_conversions.h"
9 #include "chrome/browser/bookmarks/bookmark_model.h" 10 #include "chrome/browser/bookmarks/bookmark_model.h"
10 #import "chrome/browser/cocoa/bookmark_button.h" 11 #import "chrome/browser/cocoa/bookmark_button.h"
11 #import "chrome/browser/cocoa/browser_window_controller.h" 12 #import "chrome/browser/cocoa/browser_window_controller.h"
12 #import "chrome/browser/cocoa/info_bubble_view.h" 13 #import "chrome/browser/cocoa/info_bubble_view.h"
13 #include "chrome/browser/metrics/user_metrics.h" 14 #include "chrome/browser/metrics/user_metrics.h"
14 #include "chrome/common/notification_observer.h" 15 #include "chrome/common/notification_observer.h"
15 #include "chrome/common/notification_registrar.h" 16 #include "chrome/common/notification_registrar.h"
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 NSInteger idx = [menu indexOfItemWithRepresentedObject:parentValue]; 417 NSInteger idx = [menu indexOfItemWithRepresentedObject:parentValue];
417 DCHECK(idx != -1); 418 DCHECK(idx != -1);
418 [folderPopUpButton_ selectItemAtIndex:idx]; 419 [folderPopUpButton_ selectItemAtIndex:idx];
419 } 420 }
420 421
421 - (NSPopUpButton*)folderPopUpButton { 422 - (NSPopUpButton*)folderPopUpButton {
422 return folderPopUpButton_; 423 return folderPopUpButton_;
423 } 424 }
424 425
425 @end // implementation BookmarkBubbleController(ExposedForUnitTesting) 426 @end // implementation BookmarkBubbleController(ExposedForUnitTesting)
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/bookmark_bar_controller.h ('k') | chrome/browser/cocoa/bookmark_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698