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

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

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration Created 4 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
« no previous file with comments | « content/renderer/renderer_blink_platform_impl.h ('k') | content/renderer/savable_resources.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "content/public/common/color_suggestion.h" 12 #include "content/public/common/color_suggestion.h"
13 #include "content/public/renderer/render_frame_observer.h" 13 #include "content/public/renderer/render_frame_observer.h"
14 #include "third_party/WebKit/public/web/WebColorChooser.h" 14 #include "third_party/WebKit/public/web/WebColorChooser.h"
15 #include "third_party/WebKit/public/web/WebColorChooserClient.h" 15 #include "third_party/WebKit/public/web/WebColorChooserClient.h"
16 #include "third_party/skia/include/core/SkColor.h" 16 #include "third_party/skia/include/core/SkColor.h"
17 17
18 namespace blink {
19 class WebFrame;
20 }
21
22 namespace content { 18 namespace content {
23 19
24 class RendererWebColorChooserImpl : public blink::WebColorChooser, 20 class RendererWebColorChooserImpl : public blink::WebColorChooser,
25 public RenderFrameObserver { 21 public RenderFrameObserver {
26 public: 22 public:
27 explicit RendererWebColorChooserImpl(RenderFrame* render_frame, 23 explicit RendererWebColorChooserImpl(RenderFrame* render_frame,
28 blink::WebColorChooserClient*); 24 blink::WebColorChooserClient*);
29 ~RendererWebColorChooserImpl() override; 25 ~RendererWebColorChooserImpl() override;
30 26
31 // blink::WebColorChooser implementation: 27 // blink::WebColorChooser implementation:
(...skipping 18 matching lines...) Expand all
50 46
51 int identifier_; 47 int identifier_;
52 blink::WebColorChooserClient* client_; 48 blink::WebColorChooserClient* client_;
53 49
54 DISALLOW_COPY_AND_ASSIGN(RendererWebColorChooserImpl); 50 DISALLOW_COPY_AND_ASSIGN(RendererWebColorChooserImpl);
55 }; 51 };
56 52
57 } // namespace content 53 } // namespace content
58 54
59 #endif // CONTENT_RENDERER_RENDERER_WEBCOLORCHOOSER_IMPL_H_ 55 #endif // CONTENT_RENDERER_RENDERER_WEBCOLORCHOOSER_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/renderer_blink_platform_impl.h ('k') | content/renderer/savable_resources.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698