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

Side by Side Diff: chrome/browser/ui/cocoa/toolbar/reload_button_cocoa.mm

Issue 1846653004: Rename IGNORING_CACHE to BYPASSING_CACHE (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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
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/toolbar/reload_button_cocoa.h" 5 #import "chrome/browser/ui/cocoa/toolbar/reload_button_cocoa.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "chrome/app/chrome_command_ids.h" 10 #include "chrome/app/chrome_command_ids.h"
(...skipping 16 matching lines...) Expand all
27 27
28 // Contents of the Reload drop-down menu. 28 // Contents of the Reload drop-down menu.
29 const int kReloadMenuItems[] = { 29 const int kReloadMenuItems[] = {
30 IDS_RELOAD_MENU_NORMAL_RELOAD_ITEM, 30 IDS_RELOAD_MENU_NORMAL_RELOAD_ITEM,
31 IDS_RELOAD_MENU_HARD_RELOAD_ITEM, 31 IDS_RELOAD_MENU_HARD_RELOAD_ITEM,
32 IDS_RELOAD_MENU_EMPTY_AND_HARD_RELOAD_ITEM, 32 IDS_RELOAD_MENU_EMPTY_AND_HARD_RELOAD_ITEM,
33 }; 33 };
34 // Note: must have the same size as |kReloadMenuItems|. 34 // Note: must have the same size as |kReloadMenuItems|.
35 const int kReloadMenuCommands[] = { 35 const int kReloadMenuCommands[] = {
36 IDC_RELOAD, 36 IDC_RELOAD,
37 IDC_RELOAD_IGNORING_CACHE, 37 IDC_RELOAD_BYPASSING_CACHE,
38 IDC_RELOAD_CLEARING_CACHE, 38 IDC_RELOAD_CLEARING_CACHE,
39 }; 39 };
40 40
41 } // namespace 41 } // namespace
42 42
43 @interface ReloadButton () 43 @interface ReloadButton ()
44 - (void)invalidatePendingReloadTimer; 44 - (void)invalidatePendingReloadTimer;
45 - (void)forceReloadState:(NSTimer *)timer; 45 - (void)forceReloadState:(NSTimer *)timer;
46 - (void)populateMenu; 46 - (void)populateMenu;
47 @end 47 @end
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 300
301 @end // ReloadButton 301 @end // ReloadButton
302 302
303 @implementation ReloadButton (Testing) 303 @implementation ReloadButton (Testing)
304 304
305 + (void)setPendingReloadTimeout:(NSTimeInterval)seconds { 305 + (void)setPendingReloadTimeout:(NSTimeInterval)seconds {
306 kPendingReloadTimeout = seconds; 306 kPendingReloadTimeout = seconds;
307 } 307 }
308 308
309 @end 309 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_command_handler.mm ('k') | chrome/browser/ui/panels/panel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698