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

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

Issue 823133004: Cleanup: Update the path to gfx rect headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rect_f.h Created 5 years, 11 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 19 matching lines...) Expand all
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 "grit/components_strings.h"
37 #include "printing/page_size_margins.h" 37 #include "printing/page_size_margins.h"
38 #include "printing/print_job_constants.h" 38 #include "printing/print_job_constants.h"
39 #include "ui/base/l10n/l10n_util.h" 39 #include "ui/base/l10n/l10n_util.h"
40 #include "ui/gfx/rect.h" 40 #include "ui/gfx/geometry/rect.h"
41 #include "ui/web_dialogs/web_dialog_delegate.h" 41 #include "ui/web_dialogs/web_dialog_delegate.h"
42 #include "ui/web_dialogs/web_dialog_ui.h" 42 #include "ui/web_dialogs/web_dialog_ui.h"
43 43
44 using content::WebContents; 44 using content::WebContents;
45 using printing::PageSizeMargins; 45 using printing::PageSizeMargins;
46 46
47 namespace { 47 namespace {
48 48
49 #if defined(OS_MACOSX) 49 #if defined(OS_MACOSX)
50 // U+0028 U+21E7 U+2318 U+0050 U+0029 in UTF8 50 // U+0028 U+21E7 U+2318 U+0050 U+0029 in UTF8
(...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after
641 } 641 }
642 642
643 void PrintPreviewUI::SetSelectedFileForTesting(const base::FilePath& path) { 643 void PrintPreviewUI::SetSelectedFileForTesting(const base::FilePath& path) {
644 handler_->FileSelected(path, 0, NULL); 644 handler_->FileSelected(path, 0, NULL);
645 } 645 }
646 646
647 void PrintPreviewUI::SetPdfSavedClosureForTesting( 647 void PrintPreviewUI::SetPdfSavedClosureForTesting(
648 const base::Closure& closure) { 648 const base::Closure& closure) {
649 handler_->SetPdfSavedClosureForTesting(closure); 649 handler_->SetPdfSavedClosureForTesting(closure);
650 } 650 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698