mac: Add color chooser dialog
This commit is contained in:
parent
a4a390b2cc
commit
14c9a2a087
6 changed files with 202 additions and 2 deletions
26
chromium_src/chrome/browser/ui/browser_dialogs.h
Normal file
26
chromium_src/chrome/browser/ui/browser_dialogs.h
Normal file
|
@ -0,0 +1,26 @@
|
|||
// 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_
|
Loading…
Add table
Add a link
Reference in a new issue