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