|
Add WebstoreInlineInstaller (downloads store data, shows the install UI, and starts the install).
The flow is:
1. Fetch store metadata as JSON (using URLFetcher)
2. Parse response in utility process (via SafeWebstoreResponseParser)
3. Parse manifest and get icon data using WebstoreInstallHelper
4. Show install UI
5. Whitelist extension ID for download and start download
Still missing are a way of informing the page that the inline install succeeded
or failed.
Also removes ExtensionTabHelper::GetCustomFrameNativeWindow, since it wasn't
actually overriding anything (the method was removed from
ExtensionFunctionDispatcher::Delegate by r74835).
R=asargent@chromium.org
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98712
Total comments: 15
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+626 lines, -118 lines) |
Patch |
|
M |
chrome/browser/extensions/extension_install_dialog.h
|
View
|
1
2
|
3 chunks |
+26 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/extensions/extension_install_dialog.cc
|
View
|
1
2
|
1 chunk |
+74 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/extension_tab_helper.h
|
View
|
1
|
4 chunks |
+12 lines, -7 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/extension_tab_helper.cc
|
View
|
1
|
3 chunks |
+12 lines, -22 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/extension_webstore_private_api.h
|
View
|
1
2
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/extension_webstore_private_api.cc
|
View
|
1
2
|
2 chunks |
+8 lines, -52 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/extension_webstore_private_apitest.cc
|
View
|
1
2
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/webstore_inline_install_browsertest.cc
|
View
|
1
2
|
1 chunk |
+50 lines, -19 lines |
0 comments
|
Download
|
|
A |
chrome/browser/extensions/webstore_inline_installer.h
|
View
|
1
2
|
1 chunk |
+100 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/extensions/webstore_inline_installer.cc
|
View
|
1
2
|
1 chunk |
+293 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_browser.gypi
|
View
|
1
2
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/extension_constants.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/extension_constants.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/extension_messages.h
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/extensions/extension_helper.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/extensions/extension_helper.cc
|
View
|
1
2
|
2 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
|
A + |
chrome/test/data/extensions/api_test/webstore_inline_install/detail/ecglahbcnmdpdciemllbhojghbkagdje
|
View
|
1
2
3
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
D |
chrome/test/data/extensions/api_test/webstore_inline_install/ecglahbcnmdpdciemllbhojghbkagdje
|
View
|
1
2
3
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/test/data/extensions/api_test/webstore_inline_install/find_link.html
|
View
|
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/test/data/extensions/api_test/webstore_inline_install/install.html
|
View
|
|
1 chunk |
+13 lines, -3 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|