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

Side by Side Diff: chrome/browser/printing/print_dialog_cloud_internal.h

Issue 14864005: Make cloud print dialog work with cloud printer on first signin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months 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
« no previous file with comments | « chrome/browser/printing/print_dialog_cloud.cc ('k') | no next file » | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PRINT_DIALOG_CLOUD_INTERNAL_H_ 5 #ifndef CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_INTERNAL_H_
6 #define CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_INTERNAL_H_ 6 #define CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_INTERNAL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 131
132 private: 132 private:
133 virtual scoped_refptr<CloudPrintDataSender> CreateCloudPrintDataSender(); 133 virtual scoped_refptr<CloudPrintDataSender> CreateCloudPrintDataSender();
134 134
135 // Call to get the debugger loaded on our hosted dialog page 135 // Call to get the debugger loaded on our hosted dialog page
136 // specifically. Since we're not in an official browser tab, only 136 // specifically. Since we're not in an official browser tab, only
137 // way to get the debugger going. 137 // way to get the debugger going.
138 void ShowDebugger(); 138 void ShowDebugger();
139 139
140 void CancelAnyRunningTask(); 140 void CancelAnyRunningTask();
141 bool IsCloudPrintDialogUrl(const GURL& url);
141 142
142 CloudPrintWebDialogDelegate* dialog_delegate_; 143 CloudPrintWebDialogDelegate* dialog_delegate_;
143 content::NotificationRegistrar registrar_; 144 content::NotificationRegistrar registrar_;
144 scoped_refptr<const base::RefCountedMemory> data_; 145 scoped_refptr<const base::RefCountedMemory> data_;
145 string16 print_job_title_; 146 string16 print_job_title_;
146 string16 print_ticket_; 147 string16 print_ticket_;
147 std::string file_type_; 148 std::string file_type_;
148 scoped_refptr<CloudPrintDataSender> print_data_sender_; 149 scoped_refptr<CloudPrintDataSender> print_data_sender_;
149 scoped_ptr<CloudPrintDataSenderHelper> print_data_helper_; 150 scoped_ptr<CloudPrintDataSenderHelper> print_data_helper_;
150 bool close_after_signin_; 151 bool close_after_signin_;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 const string16& print_ticket, 216 const string16& print_ticket,
216 const std::string& file_type, 217 const std::string& file_type,
217 bool delete_on_close); 218 bool delete_on_close);
218 void CreateDialogSigninImpl(content::BrowserContext* browser_context, 219 void CreateDialogSigninImpl(content::BrowserContext* browser_context,
219 gfx::NativeWindow modal_parent, 220 gfx::NativeWindow modal_parent,
220 const base::Closure& callback); 221 const base::Closure& callback);
221 222
222 } // namespace internal_cloud_print_helpers 223 } // namespace internal_cloud_print_helpers
223 224
224 #endif // CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_INTERNAL_H_ 225 #endif // CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_INTERNAL_H_
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_dialog_cloud.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698