| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_MENU_MODEL_GTK_H_ | 5 #ifndef CHROME_BROWSER_GTK_BACK_FORWARD_MENU_MODEL_GTK_H_ |
| 6 #define CHROME_BROWSER_GTK_BACK_FORWARD_MENU_MODEL_GTK_H_ | 6 #define CHROME_BROWSER_GTK_BACK_FORWARD_MENU_MODEL_GTK_H_ |
| 7 | 7 |
| 8 #include <string> |
| 9 |
| 8 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 9 | 11 |
| 10 #include "chrome/browser/back_forward_menu_model.h" | 12 #include "chrome/browser/back_forward_menu_model.h" |
| 11 #include "chrome/browser/gtk/menu_gtk.h" | 13 #include "chrome/browser/gtk/menu_gtk.h" |
| 12 | 14 |
| 13 class BackForwardButtonGtk; | 15 class BackForwardButtonGtk; |
| 14 | 16 |
| 15 // For the most part, this class simply passes calls through to | 17 // For the most part, this class simply passes calls through to |
| 16 // the BackForwardMenuModel. | 18 // the BackForwardMenuModel. |
| 17 class BackForwardMenuModelGtk : public BackForwardMenuModel, | 19 class BackForwardMenuModelGtk : public BackForwardMenuModel, |
| (...skipping 13 matching lines...) Expand all Loading... |
| 31 virtual void StoppedShowing(); | 33 virtual void StoppedShowing(); |
| 32 virtual bool AlwaysShowImages() const; | 34 virtual bool AlwaysShowImages() const; |
| 33 | 35 |
| 34 private: | 36 private: |
| 35 BackForwardButtonGtk* button_; | 37 BackForwardButtonGtk* button_; |
| 36 | 38 |
| 37 DISALLOW_COPY_AND_ASSIGN(BackForwardMenuModelGtk); | 39 DISALLOW_COPY_AND_ASSIGN(BackForwardMenuModelGtk); |
| 38 }; | 40 }; |
| 39 | 41 |
| 40 #endif // CHROME_BROWSER_GTK_BACK_FORWARD_MENU_MODEL_GTK_H_ | 42 #endif // CHROME_BROWSER_GTK_BACK_FORWARD_MENU_MODEL_GTK_H_ |
| OLD | NEW |