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

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

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
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 #include "chrome/browser/gtk/back_forward_menu_model_gtk.h" 5 #include "chrome/browser/gtk/back_forward_menu_model_gtk.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "chrome/browser/gtk/back_forward_button_gtk.h" 9 #include "chrome/browser/gtk/back_forward_button_gtk.h"
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 } 47 }
48 48
49 void BackForwardMenuModelGtk::ExecuteCommand(int command_id) { 49 void BackForwardMenuModelGtk::ExecuteCommand(int command_id) {
50 ExecuteCommandById(command_id); 50 ExecuteCommandById(command_id);
51 } 51 }
52 52
53 void BackForwardMenuModelGtk::StoppedShowing() { 53 void BackForwardMenuModelGtk::StoppedShowing() {
54 if (button_) 54 if (button_)
55 button_->StoppedShowingMenu(); 55 button_->StoppedShowingMenu();
56 } 56 }
57
58 bool BackForwardMenuModelGtk::AlwaysShowImages() const {
59 return true;
60 }
OLDNEW
« no previous file with comments | « chrome/browser/gtk/back_forward_menu_model_gtk.h ('k') | chrome/browser/gtk/bookmark_menu_controller_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698