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

Side by Side Diff: chrome/browser/ui/cocoa/wrench_menu/wrench_menu_controller.mm

Issue 6657003: Update a bunch of files to the new location of notification files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 9 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 | Annotate | Revision Log
OLDNEW
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/sys_string_conversions.h" 7 #include "base/sys_string_conversions.h"
8 #include "chrome/app/chrome_command_ids.h" 8 #include "chrome/app/chrome_command_ids.h"
9 #include "chrome/browser/metrics/user_metrics.h" 9 #include "chrome/browser/metrics/user_metrics.h"
10 #include "chrome/browser/ui/browser.h"
11 #include "chrome/browser/ui/browser_window.h"
10 #import "chrome/browser/ui/cocoa/toolbar/toolbar_controller.h" 12 #import "chrome/browser/ui/cocoa/toolbar/toolbar_controller.h"
11 #import "chrome/browser/ui/cocoa/wrench_menu/menu_tracked_root_view.h" 13 #import "chrome/browser/ui/cocoa/wrench_menu/menu_tracked_root_view.h"
12 #include "chrome/browser/ui/browser.h"
13 #include "chrome/browser/ui/browser_window.h"
14 #include "chrome/browser/ui/toolbar/wrench_menu_model.h" 14 #include "chrome/browser/ui/toolbar/wrench_menu_model.h"
15 #include "chrome/common/notification_observer.h" 15 #include "content/common/notification_observer.h"
16 #include "chrome/common/notification_service.h" 16 #include "content/common/notification_service.h"
17 #include "chrome/common/notification_source.h" 17 #include "content/common/notification_source.h"
18 #include "chrome/common/notification_type.h" 18 #include "content/common/notification_type.h"
19 #include "grit/chromium_strings.h" 19 #include "grit/chromium_strings.h"
20 #include "grit/generated_resources.h" 20 #include "grit/generated_resources.h"
21 #include "ui/base/l10n/l10n_util.h" 21 #include "ui/base/l10n/l10n_util.h"
22 #include "ui/base/models/menu_model.h" 22 #include "ui/base/models/menu_model.h"
23 23
24 @interface WrenchMenuController (Private) 24 @interface WrenchMenuController (Private)
25 - (void)adjustPositioning; 25 - (void)adjustPositioning;
26 - (void)performCommandDispatch:(NSNumber*)tag; 26 - (void)performCommandDispatch:(NSNumber*)tag;
27 - (NSButton*)zoomDisplay; 27 - (NSButton*)zoomDisplay;
28 @end 28 @end
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 parentFrame.size.width += delta; 206 parentFrame.size.width += delta;
207 parentFrame.origin.x -= delta; 207 parentFrame.origin.x -= delta;
208 [[editCut_ superview] setFrame:parentFrame]; 208 [[editCut_ superview] setFrame:parentFrame];
209 } 209 }
210 210
211 - (NSButton*)zoomDisplay { 211 - (NSButton*)zoomDisplay {
212 return zoomDisplay_; 212 return zoomDisplay_;
213 } 213 }
214 214
215 @end // @implementation WrenchMenuController 215 @end // @implementation WrenchMenuController
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm ('k') | chrome/browser/ui/find_bar/find_bar_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698