| OLD | NEW |
| 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 "chrome/app/chrome_command_ids.h" | 7 #include "chrome/app/chrome_command_ids.h" |
| 8 #include "chrome/browser/command_updater.h" |
| 8 #import "chrome/browser/ui/cocoa/accelerators_cocoa.h" | 9 #import "chrome/browser/ui/cocoa/accelerators_cocoa.h" |
| 9 #import "chrome/browser/ui/cocoa/view_id_util.h" | 10 #import "chrome/browser/ui/cocoa/view_id_util.h" |
| 10 #include "chrome/browser/command_updater.h" | |
| 11 #include "chrome/grit/generated_resources.h" | 11 #include "chrome/grit/generated_resources.h" |
| 12 #include "grit/theme_resources.h" | 12 #include "grit/theme_resources.h" |
| 13 #include "ui/base/accelerators/platform_accelerator_cocoa.h" | 13 #include "ui/base/accelerators/platform_accelerator_cocoa.h" |
| 14 #include "ui/base/l10n/l10n_util.h" | 14 #include "ui/base/l10n/l10n_util.h" |
| 15 #include "ui/base/l10n/l10n_util_mac.h" | 15 #include "ui/base/l10n/l10n_util_mac.h" |
| 16 #import "ui/events/event_utils.h" | 16 #import "ui/events/event_utils.h" |
| 17 | 17 |
| 18 namespace { | 18 namespace { |
| 19 | 19 |
| 20 // Constant matches Windows. | 20 // Constant matches Windows. |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 | 256 |
| 257 @end // ReloadButton | 257 @end // ReloadButton |
| 258 | 258 |
| 259 @implementation ReloadButton (Testing) | 259 @implementation ReloadButton (Testing) |
| 260 | 260 |
| 261 + (void)setPendingReloadTimeout:(NSTimeInterval)seconds { | 261 + (void)setPendingReloadTimeout:(NSTimeInterval)seconds { |
| 262 kPendingReloadTimeout = seconds; | 262 kPendingReloadTimeout = seconds; |
| 263 } | 263 } |
| 264 | 264 |
| 265 @end | 265 @end |
| OLD | NEW |