browser_dialogs.h 751 B

123456789101112131415161718192021222324252627
  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
  3. // found in the LICENSE file.
  4. #ifndef CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
  5. #define CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
  6. #include "third_party/skia/include/core/SkColor.h"
  7. #include "ui/gfx/native_widget_types.h"
  8. class SkBitmap;
  9. namespace content {
  10. class ColorChooser;
  11. class WebContents;
  12. } // namespace content
  13. namespace chrome {
  14. // Shows a color chooser that reports to the given WebContents.
  15. content::ColorChooser* ShowColorChooser(content::WebContents* web_contents,
  16. SkColor initial_color);
  17. } // namespace chrome
  18. #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_