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

Side by Side Diff: chrome/browser/ui/cocoa/base_bubble_controller.mm

Issue 817153002: Switch users of foundation_util.h to include it directly and clean up uses of mac_util.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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/base_bubble_controller.h" 5 #import "chrome/browser/ui/cocoa/base_bubble_controller.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/mac/bundle_locations.h" 8 #include "base/mac/bundle_locations.h"
9 #include "base/mac/foundation_util.h"
9 #include "base/mac/mac_util.h" 10 #include "base/mac/mac_util.h"
10 #include "base/mac/scoped_nsobject.h" 11 #include "base/mac/scoped_nsobject.h"
11 #include "base/mac/sdk_forward_declarations.h" 12 #include "base/mac/sdk_forward_declarations.h"
12 #include "base/strings/string_util.h" 13 #include "base/strings/string_util.h"
13 #import "chrome/browser/ui/cocoa/browser_window_controller.h" 14 #import "chrome/browser/ui/cocoa/browser_window_controller.h"
14 #import "chrome/browser/ui/cocoa/info_bubble_view.h" 15 #import "chrome/browser/ui/cocoa/info_bubble_view.h"
15 #import "chrome/browser/ui/cocoa/info_bubble_window.h" 16 #import "chrome/browser/ui/cocoa/info_bubble_window.h"
16 #import "chrome/browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.h" 17 #import "chrome/browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.h"
17 18
18 @interface BaseBubbleController (Private) 19 @interface BaseBubbleController (Private)
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 381
381 - (void)activateTabWithContents:(content::WebContents*)newContents 382 - (void)activateTabWithContents:(content::WebContents*)newContents
382 previousContents:(content::WebContents*)oldContents 383 previousContents:(content::WebContents*)oldContents
383 atIndex:(NSInteger)index 384 atIndex:(NSInteger)index
384 reason:(int)reason { 385 reason:(int)reason {
385 // The user switched tabs; close. 386 // The user switched tabs; close.
386 [self close]; 387 [self close];
387 } 388 }
388 389
389 @end // BaseBubbleController 390 @end // BaseBubbleController
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_commands_mac.cc ('k') | chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698