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

Unified Diff: chrome/browser/extensions/component_loader.cc

Issue 272013002: Provide skeleton for ChromeVox next. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase again. Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/resources/chromeos/chromevox2/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/component_loader.cc
diff --git a/chrome/browser/extensions/component_loader.cc b/chrome/browser/extensions/component_loader.cc
index facaf8eb7b9bbab4675db0f164d8553c7bb3fa9f..99129d8cb5d6462731be9853019ede3c714dc399 100644
--- a/chrome/browser/extensions/component_loader.cc
+++ b/chrome/browser/extensions/component_loader.cc
@@ -330,6 +330,11 @@ std::string ComponentLoader::AddChromeVoxExtension() {
const CommandLine* command_line = CommandLine::ForCurrentProcess();
int idr = command_line->HasSwitch(chromeos::switches::kGuestSession) ?
IDR_CHROMEVOX_GUEST_MANIFEST : IDR_CHROMEVOX_MANIFEST;
+
+ // TODO(dtseng): Guest mode manifest for ChromeVox Next pending work to
+ // generate manifests.
+ if (command_line->HasSwitch(chromeos::switches::kEnableChromeVoxNext))
+ idr = IDR_CHROMEVOX2_MANIFEST;
return Add(idr, base::FilePath(extension_misc::kChromeVoxExtensionPath));
}
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/resources/chromeos/chromevox2/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698