electron/chromium_src/chrome/browser/ui/browser_dialogs.h
2014-10-31 22:53:15 +08:00

26 lines
729 B
C++

// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
#define CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
#include "third_party/skia/include/core/SkColor.h"
#include "ui/gfx/native_widget_types.h"
class SkBitmap;
namespace content {
class ColorChooser;
class WebContents;
}
namespace chrome {
// Shows a color chooser that reports to the given WebContents.
content::ColorChooser* ShowColorChooser(content::WebContents* web_contents,
SkColor initial_color);
} // namespace chrome
#endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_