OLD | NEW |
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/wrench_menu/wrench_menu_controller.h" | 5 #import "chrome/browser/ui/cocoa/wrench_menu/wrench_menu_controller.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/mac/bundle_locations.h" | 8 #include "base/mac/bundle_locations.h" |
9 #include "base/mac/mac_util.h" | |
10 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
11 #include "base/strings/sys_string_conversions.h" | 10 #include "base/strings/sys_string_conversions.h" |
12 #include "chrome/app/chrome_command_ids.h" | 11 #include "chrome/app/chrome_command_ids.h" |
13 #import "chrome/browser/app_controller_mac.h" | 12 #import "chrome/browser/app_controller_mac.h" |
14 #include "chrome/browser/profiles/profile.h" | 13 #include "chrome/browser/profiles/profile.h" |
15 #include "chrome/browser/ui/browser.h" | 14 #include "chrome/browser/ui/browser.h" |
16 #include "chrome/browser/ui/browser_window.h" | 15 #include "chrome/browser/ui/browser_window.h" |
17 #import "chrome/browser/ui/cocoa/accelerators_cocoa.h" | 16 #import "chrome/browser/ui/cocoa/accelerators_cocoa.h" |
18 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_menu_bridge.h" | 17 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_menu_bridge.h" |
19 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_menu_cocoa_controller.h" | 18 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_menu_cocoa_controller.h" |
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
450 controller_ = controller; | 449 controller_ = controller; |
451 } | 450 } |
452 return self; | 451 return self; |
453 } | 452 } |
454 | 453 |
455 - (IBAction)dispatchWrenchMenuCommand:(id)sender { | 454 - (IBAction)dispatchWrenchMenuCommand:(id)sender { |
456 [controller_ dispatchWrenchMenuCommand:sender]; | 455 [controller_ dispatchWrenchMenuCommand:sender]; |
457 } | 456 } |
458 | 457 |
459 @end // @implementation WrenchMenuButtonViewController | 458 @end // @implementation WrenchMenuButtonViewController |
OLD | NEW |