Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Side by Side Diff: chrome/browser/printing/cloud_print/cloud_print_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. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_FLOW_H_ 5 #ifndef CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_FLOW_H_
6 #define CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_FLOW_H_ 6 #define CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_FLOW_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // HtmlDialogUIDelegate implementation. 63 // HtmlDialogUIDelegate implementation.
64 virtual GURL GetDialogContentURL() const; 64 virtual GURL GetDialogContentURL() const;
65 virtual void GetDOMMessageHandlers( 65 virtual void GetDOMMessageHandlers(
66 std::vector<DOMMessageHandler*>* handlers) const; 66 std::vector<DOMMessageHandler*>* handlers) const;
67 virtual void GetDialogSize(gfx::Size* size) const; 67 virtual void GetDialogSize(gfx::Size* size) const;
68 virtual std::string GetDialogArgs() const; 68 virtual std::string GetDialogArgs() const;
69 virtual void OnDialogClosed(const std::string& json_retval); 69 virtual void OnDialogClosed(const std::string& json_retval);
70 virtual void OnCloseContents(TabContents* source, bool* out_close_dialog); 70 virtual void OnCloseContents(TabContents* source, bool* out_close_dialog);
71 virtual std::wstring GetDialogTitle() const; 71 virtual std::wstring GetDialogTitle() const;
72 virtual bool IsDialogModal() const; 72 virtual bool IsDialogModal() const;
73 virtual bool ShouldShowDialogTitle() const { return true; }
73 74
74 // GaiaAuthConsumer implementation. 75 // GaiaAuthConsumer implementation.
75 virtual void OnClientLoginFailure( 76 virtual void OnClientLoginFailure(
76 const GoogleServiceAuthError& error); 77 const GoogleServiceAuthError& error);
77 virtual void OnClientLoginSuccess( 78 virtual void OnClientLoginSuccess(
78 const GaiaAuthConsumer::ClientLoginResult& credentials); 79 const GaiaAuthConsumer::ClientLoginResult& credentials);
79 80
80 private: 81 private:
81 friend class CloudPrintServiceProcessHelper; 82 friend class CloudPrintServiceProcessHelper;
82 friend class CloudPrintSetupMessageHandler; 83 friend class CloudPrintSetupMessageHandler;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 std::string lsid_; 119 std::string lsid_;
119 120
120 // Handle to the ServiceProcessControl which talks to the service process. 121 // Handle to the ServiceProcessControl which talks to the service process.
121 ServiceProcessControl* process_control_; 122 ServiceProcessControl* process_control_;
122 Delegate* delegate_; 123 Delegate* delegate_;
123 124
124 DISALLOW_COPY_AND_ASSIGN(CloudPrintSetupFlow); 125 DISALLOW_COPY_AND_ASSIGN(CloudPrintSetupFlow);
125 }; 126 };
126 127
127 #endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_FLOW_H_ 128 #endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_FLOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/modal_html_dialog_delegate.h ('k') | chrome/browser/printing/print_dialog_cloud.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698