| 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 // IPC messages for page rendering. | 5 // IPC messages for page rendering. |
| 6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
| 7 | 7 |
| 8 #include "base/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
| 9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 #include "ui/base/ui_base_types.h" | 57 #include "ui/base/ui_base_types.h" |
| 58 #include "ui/gfx/geometry/point.h" | 58 #include "ui/gfx/geometry/point.h" |
| 59 #include "ui/gfx/geometry/rect.h" | 59 #include "ui/gfx/geometry/rect.h" |
| 60 #include "ui/gfx/geometry/rect_f.h" | 60 #include "ui/gfx/geometry/rect_f.h" |
| 61 #include "ui/gfx/geometry/vector2d.h" | 61 #include "ui/gfx/geometry/vector2d.h" |
| 62 #include "ui/gfx/geometry/vector2d_f.h" | 62 #include "ui/gfx/geometry/vector2d_f.h" |
| 63 #include "ui/gfx/ipc/gfx_param_traits.h" | 63 #include "ui/gfx/ipc/gfx_param_traits.h" |
| 64 #include "ui/gfx/range/range.h" | 64 #include "ui/gfx/range/range.h" |
| 65 | 65 |
| 66 #if defined(OS_MACOSX) | 66 #if defined(OS_MACOSX) |
| 67 #include "third_party/WebKit/public/platform/mac/MacScrollTypes.h" |
| 67 #include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h" | 68 #include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h" |
| 68 #endif | 69 #endif |
| 69 | 70 |
| 70 #undef IPC_MESSAGE_EXPORT | 71 #undef IPC_MESSAGE_EXPORT |
| 71 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 72 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
| 72 | 73 |
| 73 #define IPC_MESSAGE_START ViewMsgStart | 74 #define IPC_MESSAGE_START ViewMsgStart |
| 74 | 75 |
| 75 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebDeviceEmulationParams::ScreenPosition, | 76 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebDeviceEmulationParams::ScreenPosition, |
| 76 blink::WebDeviceEmulationParams::ScreenPositionLast) | 77 blink::WebDeviceEmulationParams::ScreenPositionLast) |
| (...skipping 1350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1427 // Instructs the browser to start plugin IME. | 1428 // Instructs the browser to start plugin IME. |
| 1428 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme) | 1429 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme) |
| 1429 | 1430 |
| 1430 // Receives content of a web page as plain text. | 1431 // Receives content of a web page as plain text. |
| 1431 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string); | 1432 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string); |
| 1432 #endif | 1433 #endif |
| 1433 | 1434 |
| 1434 // Adding a new message? Stick to the sort order above: first platform | 1435 // Adding a new message? Stick to the sort order above: first platform |
| 1435 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1436 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1436 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1437 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |