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

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

Issue 175263003: Add chrome.webstore API methods to allow sites to see progress of installation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: separate pure-virtual change Created 6 years, 10 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_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 <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 // ExtensionFunctionDispatcher::Delegate overrides. 200 // ExtensionFunctionDispatcher::Delegate overrides.
201 virtual extensions::WindowController* GetExtensionWindowController() 201 virtual extensions::WindowController* GetExtensionWindowController()
202 const OVERRIDE; 202 const OVERRIDE;
203 virtual content::WebContents* GetAssociatedWebContents() const OVERRIDE; 203 virtual content::WebContents* GetAssociatedWebContents() const OVERRIDE;
204 204
205 // Message handlers. 205 // Message handlers.
206 void OnDidGetApplicationInfo(int32 page_id, const WebApplicationInfo& info); 206 void OnDidGetApplicationInfo(int32 page_id, const WebApplicationInfo& info);
207 void OnInlineWebstoreInstall(int install_id, 207 void OnInlineWebstoreInstall(int install_id,
208 int return_route_id, 208 int return_route_id,
209 const std::string& webstore_item_id, 209 const std::string& webstore_item_id,
210 const GURL& requestor_url); 210 const GURL& requestor_url,
211 int listeners_mask);
211 void OnGetAppInstallState(const GURL& requestor_url, 212 void OnGetAppInstallState(const GURL& requestor_url,
212 int return_route_id, 213 int return_route_id,
213 int callback_id); 214 int callback_id);
214 void OnRequest(const ExtensionHostMsg_Request_Params& params); 215 void OnRequest(const ExtensionHostMsg_Request_Params& params);
215 void OnContentScriptsExecuting( 216 void OnContentScriptsExecuting(
216 const ScriptExecutionObserver::ExecutingScriptsMap& extension_ids, 217 const ScriptExecutionObserver::ExecutingScriptsMap& extension_ids,
217 int32 page_id, 218 int32 page_id,
218 const GURL& on_url); 219 const GURL& on_url);
219 void OnWatchedPageChange(const std::vector<std::string>& css_selectors); 220 void OnWatchedPageChange(const std::vector<std::string>& css_selectors);
220 void OnDetailedConsoleMessageAdded(const base::string16& message, 221 void OnDetailedConsoleMessageAdded(const base::string16& message,
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 293
293 // Creates WebstoreInlineInstaller instances for inline install triggers. 294 // Creates WebstoreInlineInstaller instances for inline install triggers.
294 scoped_ptr<WebstoreInlineInstallerFactory> webstore_inline_installer_factory_; 295 scoped_ptr<WebstoreInlineInstallerFactory> webstore_inline_installer_factory_;
295 296
296 DISALLOW_COPY_AND_ASSIGN(TabHelper); 297 DISALLOW_COPY_AND_ASSIGN(TabHelper);
297 }; 298 };
298 299
299 } // namespace extensions 300 } // namespace extensions
300 301
301 #endif // CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ 302 #endif // CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698