OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_RENDERER_RENDERER_WEBCOLORCHOOSER_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDERER_WEBCOLORCHOOSER_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDERER_WEBCOLORCHOOSER_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDERER_WEBCOLORCHOOSER_IMPL_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
10 #include "content/public/renderer/render_view_observer.h" | 9 #include "content/public/renderer/render_view_observer.h" |
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebColorChooser.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebColorChooser.h" |
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebColorChooserClient
.h" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebColorChooserClient
.h" |
13 #include "third_party/skia/include/core/SkColor.h" | 12 #include "third_party/skia/include/core/SkColor.h" |
14 | 13 |
15 namespace WebKit { | 14 namespace WebKit { |
16 class WebFrame; | 15 class WebFrame; |
17 } | 16 } |
(...skipping 21 matching lines...) Expand all Loading... |
39 void OnDidChooseColorResponse(int color_chooser_id, SkColor color); | 38 void OnDidChooseColorResponse(int color_chooser_id, SkColor color); |
40 void OnDidEndColorChooser(int color_chooser_id); | 39 void OnDidEndColorChooser(int color_chooser_id); |
41 | 40 |
42 int identifier_; | 41 int identifier_; |
43 WebKit::WebColorChooserClient* client_; | 42 WebKit::WebColorChooserClient* client_; |
44 | 43 |
45 DISALLOW_COPY_AND_ASSIGN(RendererWebColorChooserImpl); | 44 DISALLOW_COPY_AND_ASSIGN(RendererWebColorChooserImpl); |
46 }; | 45 }; |
47 | 46 |
48 #endif // CONTENT_RENDERER_RENDERER_WEBCOLORCHOOSER_IMPL_H_ | 47 #endif // CONTENT_RENDERER_RENDERER_WEBCOLORCHOOSER_IMPL_H_ |
OLD | NEW |