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

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

Issue 10699057: Move application creation and extension install prompt showing off Browser and onto ExtensionTabHel… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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/browser/ui/browser_command_controller.cc ('k') | chrome/browser/ui/browser_commands.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) 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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 136
137 // Opens view-source tab for any frame within given tab contents. 137 // Opens view-source tab for any frame within given tab contents.
138 void ViewSource(Browser* browser, 138 void ViewSource(Browser* browser,
139 TabContents* tab, 139 TabContents* tab,
140 const GURL& url, 140 const GURL& url,
141 const std::string& content_state); 141 const std::string& content_state);
142 142
143 void ViewSelectedSource(Browser* browser); 143 void ViewSelectedSource(Browser* browser);
144 bool CanViewSource(const Browser* browser); 144 bool CanViewSource(const Browser* browser);
145 145
146 void CreateApplicationShortcuts(Browser* browser);
146 bool CanCreateApplicationShortcuts(const Browser* browser); 147 bool CanCreateApplicationShortcuts(const Browser* browser);
147 148
148 void ConvertTabToAppWindow(Browser* browser, content::WebContents* contents); 149 void ConvertTabToAppWindow(Browser* browser, content::WebContents* contents);
149 150
150 } // namespace chrome 151 } // namespace chrome
151 152
152 #endif // CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ 153 #endif // CHROME_BROWSER_UI_BROWSER_COMMANDS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_command_controller.cc ('k') | chrome/browser/ui/browser_commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698