Content settings: remove some plugin-related code/resources when... there are no...
[chromium-blink-merge.git] / content / public / browser / color_chooser.h
blobb40459192cf9a7189eff14aad69bbde38c1aec6d
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.
5 #ifndef CONTENT_PUBLIC_BROWSER_COLOR_CHOOSER_H_
6 #define CONTENT_PUBLIC_BROWSER_COLOR_CHOOSER_H_
8 #include "third_party/skia/include/core/SkColor.h"
10 namespace content {
12 // Interface for a color chooser.
13 class ColorChooser {
14 public:
15 virtual ~ColorChooser() {}
17 // Ends connection with color chooser. Closes color chooser depending on the
18 // platform.
19 virtual void End() = 0;
21 // Sets the selected color.
22 virtual void SetSelectedColor(SkColor color) = 0;
25 } // namespace content
27 #endif // CONTENT_PUBLIC_BROWSER_COLOR_CHOOSER_H_