OLD | NEW |
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_UI_WEBUI_PRINT_PREVIEW_PRINT_PREVIEW_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINT_PREVIEW_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINT_PREVIEW_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINT_PREVIEW_HANDLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 base::string16* title) const; | 249 base::string16* title) const; |
250 | 250 |
251 #if defined(USE_CUPS) | 251 #if defined(USE_CUPS) |
252 void SaveCUPSColorSetting(const base::DictionaryValue* settings); | 252 void SaveCUPSColorSetting(const base::DictionaryValue* settings); |
253 | 253 |
254 void ConvertColorSettingToCUPSColorModel( | 254 void ConvertColorSettingToCUPSColorModel( |
255 base::DictionaryValue* settings) const; | 255 base::DictionaryValue* settings) const; |
256 #endif | 256 #endif |
257 | 257 |
258 #if defined(ENABLE_SERVICE_DISCOVERY) | 258 #if defined(ENABLE_SERVICE_DISCOVERY) |
259 void StartPrivetLister( | 259 void StartPrivetLister(const scoped_refptr< |
260 scoped_refptr<local_discovery::ServiceDiscoverySharedClient> client); | 260 local_discovery::ServiceDiscoverySharedClient>& client); |
261 void OnPrivetCapabilities(const base::DictionaryValue* capabilities); | 261 void OnPrivetCapabilities(const base::DictionaryValue* capabilities); |
262 void PrivetCapabilitiesUpdateClient( | 262 void PrivetCapabilitiesUpdateClient( |
263 scoped_ptr<local_discovery::PrivetHTTPClient> http_client); | 263 scoped_ptr<local_discovery::PrivetHTTPClient> http_client); |
264 void PrivetLocalPrintUpdateClient( | 264 void PrivetLocalPrintUpdateClient( |
265 std::string print_ticket, | 265 std::string print_ticket, |
266 std::string capabilities, | 266 std::string capabilities, |
267 gfx::Size page_size, | 267 gfx::Size page_size, |
268 scoped_ptr<local_discovery::PrivetHTTPClient> http_client); | 268 scoped_ptr<local_discovery::PrivetHTTPClient> http_client); |
269 bool PrivetUpdateClient( | 269 bool PrivetUpdateClient( |
270 scoped_ptr<local_discovery::PrivetHTTPClient> http_client); | 270 scoped_ptr<local_discovery::PrivetHTTPClient> http_client); |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 base::WeakPtrFactory<PrintPreviewHandler> weak_factory_; | 338 base::WeakPtrFactory<PrintPreviewHandler> weak_factory_; |
339 | 339 |
340 // Notifies tests that want to know if the PDF has been saved. This doesn't | 340 // Notifies tests that want to know if the PDF has been saved. This doesn't |
341 // notify the test if it was a successful save, only that it was attempted. | 341 // notify the test if it was a successful save, only that it was attempted. |
342 base::Closure pdf_file_saved_closure_; | 342 base::Closure pdf_file_saved_closure_; |
343 | 343 |
344 DISALLOW_COPY_AND_ASSIGN(PrintPreviewHandler); | 344 DISALLOW_COPY_AND_ASSIGN(PrintPreviewHandler); |
345 }; | 345 }; |
346 | 346 |
347 #endif // CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINT_PREVIEW_HANDLER_H_ | 347 #endif // CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINT_PREVIEW_HANDLER_H_ |
OLD | NEW |