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

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

Issue 4710001: Split out command IDs from chrome_dll_resource.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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) 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/reload_button.h" 5 #import "chrome/browser/cocoa/reload_button.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "app/l10n_util_mac.h" 8 #include "app/l10n_util_mac.h"
9 #include "base/nsimage_cache_mac.h" 9 #include "base/nsimage_cache_mac.h"
10 #include "chrome/app/chrome_dll_resource.h" 10 #include "chrome/app/chrome_command_ids.h"
11 #import "chrome/browser/cocoa/gradient_button_cell.h" 11 #import "chrome/browser/cocoa/gradient_button_cell.h"
12 #import "chrome/browser/cocoa/view_id_util.h" 12 #import "chrome/browser/cocoa/view_id_util.h"
13 #include "grit/generated_resources.h" 13 #include "grit/generated_resources.h"
14 14
15 namespace { 15 namespace {
16 16
17 NSString* const kReloadImageName = @"reload_Template.pdf"; 17 NSString* const kReloadImageName = @"reload_Template.pdf";
18 NSString* const kStopImageName = @"stop_Template.pdf"; 18 NSString* const kStopImageName = @"stop_Template.pdf";
19 19
20 // Constant matches Windows. 20 // Constant matches Windows.
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 144
145 + (void)setPendingReloadTimeout:(NSTimeInterval)seconds { 145 + (void)setPendingReloadTimeout:(NSTimeInterval)seconds {
146 kPendingReloadTimeout = seconds; 146 kPendingReloadTimeout = seconds;
147 } 147 }
148 148
149 - (NSTrackingArea*)trackingArea { 149 - (NSTrackingArea*)trackingArea {
150 return trackingArea_; 150 return trackingArea_;
151 } 151 }
152 152
153 @end 153 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698