| OLD | NEW |
| 1 // Copyright (c) 2009 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_BACK_FORWARD_BUTTON_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_BACK_FORWARD_BUTTON_GTK_H_ |
| 6 #define CHROME_BROWSER_GTK_BACK_FORWARD_BUTTON_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_BACK_FORWARD_BUTTON_GTK_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "app/gtk_signal.h" | 9 #include "app/gtk_signal.h" |
| 10 #include "base/scoped_ptr.h" | 10 #include "base/scoped_ptr.h" |
| 11 #include "base/task.h" | 11 #include "base/task.h" |
| 12 #include "chrome/browser/gtk/custom_button.h" | 12 #include "chrome/browser/gtk/custom_button.h" |
| 13 #include "chrome/browser/gtk/menu_gtk.h" | 13 #include "chrome/browser/gtk/menu_gtk.h" |
| 14 | 14 |
| 15 class BackForwardMenuModel; | 15 class BackForwardMenuModel; |
| 16 class Browser; | 16 class Browser; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 scoped_ptr<BackForwardMenuModel> menu_model_; | 62 scoped_ptr<BackForwardMenuModel> menu_model_; |
| 63 | 63 |
| 64 // The y position of the last mouse down event. | 64 // The y position of the last mouse down event. |
| 65 int y_position_of_last_press_; | 65 int y_position_of_last_press_; |
| 66 | 66 |
| 67 ScopedRunnableMethodFactory<BackForwardButtonGtk> show_menu_factory_; | 67 ScopedRunnableMethodFactory<BackForwardButtonGtk> show_menu_factory_; |
| 68 | 68 |
| 69 DISALLOW_COPY_AND_ASSIGN(BackForwardButtonGtk); | 69 DISALLOW_COPY_AND_ASSIGN(BackForwardButtonGtk); |
| 70 }; | 70 }; |
| 71 | 71 |
| 72 #endif // CHROME_BROWSER_GTK_BACK_FORWARD_BUTTON_GTK_H_ | 72 #endif // CHROME_BROWSER_UI_GTK_BACK_FORWARD_BUTTON_GTK_H_ |
| OLD | NEW |