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_PRINTING_PRINT_DIALOG_CLOUD_H_ | 5 #ifndef CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_H_ |
6 #define CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_H_ | 6 #define CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 | 9 |
11 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
12 #include "base/callback.h" | 11 #include "base/callback.h" |
13 #include "base/memory/ref_counted_memory.h" | 12 #include "base/memory/ref_counted_memory.h" |
14 #include "base/string16.h" | 13 #include "base/string16.h" |
15 #include "ui/gfx/native_widget_types.h" | 14 #include "ui/gfx/native_widget_types.h" |
16 | 15 |
17 class FilePath; | 16 class FilePath; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 // dialog, it will return immediately. The dialog is handled asynchronously. | 57 // dialog, it will return immediately. The dialog is handled asynchronously. |
59 // If non-NULL, |modal_parent| specifies a window that the print dialog is modal | 58 // If non-NULL, |modal_parent| specifies a window that the print dialog is modal |
60 // to. | 59 // to. |
61 void CreateCloudPrintSigninDialog(content::BrowserContext* browser_context, | 60 void CreateCloudPrintSigninDialog(content::BrowserContext* browser_context, |
62 gfx::NativeWindow modal_parent, | 61 gfx::NativeWindow modal_parent, |
63 const base::Closure& callback); | 62 const base::Closure& callback); |
64 | 63 |
65 } // end namespace | 64 } // end namespace |
66 | 65 |
67 #endif // CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_H_ | 66 #endif // CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_H_ |
OLD | NEW |