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 2126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2137 | 2137 |
2138 // Message sent from the renderer to the browser when a HTML form validation | 2138 // Message sent from the renderer to the browser when a HTML form validation |
2139 // message should be hidden from view. | 2139 // message should be hidden from view. |
2140 IPC_MESSAGE_ROUTED0(ViewHostMsg_HideValidationMessage) | 2140 IPC_MESSAGE_ROUTED0(ViewHostMsg_HideValidationMessage) |
2141 | 2141 |
2142 // Message sent from the renderer to the browser when the suggested co-ordinates | 2142 // Message sent from the renderer to the browser when the suggested co-ordinates |
2143 // of the anchor for a HTML form validation message have changed. | 2143 // of the anchor for a HTML form validation message have changed. |
2144 IPC_MESSAGE_ROUTED1(ViewHostMsg_MoveValidationMessage, | 2144 IPC_MESSAGE_ROUTED1(ViewHostMsg_MoveValidationMessage, |
2145 gfx::Rect /* anchor rectangle in root view coordinate */) | 2145 gfx::Rect /* anchor rectangle in root view coordinate */) |
2146 | 2146 |
2147 // Sent by the renderer to the browser to lock orientations by given | |
kenneth.r.christiansen
2014/02/06 15:03:12
to request locking ?
ostap
2014/02/06 21:23:28
Done.
| |
2148 // orientations map. | |
2149 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_LockScreenOrientation, | |
2150 unsigned char /* orientations bit map */, | |
2151 bool /* lock operation result */) | |
2152 | |
2153 // Sent by the renderer to the browser to release orientation lock. | |
2154 IPC_MESSAGE_CONTROL0(ViewHostMsg_UnlockScreenOrientation) | |
2155 | |
2147 #if defined(OS_ANDROID) | 2156 #if defined(OS_ANDROID) |
2148 // Response to ViewMsg_FindMatchRects. | 2157 // Response to ViewMsg_FindMatchRects. |
2149 // | 2158 // |
2150 // |version| will contain the current version number of the renderer's find | 2159 // |version| will contain the current version number of the renderer's find |
2151 // match list (incremented whenever they change), which should be passed in the | 2160 // match list (incremented whenever they change), which should be passed in the |
2152 // next call to ViewMsg_FindMatchRects. | 2161 // next call to ViewMsg_FindMatchRects. |
2153 // | 2162 // |
2154 // |rects| will either contain a list of the enclosing rects of all matches | 2163 // |rects| will either contain a list of the enclosing rects of all matches |
2155 // found by the most recent Find operation, or will be empty if |version| is not | 2164 // found by the most recent Find operation, or will be empty if |version| is not |
2156 // greater than the |current_version| passed to ViewMsg_FindMatchRects (hence | 2165 // greater than the |current_version| passed to ViewMsg_FindMatchRects (hence |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2243 // synchronously (see crbug.com/120597). This IPC message sends the character | 2252 // synchronously (see crbug.com/120597). This IPC message sends the character |
2244 // bounds after every composition change to always have correct bound info. | 2253 // bounds after every composition change to always have correct bound info. |
2245 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2254 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
2246 gfx::Range /* composition range */, | 2255 gfx::Range /* composition range */, |
2247 std::vector<gfx::Rect> /* character bounds */) | 2256 std::vector<gfx::Rect> /* character bounds */) |
2248 #endif | 2257 #endif |
2249 | 2258 |
2250 // Adding a new message? Stick to the sort order above: first platform | 2259 // Adding a new message? Stick to the sort order above: first platform |
2251 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2260 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2252 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2261 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |