Chromium Code Reviews

Side by Side Diff: chrome/browser/sync/sync_setup_flow.h

Issue 4110010: Cloud Print Dialog work. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Direct paths for prefs. Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« no previous file with comments | « chrome/browser/remoting/remoting_setup_flow.cc ('k') | chrome/browser/views/html_dialog_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SYNC_SYNC_SETUP_FLOW_H_ 5 #ifndef CHROME_BROWSER_SYNC_SYNC_SETUP_FLOW_H_
6 #define CHROME_BROWSER_SYNC_SYNC_SETUP_FLOW_H_ 6 #define CHROME_BROWSER_SYNC_SYNC_SETUP_FLOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 88 matching lines...)
99 99
100 // HtmlDialogUIDelegate implementation. 100 // HtmlDialogUIDelegate implementation.
101 virtual std::wstring GetDialogTitle() const { 101 virtual std::wstring GetDialogTitle() const {
102 return l10n_util::GetString(IDS_SYNC_MY_BOOKMARKS_LABEL); 102 return l10n_util::GetString(IDS_SYNC_MY_BOOKMARKS_LABEL);
103 } 103 }
104 104
105 // HtmlDialogUIDelegate implementation. 105 // HtmlDialogUIDelegate implementation.
106 virtual bool IsDialogModal() const { 106 virtual bool IsDialogModal() const {
107 return false; 107 return false;
108 } 108 }
109 virtual bool ShouldShowDialogTitle() const { return true; }
109 110
110 void OnUserSubmittedAuth(const std::string& username, 111 void OnUserSubmittedAuth(const std::string& username,
111 const std::string& password, 112 const std::string& password,
112 const std::string& captcha, 113 const std::string& captcha,
113 const std::string& access_code); 114 const std::string& access_code);
114 115
115 void OnUserConfigured(const SyncConfiguration& configuration); 116 void OnUserConfigured(const SyncConfiguration& configuration);
116 117
117 void OnPassphraseEntry(const std::string& passphrase); 118 void OnPassphraseEntry(const std::string& passphrase);
118 119
(...skipping 101 matching lines...)
220 } 221 }
221 222
222 private: 223 private:
223 void ExecuteJavascriptInIFrame(const std::wstring& iframe_xpath, 224 void ExecuteJavascriptInIFrame(const std::wstring& iframe_xpath,
224 const std::wstring& js); 225 const std::wstring& js);
225 SyncSetupFlow* flow_; 226 SyncSetupFlow* flow_;
226 DISALLOW_COPY_AND_ASSIGN(FlowHandler); 227 DISALLOW_COPY_AND_ASSIGN(FlowHandler);
227 }; 228 };
228 229
229 #endif // CHROME_BROWSER_SYNC_SYNC_SETUP_FLOW_H_ 230 #endif // CHROME_BROWSER_SYNC_SYNC_SETUP_FLOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/remoting/remoting_setup_flow.cc ('k') | chrome/browser/views/html_dialog_view.h » ('j') | no next file with comments »

Powered by Google App Engine