|
|
Re-land alexbost's experimental Offscreen Tabs API work.
Original code review was http://codereview.chromium.org/7720002/ .
Rebased to top of tree. Fixed issues with custom bindings not getting called.
Reimplemented custom bindings to copy objects rather than deleting properties
of incoming event objects.
Eliminated duplicate constants. Refactored majority of
ToDataUrlOffscreenTabFunction and UpdateOffscreenTabFunction. Refactored code
copying modifiers from JS events to WebInputEvents.
BUG= 110833
TEST=OffscreenTabsApiTest_OffscreenTabs
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+6258 lines, -4 lines) |
Patch |
 |
M |
chrome/browser/extensions/extension_function_dispatcher.cc
|
View
|
1
2
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/extensions/extension_offscreen_tabs_apitest.cc
|
View
|
1
2
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/extensions/extension_offscreen_tabs_module.h
|
View
|
1
|
1 chunk |
+122 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/extensions/extension_offscreen_tabs_module.cc
|
View
|
1
|
1 chunk |
+1092 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/extensions/extension_offscreen_tabs_module_constants.h
|
View
|
1
|
1 chunk |
+60 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/extensions/extension_offscreen_tabs_module_constants.cc
|
View
|
1
|
1 chunk |
+54 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_tabs_module.h
|
View
|
1
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_renderer.gypi
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests.gypi
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/common_resources.grd
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/common/extensions/api/experimental.offscreenTabs.json
|
View
|
|
1 chunk |
+338 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/api/extension_api.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/docs/experimental.html
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/common/extensions/docs/experimental.offscreenTabs.html
|
View
|
|
1 chunk |
+4028 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/docs/js/api_page_generator.js
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/docs/samples.json
|
View
|
1
2
|
2 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/extensions/custom_bindings_util.cc
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/renderer_resources.grd
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/renderer/resources/extensions/experimental.offscreenTabs_custom_bindings.js
|
View
|
|
1 chunk |
+89 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/extensions/api_test/offscreen_tabs/a.html
|
View
|
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/extensions/api_test/offscreen_tabs/b.html
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/extensions/api_test/offscreen_tabs/c.html
|
View
|
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/extensions/api_test/offscreen_tabs/manifest.json
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/extensions/api_test/offscreen_tabs/test.html
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/extensions/api_test/offscreen_tabs/test.js
|
View
|
1
2
|
1 chunk |
+366 lines, -0 lines |
0 comments
|
Download
|
|