| 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 1265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1276 bool /* has_audio */) | 1276 bool /* has_audio */) |
| 1277 IPC_MESSAGE_ROUTED1(ViewHostMsg_MediaPausedNotification, | 1277 IPC_MESSAGE_ROUTED1(ViewHostMsg_MediaPausedNotification, |
| 1278 int64 /* player_cookie, distinguishes instances */) | 1278 int64 /* player_cookie, distinguishes instances */) |
| 1279 | 1279 |
| 1280 // Notifies the browser that we have session history information. | 1280 // Notifies the browser that we have session history information. |
| 1281 // page_id: unique ID that allows us to distinguish between history entries. | 1281 // page_id: unique ID that allows us to distinguish between history entries. |
| 1282 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateState, | 1282 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateState, |
| 1283 int32 /* page_id */, | 1283 int32 /* page_id */, |
| 1284 content::PageState /* state */) | 1284 content::PageState /* state */) |
| 1285 | 1285 |
| 1286 // Notifies the browser that a frame finished loading. | |
| 1287 IPC_MESSAGE_ROUTED3(ViewHostMsg_DidFinishLoad, | |
| 1288 int64 /* frame_id */, | |
| 1289 GURL /* validated_url */, | |
| 1290 bool /* is_main_frame */) | |
| 1291 | |
| 1292 // Changes the title for the page in the UI when the page is navigated or the | 1286 // Changes the title for the page in the UI when the page is navigated or the |
| 1293 // title changes. | 1287 // title changes. |
| 1294 IPC_MESSAGE_ROUTED3(ViewHostMsg_UpdateTitle, | 1288 IPC_MESSAGE_ROUTED3(ViewHostMsg_UpdateTitle, |
| 1295 int32 /* page_id */, | 1289 int32 /* page_id */, |
| 1296 base::string16 /* title */, | 1290 base::string16 /* title */, |
| 1297 blink::WebTextDirection /* title direction */) | 1291 blink::WebTextDirection /* title direction */) |
| 1298 | 1292 |
| 1299 // Change the encoding name of the page in UI when the page has detected | 1293 // Change the encoding name of the page in UI when the page has detected |
| 1300 // proper encoding name. | 1294 // proper encoding name. |
| 1301 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateEncoding, | 1295 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateEncoding, |
| (...skipping 712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2014 // synchronously (see crbug.com/120597). This IPC message sends the character | 2008 // synchronously (see crbug.com/120597). This IPC message sends the character |
| 2015 // bounds after every composition change to always have correct bound info. | 2009 // bounds after every composition change to always have correct bound info. |
| 2016 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2010 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
| 2017 gfx::Range /* composition range */, | 2011 gfx::Range /* composition range */, |
| 2018 std::vector<gfx::Rect> /* character bounds */) | 2012 std::vector<gfx::Rect> /* character bounds */) |
| 2019 #endif | 2013 #endif |
| 2020 | 2014 |
| 2021 // Adding a new message? Stick to the sort order above: first platform | 2015 // Adding a new message? Stick to the sort order above: first platform |
| 2022 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2016 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 2023 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2017 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |