| OLD | NEW |
| 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/wrench_menu_controller.h" | 5 #import "chrome/browser/cocoa/wrench_menu_controller.h" |
| 6 | 6 |
| 7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
| 8 #include "app/menus/menu_model.h" | 8 #include "app/menus/menu_model.h" |
| 9 #include "base/sys_string_conversions.h" | 9 #include "base/sys_string_conversions.h" |
| 10 #include "chrome/app/chrome_dll_resource.h" | 10 #include "chrome/app/chrome_command_ids.h" |
| 11 #include "chrome/browser/browser.h" | 11 #include "chrome/browser/browser.h" |
| 12 #include "chrome/browser/browser_window.h" | 12 #include "chrome/browser/browser_window.h" |
| 13 #import "chrome/browser/cocoa/menu_tracked_root_view.h" | 13 #import "chrome/browser/cocoa/menu_tracked_root_view.h" |
| 14 #import "chrome/browser/cocoa/toolbar_controller.h" | 14 #import "chrome/browser/cocoa/toolbar_controller.h" |
| 15 #include "chrome/browser/wrench_menu_model.h" | 15 #include "chrome/browser/wrench_menu_model.h" |
| 16 #include "chrome/common/notification_observer.h" | 16 #include "chrome/common/notification_observer.h" |
| 17 #include "chrome/common/notification_service.h" | 17 #include "chrome/common/notification_service.h" |
| 18 #include "chrome/common/notification_source.h" | 18 #include "chrome/common/notification_source.h" |
| 19 #include "chrome/common/notification_type.h" | 19 #include "chrome/common/notification_type.h" |
| 20 #include "grit/chromium_strings.h" | 20 #include "grit/chromium_strings.h" |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 parentFrame.size.width += delta; | 204 parentFrame.size.width += delta; |
| 205 parentFrame.origin.x -= delta; | 205 parentFrame.origin.x -= delta; |
| 206 [[editCut_ superview] setFrame:parentFrame]; | 206 [[editCut_ superview] setFrame:parentFrame]; |
| 207 } | 207 } |
| 208 | 208 |
| 209 - (NSButton*)zoomDisplay { | 209 - (NSButton*)zoomDisplay { |
| 210 return zoomDisplay_; | 210 return zoomDisplay_; |
| 211 } | 211 } |
| 212 | 212 |
| 213 @end // @implementation WrenchMenuController | 213 @end // @implementation WrenchMenuController |
| OLD | NEW |