Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Side by Side Diff: content/renderer/renderer_webcolorchooser_impl.h

Issue 7685006: Implement input type=color UI (common part) (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: forgot to turn off flag Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2010 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_RENDERER_RENDERER_WEBCOLORCHOOSER_IMPL_H_
6 #define CONTENT_RENDERER_RENDERER_WEBCOLORCHOOSER_IMPL_H_
7 #pragma once
8
9 #include "base/memory/scoped_ptr.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebColorChooser.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebColorChooserClient .h"
12
13 #if defined(ENABLE_INPUT_COLOR)
14
15 class RenderViewImpl;
16 class WebColorChooserClient;
17
18 class RendererWebColorChooserImpl : public WebKit::WebColorChooser {
19 public:
20 explicit RendererWebColorChooserImpl(RenderViewImpl* sender);
21 virtual ~RendererWebColorChooserImpl();
22
23 virtual void open(WebKit::WebColor);
yosin_UTC9 2011/12/06 07:11:17 Please insert OVERRIDE before semi-colon for overr
24 virtual void cleanup();
25 virtual void setSelectedColor(WebKit::WebColor);
26
27 virtual void didChooseColor(WebKit::WebColor);
28 virtual void didCleanup();
29
30 virtual WebKit::WebColorChooserClient* client();
31 virtual void setClient(WebKit::WebColorChooserClient*);
32
33 private:
34 RenderViewImpl* sender_;
35 scoped_ptr<WebKit::WebColorChooserClient> client_;
36 };
yosin_UTC9 2011/12/06 07:11:17 Please add DISALLOW_COPY_AND_ASSIGN(RendererWebCo
37
38 #endif // defined(ENABLE_INPUT_COLOR)
39
40 #endif // CONTENT_RENDERER_RENDERER_WEBCOLORCHOOSER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698