|
Initial work on making extensions work in incognito mode.
This merely adds a way to enable content scripts and browser actions in incognito windows. They still don't work properly because none of the APIs work with incognito tabs.
The way to enable an extension is to add an "incognito" bit in the user prefs file. My plan is to add UI for this later.
BUG= 32365
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=38852
Total comments: 14
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+355 lines, -103 lines) |
Patch |
|
M |
chrome/browser/cocoa/extensions/browser_actions_controller.mm
|
View
|
2
3
|
3 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/browser_action_apitest.cc
|
View
|
2
3
|
2 chunks |
+108 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/browser_action_test_util_views.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/extension_prefs.h
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/extension_prefs.cc
|
View
|
1
|
2 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/extension_toolbar_model.h
|
View
|
1
2
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/extension_toolbar_model.cc
|
View
|
1
2
3
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/extensions_service.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/extensions_service.cc
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/incognito_noscript_apitest.cc
|
View
|
2
3
|
2 chunks |
+40 lines, -15 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/user_script_master.h
|
View
|
2
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/user_script_master.cc
|
View
|
1
2
3
|
3 chunks |
+15 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/gtk/browser_actions_toolbar_gtk.h
|
View
|
2
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/gtk/browser_actions_toolbar_gtk.cc
|
View
|
2
3
|
4 chunks |
+22 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/net/chrome_url_request_context.h
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/net/chrome_url_request_context.cc
|
View
|
|
2 chunks |
+0 lines, -36 lines |
0 comments
|
Download
|
|
M |
chrome/browser/profile.cc
|
View
|
1
2
|
5 chunks |
+7 lines, -14 lines |
0 comments
|
Download
|
|
M |
chrome/browser/renderer_host/browser_render_process_host.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/views/browser_actions_container.h
|
View
|
1
2
|
1 chunk |
+8 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/views/browser_actions_container.cc
|
View
|
1
2
3
|
6 chunks |
+26 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/extension.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/extension.cc
|
View
|
1
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/common/extensions/user_script.h
|
View
|
1
|
3 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/common/extensions/user_script.cc
|
View
|
|
2 chunks |
+3 lines, -12 lines |
0 comments
|
Download
|
|
M |
chrome/common/render_messages_internal.h
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/render_thread.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/renderer/render_thread.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/user_script_slave.h
|
View
|
1
2
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/user_script_slave.cc
|
View
|
|
2 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/test/data/extensions/api_test/browser_action/add_popup/manifest.json
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/test/data/extensions/api_test/browser_action/basics/manifest.json
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/test/data/extensions/api_test/browser_action/popup/manifest.json
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/test/data/extensions/api_test/incognito_no_script/manifest.json
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|