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

Side by Side Diff: chrome/renderer/extensions/extension_helper.h

Issue 7741037: Add WebstoreInlineInstaller (downloads store data, shows the install UI, and starts the install). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Put webstore response in the right directory. Created 9 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
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 #ifndef CHROME_RENDERER_EXTENSIONS_EXTENSION_HELPER_H_ 5 #ifndef CHROME_RENDERER_EXTENSIONS_EXTENSION_HELPER_H_
6 #define CHROME_RENDERER_EXTENSIONS_EXTENSION_HELPER_H_ 6 #define CHROME_RENDERER_EXTENSIONS_EXTENSION_HELPER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 10
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 const std::string& response, 61 const std::string& response,
62 const std::string& error); 62 const std::string& error);
63 void OnExtensionMessageInvoke(const std::string& extension_id, 63 void OnExtensionMessageInvoke(const std::string& extension_id,
64 const std::string& function_name, 64 const std::string& function_name,
65 const base::ListValue& args, 65 const base::ListValue& args,
66 const GURL& event_url); 66 const GURL& event_url);
67 void OnExecuteCode(const ExtensionMsg_ExecuteCode_Params& params); 67 void OnExecuteCode(const ExtensionMsg_ExecuteCode_Params& params);
68 void OnGetApplicationInfo(int page_id); 68 void OnGetApplicationInfo(int page_id);
69 void OnNotifyRendererViewType(ViewType::Type view_type); 69 void OnNotifyRendererViewType(ViewType::Type view_type);
70 void OnUpdateBrowserWindowId(int window_id); 70 void OnUpdateBrowserWindowId(int window_id);
71 void OnInlineWebstoreInstallResponse(bool success, const std::string& error);
71 72
72 // Callback triggered when we finish downloading the application definition 73 // Callback triggered when we finish downloading the application definition
73 // file. 74 // file.
74 void DidDownloadApplicationDefinition(const WebKit::WebURLResponse& response, 75 void DidDownloadApplicationDefinition(const WebKit::WebURLResponse& response,
75 const std::string& data); 76 const std::string& data);
76 77
77 // Callback triggered after each icon referenced by the application definition 78 // Callback triggered after each icon referenced by the application definition
78 // is downloaded. 79 // is downloaded.
79 void DidDownloadApplicationIcon(webkit_glue::ImageResourceFetcher* fetcher, 80 void DidDownloadApplicationIcon(webkit_glue::ImageResourceFetcher* fetcher,
80 const SkBitmap& image); 81 const SkBitmap& image);
(...skipping 21 matching lines...) Expand all
102 // Type of view attached with RenderView. 103 // Type of view attached with RenderView.
103 ViewType::Type view_type_; 104 ViewType::Type view_type_;
104 105
105 // Id number of browser window which RenderView is attached to. 106 // Id number of browser window which RenderView is attached to.
106 int browser_window_id_; 107 int browser_window_id_;
107 108
108 DISALLOW_COPY_AND_ASSIGN(ExtensionHelper); 109 DISALLOW_COPY_AND_ASSIGN(ExtensionHelper);
109 }; 110 };
110 111
111 #endif // CHROME_RENDERER_EXTENSIONS_EXTENSION_HELPER_H_ 112 #endif // CHROME_RENDERER_EXTENSIONS_EXTENSION_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_messages.h ('k') | chrome/renderer/extensions/extension_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698