New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: preliminary support for //extensions #17440
Merged
Merged
Changes from 60 commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
eb07c49
Add extensions deps
samuelmaddock ef8fb1c
Include extensions dep
samuelmaddock 94d857f
Add AtomExtensionsRenderClient
samuelmaddock 9e6e25a
Add AtomExtensionsClient
samuelmaddock 4e4b49d
Dispatch scripts on document events
samuelmaddock 60d2849
Add ExtensionsAPIProvider
samuelmaddock c9f4c2d
Fix compilation errors
samuelmaddock 9636230
Add AtomExtensionsBrowserClient
samuelmaddock 9f3d877
Add remaining browser extensions boilerplate
samuelmaddock 7f77c0e
Add 'load-extension' command line switch to test loading extensions
samuelmaddock e6602e8
Fix ExtensionPrefs runtime error
samuelmaddock 925e691
Fix content::BrowserContext::SetCorsOriginAccessListForOrigin not imp…
samuelmaddock 7705434
Register 'content_scripts' manifest feature
samuelmaddock e5ab6f9
Register extension dispatcher callbacks
samuelmaddock 71e3b21
Move extensions files into /extensions subdirectory
samuelmaddock 89956b7
Initialize SharedUserScriptMaster
samuelmaddock de02b7b
Fix content script injection
samuelmaddock 959b8d2
Add pref_registry dep for PrefRegistrySyncable
samuelmaddock 03b4d02
Add disabled-by-default ENABLE_ELECTRON_EXTENSIONS buildflag
samuelmaddock 164eff4
Fix preprocessor lint errors with extension additions
samuelmaddock 3283c57
Fix build error with including extensions generated code
samuelmaddock db0892d
Conditionally compile extension code files
samuelmaddock 1060e0e
Move prefs deps behind buildflag
samuelmaddock ee262db
Ignore gn check on extensions deps
samuelmaddock 3c5d56d
Rename all 'shell_' files
samuelmaddock 8b75d88
Rename Shell to Atom
samuelmaddock 38608c1
Fix lint issues with renamed Shell code
samuelmaddock 0e30490
chore: remove unused header
MarshallOfSound 1610c4b
build: make some extensions targets public deps to remove nogncheck's
MarshallOfSound 69946d1
chore: add CHECK for LoadApp to ensure it is never called
MarshallOfSound 740cd52
chore: remove refs to CHROMEOS in extensions code
MarshallOfSound adbdb4c
refactor: route AtomExtensionsBrowserClient::IsShuttingDown is atom::…
MarshallOfSound 6204ee9
chore: remove stray TODO comments from extension browser client
MarshallOfSound 4ccea22
chore: route GetNetLog to AtomBrowserClient
MarshallOfSound 96835dc
chore: extensions updates and refactors
MarshallOfSound 7b173ba
chore: route some ExtensionsBrowserClient API calls to BrowserClient …
MarshallOfSound c6a2f4e
chore: remove unused imports in BUILD.gn
MarshallOfSound 2bc0468
chore: fix indentation in manifest features.json
MarshallOfSound 6fa572b
refactor: make ExtensionsBrowserClient multi context and add session.…
MarshallOfSound 480ec26
chore: fix linting issues with TODO
MarshallOfSound b373539
fix build
nornagon 3e87d31
remove redundant null assignment in destructor
nornagon e811818
Merge remote-tracking branch 'origin/master' into samuelmaddock-exten…
nornagon 2270fbe
temporarily allow loading extensions synchronously
nornagon c794a99
make netlog test lazily access its session
nornagon f92dd48
beginnings of a test
nornagon fb16391
Merge remote-tracking branch 'origin/master' into samuelmaddock-exten…
nornagon 86d561c
Merge remote-tracking branch 'origin/master' into samuelmaddock-exten…
nornagon 3ce0838
fix botched merge; popup menus is orthogonal to extensions
nornagon 04905e4
actually test a thing
nornagon df4d598
fetch original context for services with kServiceRedirectedInIncognit…
nornagon dd186b1
test that extensions get loaded in the correct session
nornagon c0e96a3
mark browsercontext as live earlier in initialization
nornagon 5b841f4
add test for chrome.runtime.getManifest()
nornagon 1b5446c
test a couple more simple chrome.runtime APIs
nornagon 072d48c
make chrome.storage work
nornagon bebf359
add todo for runtime.getPlatformInfo
nornagon a38a935
address my own review comments
nornagon 984d8bb
remove bad merge bits
nornagon 5114aab
remove extra console.logs
nornagon 8478256
disable extensions by default
nornagon 823dcc3
make deps unconditional
nornagon File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.