diff options
author | scottbyer@google.com <scottbyer@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-02 21:57:35 +0000 |
---|---|---|
committer | scottbyer@google.com <scottbyer@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-02 21:57:35 +0000 |
commit | ea161da013c64b7d63921a3a23289a667d284e0e (patch) | |
tree | a69d71b4b815b7a61143e101147ea0124ddf56b8 /chrome/common | |
parent | bdcbfd7bca18798c4ae1169e3c79f5c816df390f (diff) | |
download | chromium_src-ea161da013c64b7d63921a3a23289a667d284e0e.zip chromium_src-ea161da013c64b7d63921a3a23289a667d284e0e.tar.gz chromium_src-ea161da013c64b7d63921a3a23289a667d284e0e.tar.bz2 |
Cloud Print Dialog work.
Allow an HTML dialog to suppress the title bar in a Chromium OS bubble window.
For the Cloud Print dialog, remember the last size requested by the contents.
BUG=chromium-os:8494
TEST=none
Review URL: http://codereview.chromium.org/4110010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64824 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/pref_names.cc | 4 | ||||
-rw-r--r-- | chrome/common/pref_names.h | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc index c29e137..8e34a8f 100644 --- a/chrome/common/pref_names.cc +++ b/chrome/common/pref_names.cc @@ -1018,6 +1018,10 @@ const char kLoginDatabaseMigrated[] = "login_database.migrated"; // The root URL of the cloud print service. const char kCloudPrintServiceURL[] = "cloud_print.service_url"; +// The last requested size of the dialog as it was closed. +const char kCloudPrintDialogWidth[] = "cloud_print.dialog_size.width"; +const char kCloudPrintDialogHeight[] = "cloud_print.dialog_size.height"; + const char kRemotingHasSetupCompleted[] = "remoting.has_setup_completed"; // The list of BackgroundContents that should be loaded when the browser diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h index bc82008..5799ec0 100644 --- a/chrome/common/pref_names.h +++ b/chrome/common/pref_names.h @@ -376,8 +376,10 @@ extern const char kGeolocationContentSettings[]; extern const char kLoginDatabaseMigrated[]; -extern const char kCloudPrintProxyEnabled[]; extern const char kCloudPrintServiceURL[]; +extern const char kCloudPrintDialogWidth[]; +extern const char kCloudPrintDialogHeight[]; +extern const char kCloudPrintProxyEnabled[]; extern const char kCloudPrintProxyId[]; extern const char kCloudPrintAuthToken[]; extern const char kCloudPrintXMPPAuthToken[]; |