| 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 "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 | 9 |
| 10 #include "chrome/browser/back_forward_menu_model.h" | 10 #include "chrome/browser/back_forward_menu_model.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 23 // MenuGtk::Delegate | 23 // MenuGtk::Delegate |
| 24 virtual int GetItemCount() const; | 24 virtual int GetItemCount() const; |
| 25 virtual bool IsItemSeparator(int menu_id) const; | 25 virtual bool IsItemSeparator(int menu_id) const; |
| 26 virtual std::string GetLabel(int menu_id) const; | 26 virtual std::string GetLabel(int menu_id) const; |
| 27 virtual bool HasIcon(int menu_id) const; | 27 virtual bool HasIcon(int menu_id) const; |
| 28 virtual const SkBitmap* GetIcon(int menu_id) const; | 28 virtual const SkBitmap* GetIcon(int menu_id) const; |
| 29 virtual bool IsCommandEnabled(int command_id) const; | 29 virtual bool IsCommandEnabled(int command_id) const; |
| 30 virtual void ExecuteCommand(int command_id); | 30 virtual void ExecuteCommand(int command_id); |
| 31 virtual void StoppedShowing(); | 31 virtual void StoppedShowing(); |
| 32 virtual bool AlwaysShowImages() const; |
| 32 | 33 |
| 33 private: | 34 private: |
| 34 BackForwardButtonGtk* button_; | 35 BackForwardButtonGtk* button_; |
| 35 | 36 |
| 36 DISALLOW_COPY_AND_ASSIGN(BackForwardMenuModelGtk); | 37 DISALLOW_COPY_AND_ASSIGN(BackForwardMenuModelGtk); |
| 37 }; | 38 }; |
| 38 | 39 |
| 39 #endif // CHROME_BROWSER_GTK_BACK_FORWARD_MENU_MODEL_GTK_H_ | 40 #endif // CHROME_BROWSER_GTK_BACK_FORWARD_MENU_MODEL_GTK_H_ |
| OLD | NEW |