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 #include "chrome/browser/ui/webui/print_preview/print_preview_ui.h" | 5 #include "chrome/browser/ui/webui/print_preview/print_preview_ui.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 #include <memory> | 8 #include <memory> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
(...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
688 } | 688 } |
689 | 689 |
690 void PrintPreviewUI::SetSelectedFileForTesting(const base::FilePath& path) { | 690 void PrintPreviewUI::SetSelectedFileForTesting(const base::FilePath& path) { |
691 handler_->FileSelected(path, 0, NULL); | 691 handler_->FileSelected(path, 0, NULL); |
692 } | 692 } |
693 | 693 |
694 void PrintPreviewUI::SetPdfSavedClosureForTesting( | 694 void PrintPreviewUI::SetPdfSavedClosureForTesting( |
695 const base::Closure& closure) { | 695 const base::Closure& closure) { |
696 handler_->SetPdfSavedClosureForTesting(closure); | 696 handler_->SetPdfSavedClosureForTesting(closure); |
697 } | 697 } |
| 698 |
| 699 void PrintPreviewUI::SendEnableManipulateSettingsForTest() { |
| 700 handler_->SendEnableManipulateSettingsForTest(); |
| 701 } |
| 702 |
| 703 void PrintPreviewUI::SendManipulateSettingsForTest( |
| 704 const base::DictionaryValue& settings) { |
| 705 handler_->SendManipulateSettingsForTest(settings); |
| 706 } |
OLD | NEW |