Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(314)

Side by Side Diff: chrome/browser/gtk/back_forward_menu_model_gtk.h

Issue 199099: GTK: Set the back/forward and bookmark bar menus to always show their images.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: commentary Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/gtk/back_forward_menu_model_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/gtk/back_forward_menu_model_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698