| 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_BROWSER_DIALOGS_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ |
| 6 #define CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "content/public/common/signed_certificate_timestamp_id_and_status.h" | |
| 10 #include "third_party/skia/include/core/SkColor.h" | 9 #include "third_party/skia/include/core/SkColor.h" |
| 11 #include "ui/gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
| 12 | 11 |
| 13 class Browser; | 12 class Browser; |
| 14 class Profile; | 13 class Profile; |
| 15 class SkBitmap; | 14 class SkBitmap; |
| 16 | 15 |
| 17 namespace content { | 16 namespace content { |
| 18 class BrowserContext; | 17 class BrowserContext; |
| 19 class ColorChooser; | 18 class ColorChooser; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 void ShowCreateChromeAppShortcutsDialog( | 62 void ShowCreateChromeAppShortcutsDialog( |
| 64 gfx::NativeWindow parent_window, | 63 gfx::NativeWindow parent_window, |
| 65 Profile* profile, | 64 Profile* profile, |
| 66 const extensions::Extension* app, | 65 const extensions::Extension* app, |
| 67 const base::Callback<void(bool /* created */)>& close_callback); | 66 const base::Callback<void(bool /* created */)>& close_callback); |
| 68 | 67 |
| 69 // Shows a color chooser that reports to the given WebContents. | 68 // Shows a color chooser that reports to the given WebContents. |
| 70 content::ColorChooser* ShowColorChooser(content::WebContents* web_contents, | 69 content::ColorChooser* ShowColorChooser(content::WebContents* web_contents, |
| 71 SkColor initial_color); | 70 SkColor initial_color); |
| 72 | 71 |
| 73 // Shows the Signed Certificate Timestamps viewer, to view the signed | |
| 74 // certificate timestamps in |sct_ids_list| | |
| 75 void ShowSignedCertificateTimestampsViewer( | |
| 76 content::WebContents* web_contents, | |
| 77 const content::SignedCertificateTimestampIDStatusList& sct_ids_list); | |
| 78 | |
| 79 } // namespace chrome | 72 } // namespace chrome |
| 80 | 73 |
| 81 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ | 74 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ |
| OLD | NEW |