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 5#ifndef CONTENT_PUBLIC_BROWSER_COLOR_CHOOSER_H_ 6#define CONTENT_PUBLIC_BROWSER_COLOR_CHOOSER_H_ 7 8#include "third_party/skia/include/core/SkColor.h" 9 10namespace content { 11 12// Interface for a color chooser. 13class ColorChooser { 14 public: 15 virtual ~ColorChooser() {} 16 17 // Ends connection with color chooser. Closes color chooser depending on the 18 // platform. 19 virtual void End() = 0; 20 21 // Sets the selected color. 22 virtual void SetSelectedColor(SkColor color) = 0; 23}; 24 25} // namespace content 26 27#endif // CONTENT_PUBLIC_BROWSER_COLOR_CHOOSER_H_ 28