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

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

Issue 8564040: Revert 110035 - Print Preview: Making margin selection sticky (part 2/2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_SYSTEM_TASK_PROXY_H_ 5 #ifndef CHROME_BROWSER_PRINTING_PRINT_SYSTEM_TASK_PROXY_H_
6 #define CHROME_BROWSER_PRINTING_PRINT_SYSTEM_TASK_PROXY_H_ 6 #define CHROME_BROWSER_PRINTING_PRINT_SYSTEM_TASK_PROXY_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 void EnumeratePrinters(); 49 void EnumeratePrinters();
50 50
51 void GetPrinterCapabilities(const std::string& printer_name); 51 void GetPrinterCapabilities(const std::string& printer_name);
52 52
53 private: 53 private:
54 friend struct content::BrowserThread::DeleteOnThread< 54 friend struct content::BrowserThread::DeleteOnThread<
55 content::BrowserThread::UI>; 55 content::BrowserThread::UI>;
56 friend class DeleteTask<PrintSystemTaskProxy>; 56 friend class DeleteTask<PrintSystemTaskProxy>;
57 57
58 void SendDefaultPrinter(const std::string* default_printer, 58 void SendDefaultPrinter(const base::StringValue* default_printer,
59 const std::string* cloud_print_data); 59 const base::StringValue* cloud_print_data);
60 void SetupPrinterList(base::ListValue* printers); 60 void SetupPrinterList(base::ListValue* printers);
61 void SendPrinterCapabilities(base::DictionaryValue* settings_info); 61 void SendPrinterCapabilities(base::DictionaryValue* settings_info);
62 62
63 ~PrintSystemTaskProxy(); 63 ~PrintSystemTaskProxy();
64 64
65 base::WeakPtr<PrintPreviewHandler> handler_; 65 base::WeakPtr<PrintPreviewHandler> handler_;
66 66
67 scoped_refptr<printing::PrintBackend> print_backend_; 67 scoped_refptr<printing::PrintBackend> print_backend_;
68 68
69 bool has_logged_printers_count_; 69 bool has_logged_printers_count_;
70 70
71 DISALLOW_COPY_AND_ASSIGN(PrintSystemTaskProxy); 71 DISALLOW_COPY_AND_ASSIGN(PrintSystemTaskProxy);
72 }; 72 };
73 73
74 #endif // CHROME_BROWSER_PRINTING_PRINT_SYSTEM_TASK_PROXY_H_ 74 #endif // CHROME_BROWSER_PRINTING_PRINT_SYSTEM_TASK_PROXY_H_
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_preview_message_handler.cc ('k') | chrome/browser/printing/print_system_task_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698