| 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 "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED. | 8 #include "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED. |
| 9 #include "third_party/skia/include/core/SkColor.h" |
| 9 #include "ui/gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
| 10 | 11 |
| 11 class Browser; | 12 class Browser; |
| 12 class SkBitmap; | 13 class SkBitmap; |
| 13 class TabModalConfirmDialogDelegate; | 14 class TabModalConfirmDialogDelegate; |
| 14 | 15 |
| 15 namespace content { | 16 namespace content { |
| 16 class BrowserContext; | 17 class BrowserContext; |
| 18 class ColorChooser; |
| 17 class WebContents; | 19 class WebContents; |
| 18 } | 20 } |
| 19 | 21 |
| 20 namespace extensions { | 22 namespace extensions { |
| 21 class Extension; | 23 class Extension; |
| 22 } | 24 } |
| 23 | 25 |
| 24 namespace ui { | 26 namespace ui { |
| 25 class WebDialogDelegate; | 27 class WebDialogDelegate; |
| 26 } | 28 } |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 // Shows the Task Manager. If |highlight_background_resources| is set, the | 68 // Shows the Task Manager. If |highlight_background_resources| is set, the |
| 67 // backgroundpages will be shown. |browser| can be NULL when called from ASH. | 69 // backgroundpages will be shown. |browser| can be NULL when called from ASH. |
| 68 void ShowTaskManager(Browser* browser, bool highlight_background_resources); | 70 void ShowTaskManager(Browser* browser, bool highlight_background_resources); |
| 69 | 71 |
| 70 #if !defined(OS_MACOSX) | 72 #if !defined(OS_MACOSX) |
| 71 // Shows the create web app shortcut dialog box. | 73 // Shows the create web app shortcut dialog box. |
| 72 void ShowCreateWebAppShortcutsDialog(gfx::NativeWindow parent_window, | 74 void ShowCreateWebAppShortcutsDialog(gfx::NativeWindow parent_window, |
| 73 content::WebContents* web_contents); | 75 content::WebContents* web_contents); |
| 74 #endif | 76 #endif |
| 75 | 77 |
| 78 // Shows a color chooser that reports to the given WebContents. |
| 79 content::ColorChooser* ShowColorChooser(content::WebContents* web_contents, |
| 80 SkColor initial_color); |
| 81 |
| 76 } // namespace chrome | 82 } // namespace chrome |
| 77 | 83 |
| 78 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ | 84 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ |
| OLD | NEW |