diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-14 00:38:12 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-14 00:38:12 +0000 |
commit | 73852b8f9c03c6b7a27436f828ed888f71232257 (patch) | |
tree | da07fd53317f13964f93383f9591fcdfdfa61ea7 /chrome/common | |
parent | 564551a2ece790b22fd2a70aeb8591805fe943be (diff) | |
download | chromium_src-73852b8f9c03c6b7a27436f828ed888f71232257.zip chromium_src-73852b8f9c03c6b7a27436f828ed888f71232257.tar.gz chromium_src-73852b8f9c03c6b7a27436f828ed888f71232257.tar.bz2 |
[Large; Chromium OS] Work to host the cloud print dialog when built
for Chromium OS. Currently disabled by default behind a command line
switch, and containing a non-real URL for now, this code is at
prototype level. It works (when enabled and pointed at a functioning
cloud print service URL), has the beginnings of some unit tests, and
has the beginnings of deeper communication with the dialog contents,
and it shuts off the DOM UI access from the dialog contents.
Patch contributed by Scott Byer
Review URL: http://codereview.chromium.org/1769006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47228 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/chrome_switches.h | 1 | ||||
-rw-r--r-- | chrome/common/url_constants.cc | 3 | ||||
-rw-r--r-- | chrome/common/url_constants.h | 4 |
3 files changed, 8 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h index c22fc24..ab8c758 100644 --- a/chrome/common/chrome_switches.h +++ b/chrome/common/chrome_switches.h @@ -89,6 +89,7 @@ extern const char kEnableApps[]; extern const char kEnableAuthNegotiatePort[]; extern const char kEnableBenchmarking[]; extern const char kEnableCloudPrintProxy[]; +extern const char kEnableCloudPrint[]; extern const char kEnableExperimentalExtensionApis[]; extern const char kEnableExperimentalWebGL[]; extern const char kEnableExtensionTimelineApi[]; diff --git a/chrome/common/url_constants.cc b/chrome/common/url_constants.cc index 879b2f7..6542fd1 100644 --- a/chrome/common/url_constants.cc +++ b/chrome/common/url_constants.cc @@ -93,6 +93,9 @@ const char kSyncSetupDonePath[] = "setupdone"; const char kAppCacheViewInternalsURL[] = "chrome://appcache-internals/"; +const char kCloudPrintResourcesURL[] = "chrome://cloudprintresources/"; +const char kCloudPrintResourcesHost[] = "cloudprintresources"; + const char kNetworkViewInternalsURL[] = "chrome://net-internals/"; const char kNetworkViewCacheURL[] = "chrome://view-http-cache/"; diff --git a/chrome/common/url_constants.h b/chrome/common/url_constants.h index 230cc67..e3cf3d9 100644 --- a/chrome/common/url_constants.h +++ b/chrome/common/url_constants.h @@ -93,6 +93,10 @@ extern const char kSyncSetupDonePath[]; // AppCache related URL. extern const char kAppCacheViewInternalsURL[]; +// Cloud Print dialog URL components. +extern const char kCloudPrintResourcesURL[]; +extern const char kCloudPrintResourcesHost[]; + // Network related URLs. extern const char kNetworkViewCacheURL[]; extern const char kNetworkViewInternalsURL[]; |