diff options
Diffstat (limited to 'chrome/browser/sync/sync_setup_flow.cc')
-rw-r--r-- | chrome/browser/sync/sync_setup_flow.cc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/chrome/browser/sync/sync_setup_flow.cc b/chrome/browser/sync/sync_setup_flow.cc index f59dae0..a6dd5ec 100644 --- a/chrome/browser/sync/sync_setup_flow.cc +++ b/chrome/browser/sync/sync_setup_flow.cc @@ -345,6 +345,10 @@ void SyncSetupFlow::GetDialogSize(gfx::Size* size) const { #endif } +std::string SyncSetupFlow::GetDialogArgs() const { + return dialog_start_args_; +} + // A callback to notify the delegate that the dialog closed. void SyncSetupFlow::OnDialogClosed(const std::string& json_retval) { DCHECK(json_retval.empty()); @@ -385,6 +389,18 @@ void SyncSetupFlow::OnDialogClosed(const std::string& json_retval) { delete this; } +std::wstring SyncSetupFlow::GetDialogTitle() const { + return l10n_util::GetString(IDS_SYNC_MY_BOOKMARKS_LABEL); +} + +bool SyncSetupFlow::IsDialogModal() const { + return false; +} + +bool SyncSetupFlow::ShouldShowDialogTitle() const { + return true; +} + // static void SyncSetupFlow::GetArgsForGaiaLogin(const ProfileSyncService* service, DictionaryValue* args) { @@ -596,6 +612,10 @@ void SyncSetupFlow::Focus() { #endif // defined(OS_MACOSX) } +GURL SyncSetupFlow::GetDialogContentURL() const { + return GURL("chrome://syncresources/setup"); +} + // static SyncSetupFlow* SyncSetupFlow::Run(ProfileSyncService* service, SyncSetupFlowContainer* container, |