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

Side by Side Diff: content/public/browser/render_widget_host.h

Issue 1462163002: Move uncoupled code out of skia/ext/platform_device.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@no-draft-metadata
Patch Set: Trim superfluous SK_API Created 5 years 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/plugin/webplugin_proxy.cc ('k') | content/renderer/pepper/ppb_image_data_impl.cc » ('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_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "content/public/browser/native_web_keyboard_event.h" 10 #include "content/public/browser/native_web_keyboard_event.h"
11 #include "content/public/browser/readback_types.h" 11 #include "content/public/browser/readback_types.h"
12 #include "ipc/ipc_channel.h" 12 #include "ipc/ipc_channel.h"
13 #include "ipc/ipc_sender.h" 13 #include "ipc/ipc_sender.h"
14 #include "third_party/WebKit/public/web/WebInputEvent.h" 14 #include "third_party/WebKit/public/web/WebInputEvent.h"
15 #include "third_party/WebKit/public/web/WebTextDirection.h" 15 #include "third_party/WebKit/public/web/WebTextDirection.h"
16 #include "third_party/skia/include/core/SkBitmap.h" 16 #include "third_party/skia/include/core/SkImageInfo.h"
17 #include "ui/gfx/geometry/size.h" 17 #include "ui/gfx/geometry/size.h"
18 #include "ui/surface/transport_dib.h" 18 #include "ui/surface/transport_dib.h"
19 19
20 #if defined(OS_MACOSX)
21 #include "skia/ext/platform_device.h"
22 #endif
23
24 class SkBitmap;
25
26 namespace gfx { 20 namespace gfx {
27 class Rect; 21 class Rect;
28 } 22 }
29 23
30 namespace blink { 24 namespace blink {
31 class WebMouseEvent; 25 class WebMouseEvent;
32 struct WebScreenInfo; 26 struct WebScreenInfo;
33 } 27 }
34 28
35 namespace content { 29 namespace content {
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 // Get the color profile corresponding to this render widget. 240 // Get the color profile corresponding to this render widget.
247 virtual bool GetScreenColorProfile(std::vector<char>* color_profile) = 0; 241 virtual bool GetScreenColorProfile(std::vector<char>* color_profile) = 0;
248 242
249 // Sends a compositor proto to the render widget. 243 // Sends a compositor proto to the render widget.
250 virtual void HandleCompositorProto(const std::vector<uint8_t>& proto) = 0; 244 virtual void HandleCompositorProto(const std::vector<uint8_t>& proto) = 0;
251 }; 245 };
252 246
253 } // namespace content 247 } // namespace content
254 248
255 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_ 249 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_
OLDNEW
« no previous file with comments | « content/plugin/webplugin_proxy.cc ('k') | content/renderer/pepper/ppb_image_data_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698