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

Side by Side Diff: content/browser/devtools/protocol/color_picker.h

Issue 2702093002: Consistent CopyFromSurface() API, consolidated to RWHV (Closed)
Patch Set: REBASE Created 3 years, 9 months 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_BROWSER_DEVTOOLS_PROTOCOL_COLOR_PICKER_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_PROTOCOL_COLOR_PICKER_H_
6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_COLOR_PICKER_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_COLOR_PICKER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "content/public/browser/readback_types.h"
10 #include "content/public/browser/render_widget_host.h" 11 #include "content/public/browser/render_widget_host.h"
11 #include "third_party/skia/include/core/SkBitmap.h" 12 #include "third_party/skia/include/core/SkBitmap.h"
12 13
13 namespace blink { 14 namespace blink {
14 class WebMouseEvent; 15 class WebMouseEvent;
15 } 16 }
16 17
17 namespace content { 18 namespace content {
18 19
19 class RenderWidgetHostImpl; 20 class RenderWidgetHostImpl;
(...skipping 27 matching lines...) Expand all
47 RenderWidgetHostImpl* host_; 48 RenderWidgetHostImpl* host_;
48 base::WeakPtrFactory<ColorPicker> weak_factory_; 49 base::WeakPtrFactory<ColorPicker> weak_factory_;
49 50
50 DISALLOW_COPY_AND_ASSIGN(ColorPicker); 51 DISALLOW_COPY_AND_ASSIGN(ColorPicker);
51 }; 52 };
52 53
53 } // namespace protocol 54 } // namespace protocol
54 } // namespace content 55 } // namespace content
55 56
56 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_COLOR_PICKER_H_ 57 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_COLOR_PICKER_H_
OLDNEW
« no previous file with comments | « content/browser/devtools/devtools_frame_trace_recorder.cc ('k') | content/browser/devtools/protocol/color_picker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698