| 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_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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
| 12 #include "content/public/browser/native_web_keyboard_event.h" | 12 #include "content/public/browser/native_web_keyboard_event.h" |
| 13 #include "content/public/browser/readback_types.h" | 13 #include "content/public/browser/readback_types.h" |
| 14 #include "content/public/common/drop_data.h" |
| 14 #include "ipc/ipc_channel.h" | 15 #include "ipc/ipc_channel.h" |
| 15 #include "ipc/ipc_sender.h" | 16 #include "ipc/ipc_sender.h" |
| 17 #include "third_party/WebKit/public/platform/WebDragOperation.h" |
| 16 #include "third_party/WebKit/public/web/WebInputEvent.h" | 18 #include "third_party/WebKit/public/web/WebInputEvent.h" |
| 17 #include "third_party/WebKit/public/web/WebTextDirection.h" | 19 #include "third_party/WebKit/public/web/WebTextDirection.h" |
| 18 #include "third_party/skia/include/core/SkImageInfo.h" | 20 #include "third_party/skia/include/core/SkImageInfo.h" |
| 19 #include "ui/gfx/geometry/size.h" | 21 #include "ui/gfx/geometry/size.h" |
| 20 #include "ui/surface/transport_dib.h" | 22 #include "ui/surface/transport_dib.h" |
| 21 | 23 |
| 22 namespace gfx { | 24 namespace gfx { |
| 23 class Rect; | 25 class Rect; |
| 24 } | 26 } |
| 25 | 27 |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 // Get the screen info corresponding to this render widget. | 257 // Get the screen info corresponding to this render widget. |
| 256 virtual void GetScreenInfo(ScreenInfo* result) = 0; | 258 virtual void GetScreenInfo(ScreenInfo* result) = 0; |
| 257 | 259 |
| 258 // Sends a compositor proto to the render widget. | 260 // Sends a compositor proto to the render widget. |
| 259 virtual void HandleCompositorProto(const std::vector<uint8_t>& proto) = 0; | 261 virtual void HandleCompositorProto(const std::vector<uint8_t>& proto) = 0; |
| 260 }; | 262 }; |
| 261 | 263 |
| 262 } // namespace content | 264 } // namespace content |
| 263 | 265 |
| 264 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_ | 266 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_ |
| OLD | NEW |