| 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 #ifndef CHROME_BROWSER_UI_VIEWS_RELOAD_BUTTON_H__ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TOOLBAR_RELOAD_BUTTON_H__ |
| 6 #define CHROME_BROWSER_UI_VIEWS_RELOAD_BUTTON_H__ | 6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_RELOAD_BUTTON_H__ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/gtest_prod_util.h" | 9 #include "base/gtest_prod_util.h" |
| 10 #include "base/timer/timer.h" | 10 #include "base/timer/timer.h" |
| 11 #include "ui/base/models/simple_menu_model.h" | 11 #include "ui/base/models/simple_menu_model.h" |
| 12 #include "ui/views/controls/button/button_dropdown.h" | 12 #include "ui/views/controls/button/button_dropdown.h" |
| 13 | 13 |
| 14 class CommandUpdater; | 14 class CommandUpdater; |
| 15 class LocationBarView; | 15 class LocationBarView; |
| 16 | 16 |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 // TESTING ONLY | 111 // TESTING ONLY |
| 112 // True if we should pretend the button is hovered. | 112 // True if we should pretend the button is hovered. |
| 113 bool testing_mouse_hovered_; | 113 bool testing_mouse_hovered_; |
| 114 // Increments when we would tell the browser to "reload", so | 114 // Increments when we would tell the browser to "reload", so |
| 115 // test code can tell whether we did so (as there may be no |browser_|). | 115 // test code can tell whether we did so (as there may be no |browser_|). |
| 116 int testing_reload_count_; | 116 int testing_reload_count_; |
| 117 | 117 |
| 118 DISALLOW_IMPLICIT_CONSTRUCTORS(ReloadButton); | 118 DISALLOW_IMPLICIT_CONSTRUCTORS(ReloadButton); |
| 119 }; | 119 }; |
| 120 | 120 |
| 121 #endif // CHROME_BROWSER_UI_VIEWS_RELOAD_BUTTON_H__ | 121 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_RELOAD_BUTTON_H__ |
| OLD | NEW |