| 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 #include "chrome/browser/gtk/reload_button_gtk.h" | 5 #include "chrome/browser/gtk/reload_button_gtk.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "chrome/app/chrome_command_ids.h" | 11 #include "chrome/app/chrome_command_ids.h" |
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 gtk_chrome_button_set_use_gtk_rendering(GTK_CHROME_BUTTON(widget()), use_gtk); | 270 gtk_chrome_button_set_use_gtk_rendering(GTK_CHROME_BUTTON(widget()), use_gtk); |
| 271 } | 271 } |
| 272 | 272 |
| 273 void ReloadButtonGtk::OnDoubleClickTimer() { | 273 void ReloadButtonGtk::OnDoubleClickTimer() { |
| 274 ChangeMode(intended_mode_, false); | 274 ChangeMode(intended_mode_, false); |
| 275 } | 275 } |
| 276 | 276 |
| 277 void ReloadButtonGtk::OnStopToReloadTimer() { | 277 void ReloadButtonGtk::OnStopToReloadTimer() { |
| 278 ChangeMode(intended_mode_, true); | 278 ChangeMode(intended_mode_, true); |
| 279 } | 279 } |
| OLD | NEW |