summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorzelidrag@chromium.org <zelidrag@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-25 06:17:04 +0000
committerzelidrag@chromium.org <zelidrag@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-25 06:17:04 +0000
commit9d3f7d5e85d9834495434d7b925c1ba7933a344f (patch)
tree1b1100ef3ca76cbd86aa302cd29603c7dbffed84 /chrome/common
parent5530ac65a61c659e28ced24a4479a5c4d11dc546 (diff)
downloadchromium_src-9d3f7d5e85d9834495434d7b925c1ba7933a344f.zip
chromium_src-9d3f7d5e85d9834495434d7b925c1ba7933a344f.tar.gz
chromium_src-9d3f7d5e85d9834495434d7b925c1ba7933a344f.tar.bz2
Skeleton for mobile device activation UI.
BUG=chromium-os:6868 TEST=none Review URL: http://codereview.chromium.org/3448018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60568 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/url_constants.cc28
-rw-r--r--chrome/common/url_constants.h28
2 files changed, 36 insertions, 20 deletions
diff --git a/chrome/common/url_constants.cc b/chrome/common/url_constants.cc
index 8a119f9..5b31d9c 100644
--- a/chrome/common/url_constants.cc
+++ b/chrome/common/url_constants.cc
@@ -74,21 +74,25 @@ const char kChromeUIDevToolsURL[] = "chrome://devtools/";
const char kChromeUIDownloadsURL[] = "chrome://downloads/";
const char kChromeUIExtensionsURL[] = "chrome://extensions/";
const char kChromeUIFavIconURL[] = "chrome://favicon/";
-const char kChromeUIFileBrowseURL[] = "chrome://filebrowse/";
const char kChromeUIHistory2URL[] = "chrome://history2/";
const char kChromeUIHistoryURL[] = "chrome://history/";
-const char kChromeUIImageBurnerURL[] = "chrome://imageburner/";
const char kChromeUIIPCURL[] = "chrome://about/ipc";
const char kChromeUIKeyboardURL[] = "chrome://keyboard/";
const char kChromeUILabsURL[] = "chrome://labs/";
-const char kChromeUIMediaplayerURL[] = "chrome://mediaplayer/";
const char kChromeUINewTabURL[] = "chrome://newtab";
const char kChromeUIPluginsURL[] = "chrome://plugins/";
const char kChromeUIPrintURL[] = "chrome://print/";
-const char kChromeUIRegisterPageURL[] = "chrome://register/";
const char kChromeUISettingsURL[] = "chrome://settings/";
+
+#if defined(OS_CHROMEOS)
+const char kChromeUIFileBrowseURL[] = "chrome://filebrowse/";
+const char kChromeUIImageBurnerURL[] = "chrome://imageburner/";
+const char kChromeUIMediaplayerURL[] = "chrome://mediaplayer/";
+const char kChromeUIMobileSetupURL[] = "chrome://mobilesetup/";
+const char kChromeUIRegisterPageURL[] = "chrome://register/";
const char kChromeUISlideshowURL[] = "chrome://slideshow/";
const char kChromeUISystemInfoURL[] = "chrome://system/";
+#endif
const char kChromeUIBookmarksHost[] = "bookmarks";
const char kChromeUIBugReportHost[] = "bugreport";
@@ -97,30 +101,34 @@ const char kChromeUIDialogHost[] = "dialog";
const char kChromeUIDownloadsHost[] = "downloads";
const char kChromeUIExtensionsHost[] = "extensions";
const char kChromeUIFavIconHost[] = "favicon";
-const char kChromeUIFileBrowseHost[] = "filebrowse";
const char kChromeUIHistoryHost[] = "history";
const char kChromeUIHistory2Host[] = "history2";
-const char kChromeUIImageBurnerHost[] = "imageburner";
const char kChromeUIInspectorHost[] = "inspector";
const char kChromeUIKeyboardHost[] = "keyboard";
const char kChromeUILabsHost[] = "labs";
-const char kChromeUIMediaplayerHost[] = "mediaplayer";
const char kChromeUINetInternalsHost[] = "net-internals";
const char kChromeUINewTabHost[] = "newtab";
const char kChromeUIPluginsHost[] = "plugins";
const char kChromeUIPrintHost[] = "print";
-const char kChromeUIRegisterPageHost[] = "register";
const char kChromeUIRemotingHost[] = "remoting";
const char kChromeUIResourcesHost[] = "resources";
const char kChromeUISettingsHost[] = "settings";
-const char kChromeUISlideshowHost[] = "slideshow";
const char kChromeUISyncResourcesHost[] = "syncresources";
-const char kChromeUISystemInfoHost[] = "system";
const char kChromeUIRemotingResourcesHost[] = "remotingresources";
const char kChromeUIThemePath[] = "theme";
const char kChromeUIScreenshotPath[] = "screenshots";
const char kChromeUIThumbnailPath[] = "thumb";
+#if defined(OS_CHROMEOS)
+const char kChromeUIFileBrowseHost[] = "filebrowse";
+const char kChromeUIImageBurnerHost[] = "imageburner";
+const char kChromeUIMediaplayerHost[] = "mediaplayer";
+const char kChromeUIMobileSetupHost[] = "mobilesetup";
+const char kChromeUIRegisterPageHost[] = "register";
+const char kChromeUISlideshowHost[] = "slideshow";
+const char kChromeUISystemInfoHost[] = "system";
+#endif
+
const char kAppCacheViewInternalsURL[] = "chrome://appcache-internals/";
const char kCloudPrintResourcesURL[] = "chrome://cloudprintresources/";
diff --git a/chrome/common/url_constants.h b/chrome/common/url_constants.h
index b665550..5b3ce0b 100644
--- a/chrome/common/url_constants.h
+++ b/chrome/common/url_constants.h
@@ -67,21 +67,25 @@ extern const char kChromeUIDevToolsURL[];
extern const char kChromeUIDownloadsURL[];
extern const char kChromeUIExtensionsURL[];
extern const char kChromeUIFavIconURL[];
-extern const char kChromeUIFileBrowseURL[];
extern const char kChromeUIHistory2URL[];
extern const char kChromeUIHistoryURL[];
-extern const char kChromeUIImageBurnerURL[];
extern const char kChromeUIIPCURL[];
extern const char kChromeUIKeyboardURL[];
extern const char kChromeUILabsURL[];
-extern const char kChromeUIMediaplayerURL[];
extern const char kChromeUINewTabURL[];
extern const char kChromeUIPluginsURL[];
extern const char kChromeUIPrintURL[];
-extern const char kChromeUIRegisterPageURL[];
extern const char kChromeUISettingsURL[];
+
+#if defined(OS_CHROMEOS)
+extern const char kChromeUIFileBrowseURL[];
+extern const char kChromeUIImageBurnerURL[];
+extern const char kChromeUIMediaplayerURL[];
+extern const char kChromeUIMobileSetupURL[];
+extern const char kChromeUIRegisterPageURL[];
extern const char kChromeUISlideshowURL[];
extern const char kChromeUISystemInfoURL[];
+#endif
// chrome components of URLs. Should be kept in sync with the full URLs
// above.
@@ -92,30 +96,34 @@ extern const char kChromeUIDialogHost[];
extern const char kChromeUIDownloadsHost[];
extern const char kChromeUIExtensionsHost[];
extern const char kChromeUIFavIconHost[];
-extern const char kChromeUIFileBrowseHost[];
extern const char kChromeUIHistory2Host[];
extern const char kChromeUIHistoryHost[];
-extern const char kChromeUIImageBurnerHost[];
extern const char kChromeUIInspectorHost[];
extern const char kChromeUIKeyboardHost[];
extern const char kChromeUILabsHost[];
-extern const char kChromeUIMediaplayerHost[];
extern const char kChromeUINetInternalsHost[];
extern const char kChromeUINewTabHost[];
extern const char kChromeUIPluginsHost[];
extern const char kChromeUIPrintHost[];
-extern const char kChromeUIRegisterPageHost[];
extern const char kChromeUIRemotingHost[];
extern const char kChromeUIRemotingResourcesHost[];
extern const char kChromeUIResourcesHost[];
extern const char kChromeUIScreenshotPath[];
extern const char kChromeUISettingsHost[];
-extern const char kChromeUISlideshowHost[];
extern const char kChromeUISyncResourcesHost[];
-extern const char kChromeUISystemInfoHost[];
extern const char kChromeUIThemePath[];
extern const char kChromeUIThumbnailPath[];
+#if defined(OS_CHROMEOS)
+extern const char kChromeUIFileBrowseHost[];
+extern const char kChromeUIImageBurnerHost[];
+extern const char kChromeUIMediaplayerHost[];
+extern const char kChromeUIMobileSetupHost[];
+extern const char kChromeUIRegisterPageHost[];
+extern const char kChromeUISlideshowHost[];
+extern const char kChromeUISystemInfoHost[];
+#endif
+
// AppCache related URL.
extern const char kAppCacheViewInternalsURL[];