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

Side by Side Diff: chrome/browser/extensions/tab_helper.h

Issue 64853004: Use high resolution icons where possible for streamlined hosted app icons. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@browser_experiment_create_app_from_page
Patch Set: rework Created 7 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/extensions/tab_helper.cc » ('j') | chrome/browser/ui/browser.h » ('J')
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_EXTENSIONS_TAB_HELPER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_
6 #define CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 } 92 }
93 93
94 void RemoveScriptExecutionObserver(ScriptExecutionObserver* observer) { 94 void RemoveScriptExecutionObserver(ScriptExecutionObserver* observer) {
95 script_execution_observers_.RemoveObserver(observer); 95 script_execution_observers_.RemoveObserver(observer);
96 } 96 }
97 97
98 void CreateApplicationShortcuts(); 98 void CreateApplicationShortcuts();
99 void CreateHostedAppFromWebContents(); 99 void CreateHostedAppFromWebContents();
100 bool CanCreateApplicationShortcuts() const; 100 bool CanCreateApplicationShortcuts() const;
101 101
102 void CreateHostedApp(const WebApplicationInfo& info);
103
104 void set_pending_web_app_action(WebAppAction action) { 102 void set_pending_web_app_action(WebAppAction action) {
105 pending_web_app_action_ = action; 103 pending_web_app_action_ = action;
106 } 104 }
107 105
108 // App extensions ------------------------------------------------------------ 106 // App extensions ------------------------------------------------------------
109 107
110 // Sets the extension denoting this as an app. If |extension| is non-null this 108 // Sets the extension denoting this as an app. If |extension| is non-null this
111 // tab becomes an app-tab. WebContents does not listen for unload events for 109 // tab becomes an app-tab. WebContents does not listen for unload events for
112 // the extension. It's up to consumers of WebContents to do that. 110 // the extension. It's up to consumers of WebContents to do that.
113 // 111 //
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 274
277 // Creates WebstoreInlineInstaller instances for inline install triggers. 275 // Creates WebstoreInlineInstaller instances for inline install triggers.
278 scoped_ptr<WebstoreInlineInstallerFactory> webstore_inline_installer_factory_; 276 scoped_ptr<WebstoreInlineInstallerFactory> webstore_inline_installer_factory_;
279 277
280 DISALLOW_COPY_AND_ASSIGN(TabHelper); 278 DISALLOW_COPY_AND_ASSIGN(TabHelper);
281 }; 279 };
282 280
283 } // namespace extensions 281 } // namespace extensions
284 282
285 #endif // CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ 283 #endif // CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/tab_helper.cc » ('j') | chrome/browser/ui/browser.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698