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

Side by Side Diff: chrome/browser/ui/browser_commands.h

Issue 2772713002: Remove IDC_CREATE_SHORTCUT and its associated UI. (Closed)
Patch Set: respond to comments Created 3 years, 8 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_UI_BROWSER_COMMANDS_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_COMMANDS_H_
6 #define CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ 6 #define CHROME_BROWSER_UI_BROWSER_COMMANDS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 148
149 // Opens a view-source tab for any frame within a given web contents. 149 // Opens a view-source tab for any frame within a given web contents.
150 void ViewSource(Browser* browser, 150 void ViewSource(Browser* browser,
151 content::WebContents* tab, 151 content::WebContents* tab,
152 const GURL& url, 152 const GURL& url,
153 const content::PageState& page_state); 153 const content::PageState& page_state);
154 154
155 void ViewSelectedSource(Browser* browser); 155 void ViewSelectedSource(Browser* browser);
156 bool CanViewSource(const Browser* browser); 156 bool CanViewSource(const Browser* browser);
157 157
158 void CreateApplicationShortcuts(Browser* browser);
159 void CreateBookmarkAppFromCurrentWebContents(Browser* browser); 158 void CreateBookmarkAppFromCurrentWebContents(Browser* browser);
160 bool CanCreateApplicationShortcuts(const Browser* browser);
161 bool CanCreateBookmarkApp(const Browser* browser); 159 bool CanCreateBookmarkApp(const Browser* browser);
162 160
163 void ConvertTabToAppWindow(Browser* browser, content::WebContents* contents);
164
165 } // namespace chrome 161 } // namespace chrome
166 162
167 #endif // CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ 163 #endif // CHROME_BROWSER_UI_BROWSER_COMMANDS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698