OLD | NEW |
1 // Copyright (c) 2010 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 #ifndef CHROME_BROWSER_GTK_RELOAD_BUTTON_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_RELOAD_BUTTON_GTK_H_ |
6 #define CHROME_BROWSER_GTK_RELOAD_BUTTON_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_RELOAD_BUTTON_GTK_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
10 | 10 |
11 #include "app/gtk_signal.h" | 11 #include "app/gtk_signal.h" |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/timer.h" | 13 #include "base/timer.h" |
14 #include "chrome/browser/gtk/custom_button.h" | 14 #include "chrome/browser/gtk/custom_button.h" |
15 #include "chrome/browser/gtk/owned_widget_gtk.h" | 15 #include "chrome/browser/gtk/owned_widget_gtk.h" |
16 #include "chrome/common/notification_observer.h" | 16 #include "chrome/common/notification_observer.h" |
(...skipping 76 matching lines...) Loading... |
93 // TESTING ONLY | 93 // TESTING ONLY |
94 // True if we should pretend the button is hovered. | 94 // True if we should pretend the button is hovered. |
95 bool testing_mouse_hovered_; | 95 bool testing_mouse_hovered_; |
96 // Increments when we would tell the browser to "reload", so | 96 // Increments when we would tell the browser to "reload", so |
97 // test code can tell whether we did so (as there may be no |browser_|). | 97 // test code can tell whether we did so (as there may be no |browser_|). |
98 int testing_reload_count_; | 98 int testing_reload_count_; |
99 | 99 |
100 DISALLOW_IMPLICIT_CONSTRUCTORS(ReloadButtonGtk); | 100 DISALLOW_IMPLICIT_CONSTRUCTORS(ReloadButtonGtk); |
101 }; | 101 }; |
102 | 102 |
103 #endif // CHROME_BROWSER_GTK_RELOAD_BUTTON_GTK_H_ | 103 #endif // CHROME_BROWSER_UI_GTK_RELOAD_BUTTON_GTK_H_ |
OLD | NEW |