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

Side by Side Diff: chrome/browser/ui/toolbar/bookmark_sub_menu_model.cc

Issue 10918209: Move menu item for pinning to start screen on Windows 8 into the bookmarks menu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/toolbar/wrench_menu_model.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/ui/toolbar/bookmark_sub_menu_model.h" 5 #include "chrome/browser/ui/toolbar/bookmark_sub_menu_model.h"
6 6
7 #include "chrome/app/chrome_command_ids.h" 7 #include "chrome/app/chrome_command_ids.h"
8 #include "grit/generated_resources.h" 8 #include "grit/generated_resources.h"
9 9
10 // For views and cocoa, we have complex delegate systems to handle 10 // For views and cocoa, we have complex delegate systems to handle
(...skipping 14 matching lines...) Expand all
25 BookmarkSubMenuModel::~BookmarkSubMenuModel() {} 25 BookmarkSubMenuModel::~BookmarkSubMenuModel() {}
26 26
27 void BookmarkSubMenuModel::Build(Browser* browser) { 27 void BookmarkSubMenuModel::Build(Browser* browser) {
28 AddCheckItemWithStringId(IDC_SHOW_BOOKMARK_BAR, IDS_SHOW_BOOKMARK_BAR); 28 AddCheckItemWithStringId(IDC_SHOW_BOOKMARK_BAR, IDS_SHOW_BOOKMARK_BAR);
29 AddItemWithStringId(IDC_SHOW_BOOKMARK_MANAGER, IDS_BOOKMARK_MANAGER); 29 AddItemWithStringId(IDC_SHOW_BOOKMARK_MANAGER, IDS_BOOKMARK_MANAGER);
30 #if !defined(OS_CHROMEOS) 30 #if !defined(OS_CHROMEOS)
31 AddItemWithStringId(IDC_IMPORT_SETTINGS, IDS_IMPORT_SETTINGS_MENU_LABEL); 31 AddItemWithStringId(IDC_IMPORT_SETTINGS, IDS_IMPORT_SETTINGS_MENU_LABEL);
32 #endif 32 #endif
33 AddSeparator(ui::NORMAL_SEPARATOR); 33 AddSeparator(ui::NORMAL_SEPARATOR);
34 AddItemWithStringId(IDC_BOOKMARK_PAGE, IDS_BOOKMARK_STAR); 34 AddItemWithStringId(IDC_BOOKMARK_PAGE, IDS_BOOKMARK_STAR);
35 AddItemWithStringId(IDC_PIN_TO_START_SCREEN, IDS_PIN_TO_START_SCREEN);
35 #if defined(OS_MACOSX) 36 #if defined(OS_MACOSX)
36 AddSeparator(ui::NORMAL_SEPARATOR); 37 AddSeparator(ui::NORMAL_SEPARATOR);
37 #endif 38 #endif
38 } 39 }
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/toolbar/wrench_menu_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698