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

Unified Diff: trunk/src/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.h

Issue 26546004: Revert 227675 "reland "views: change WrenchMenu to use each mode..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | trunk/src/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.h
===================================================================
--- trunk/src/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.h (revision 227696)
+++ trunk/src/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.h (working copy)
@@ -39,11 +39,6 @@
class RecentTabsSubMenuModel : public ui::SimpleMenuModel,
public ui::SimpleMenuModel::Delegate {
public:
- // Command Id for recently closed items header or disabled item to which the
- // accelerator string will be appended.
- static const int kRecentlyClosedHeaderCommandId;
- static const int kDisabledRecentlyClosedHeaderCommandId;
-
// If |associator| is NULL, default associator for |browser|'s profile will
// be used. Testing may require a specific |associator|.
RecentTabsSubMenuModel(ui::AcceleratorProvider* accelerator_provider,
@@ -65,6 +60,14 @@
std::string* url,
string16* title) const;
+ // Command Id for recently closed items header or disabled item to which the
+ // accelerator string will be appended.
+ static const int kRecentlyClosedHeaderCommandId;
+ static const int kDisabledRecentlyClosedHeaderCommandId;
+
+ // Command Id for other devices section headers, using the device name.
+ static const int kDeviceNameCommandId;
+
private:
struct TabNavigationItem;
typedef std::vector<TabNavigationItem> TabNavigationItems;
« no previous file with comments | « no previous file | trunk/src/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698