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 2235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2246 // Notification that the urls for the favicon of a site has been determined. | 2246 // Notification that the urls for the favicon of a site has been determined. |
2247 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateFaviconURL, | 2247 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateFaviconURL, |
2248 int32 /* page_id */, | 2248 int32 /* page_id */, |
2249 std::vector<content::FaviconURL> /* candidates */) | 2249 std::vector<content::FaviconURL> /* candidates */) |
2250 | 2250 |
2251 // Sent once a paint happens after the first non empty layout. In other words | 2251 // Sent once a paint happens after the first non empty layout. In other words |
2252 // after the page has painted something. | 2252 // after the page has painted something. |
2253 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidFirstVisuallyNonEmptyPaint, | 2253 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidFirstVisuallyNonEmptyPaint, |
2254 int /* page_id */) | 2254 int /* page_id */) |
2255 | 2255 |
| 2256 // Message sent from renderer to the browser when the element that is focused |
| 2257 // has been touched. A bool is passed in this message which indicates if the |
| 2258 // node is editable. |
| 2259 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeTouched, |
| 2260 bool /* editable */) |
| 2261 |
2256 #if defined(OS_ANDROID) | 2262 #if defined(OS_ANDROID) |
2257 // Response to ViewMsg_FindMatchRects. | 2263 // Response to ViewMsg_FindMatchRects. |
2258 // | 2264 // |
2259 // |version| will contain the current version number of the renderer's find | 2265 // |version| will contain the current version number of the renderer's find |
2260 // match list (incremented whenever they change), which should be passed in the | 2266 // match list (incremented whenever they change), which should be passed in the |
2261 // next call to ViewMsg_FindMatchRects. | 2267 // next call to ViewMsg_FindMatchRects. |
2262 // | 2268 // |
2263 // |rects| will either contain a list of the enclosing rects of all matches | 2269 // |rects| will either contain a list of the enclosing rects of all matches |
2264 // found by the most recent Find operation, or will be empty if |version| is not | 2270 // found by the most recent Find operation, or will be empty if |version| is not |
2265 // greater than the |current_version| passed to ViewMsg_FindMatchRects (hence | 2271 // greater than the |current_version| passed to ViewMsg_FindMatchRects (hence |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2354 // synchronously (see crbug.com/120597). This IPC message sends the character | 2360 // synchronously (see crbug.com/120597). This IPC message sends the character |
2355 // bounds after every composition change to always have correct bound info. | 2361 // bounds after every composition change to always have correct bound info. |
2356 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2362 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
2357 gfx::Range /* composition range */, | 2363 gfx::Range /* composition range */, |
2358 std::vector<gfx::Rect> /* character bounds */) | 2364 std::vector<gfx::Rect> /* character bounds */) |
2359 #endif | 2365 #endif |
2360 | 2366 |
2361 // Adding a new message? Stick to the sort order above: first platform | 2367 // Adding a new message? Stick to the sort order above: first platform |
2362 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2368 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2363 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2369 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |