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

Side by Side Diff: chrome/browser/ui/webui/print_preview/print_preview_ui.cc

Issue 530963002: Move IDS_LEARN_MORE to components_strings.grd (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build Created 6 years, 3 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
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 #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 <vector> 8 #include <vector>
9 9
10 #include "base/id_map.h" 10 #include "base/id_map.h"
(...skipping 15 matching lines...) Expand all
26 #include "chrome/browser/ui/webui/theme_source.h" 26 #include "chrome/browser/ui/webui/theme_source.h"
27 #include "chrome/common/print_messages.h" 27 #include "chrome/common/print_messages.h"
28 #include "chrome/common/url_constants.h" 28 #include "chrome/common/url_constants.h"
29 #include "chrome/grit/chromium_strings.h" 29 #include "chrome/grit/chromium_strings.h"
30 #include "chrome/grit/generated_resources.h" 30 #include "chrome/grit/generated_resources.h"
31 #include "chrome/grit/google_chrome_strings.h" 31 #include "chrome/grit/google_chrome_strings.h"
32 #include "content/public/browser/url_data_source.h" 32 #include "content/public/browser/url_data_source.h"
33 #include "content/public/browser/web_contents.h" 33 #include "content/public/browser/web_contents.h"
34 #include "content/public/browser/web_ui_data_source.h" 34 #include "content/public/browser/web_ui_data_source.h"
35 #include "grit/browser_resources.h" 35 #include "grit/browser_resources.h"
36 #include "grit/components_strings.h"
36 #include "printing/page_size_margins.h" 37 #include "printing/page_size_margins.h"
37 #include "printing/print_job_constants.h" 38 #include "printing/print_job_constants.h"
38 #include "ui/base/l10n/l10n_util.h" 39 #include "ui/base/l10n/l10n_util.h"
39 #include "ui/gfx/rect.h" 40 #include "ui/gfx/rect.h"
40 #include "ui/web_dialogs/web_dialog_delegate.h" 41 #include "ui/web_dialogs/web_dialog_delegate.h"
41 #include "ui/web_dialogs/web_dialog_ui.h" 42 #include "ui/web_dialogs/web_dialog_ui.h"
42 43
43 using content::WebContents; 44 using content::WebContents;
44 using printing::PageSizeMargins; 45 using printing::PageSizeMargins;
45 46
(...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 } 635 }
635 636
636 void PrintPreviewUI::SetSelectedFileForTesting(const base::FilePath& path) { 637 void PrintPreviewUI::SetSelectedFileForTesting(const base::FilePath& path) {
637 handler_->FileSelected(path, 0, NULL); 638 handler_->FileSelected(path, 0, NULL);
638 } 639 }
639 640
640 void PrintPreviewUI::SetPdfSavedClosureForTesting( 641 void PrintPreviewUI::SetPdfSavedClosureForTesting(
641 const base::Closure& closure) { 642 const base::Closure& closure) {
642 handler_->SetPdfSavedClosureForTesting(closure); 643 handler_->SetPdfSavedClosureForTesting(closure);
643 } 644 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/core_options_handler.cc ('k') | chrome/browser/ui/webui/sync_setup_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698