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 1993 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2004 // Displays a box to confirm that the user wants to navigate away from the | 2004 // Displays a box to confirm that the user wants to navigate away from the |
2005 // page. Replies true if yes, false otherwise, the reply string is ignored, | 2005 // page. Replies true if yes, false otherwise, the reply string is ignored, |
2006 // but is included so that we can use OnJavaScriptMessageBoxClosed. | 2006 // but is included so that we can use OnJavaScriptMessageBoxClosed. |
2007 IPC_SYNC_MESSAGE_ROUTED3_2(ViewHostMsg_RunBeforeUnloadConfirm, | 2007 IPC_SYNC_MESSAGE_ROUTED3_2(ViewHostMsg_RunBeforeUnloadConfirm, |
2008 GURL, /* in - originating frame URL */ | 2008 GURL, /* in - originating frame URL */ |
2009 base::string16 /* in - alert message */, | 2009 base::string16 /* in - alert message */, |
2010 bool /* in - is a reload */, | 2010 bool /* in - is a reload */, |
2011 bool /* out - success */, | 2011 bool /* out - success */, |
2012 base::string16 /* out - This is ignored.*/) | 2012 base::string16 /* out - This is ignored.*/) |
2013 | 2013 |
2014 // Sent when a provisional load on the main frame redirects. | |
2015 IPC_MESSAGE_ROUTED3(ViewHostMsg_DidRedirectProvisionalLoad, | |
2016 int /* page_id */, | |
2017 GURL /* last url */, | |
2018 GURL /* url redirected to */) | |
2019 | |
2020 // Sent when the renderer changes the zoom level for a particular url, so the | 2014 // Sent when the renderer changes the zoom level for a particular url, so the |
2021 // browser can update its records. If remember is true, then url is used to | 2015 // browser can update its records. If remember is true, then url is used to |
2022 // update the zoom level for all pages in that site. Otherwise, the render | 2016 // update the zoom level for all pages in that site. Otherwise, the render |
2023 // view's id is used so that only the menu is updated. | 2017 // view's id is used so that only the menu is updated. |
2024 IPC_MESSAGE_ROUTED3(ViewHostMsg_DidZoomURL, | 2018 IPC_MESSAGE_ROUTED3(ViewHostMsg_DidZoomURL, |
2025 double /* zoom_level */, | 2019 double /* zoom_level */, |
2026 bool /* remember */, | 2020 bool /* remember */, |
2027 GURL /* url */) | 2021 GURL /* url */) |
2028 | 2022 |
2029 // Updates the minimum/maximum allowed zoom percent for this tab from the | 2023 // Updates the minimum/maximum allowed zoom percent for this tab from the |
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2342 // synchronously (see crbug.com/120597). This IPC message sends the character | 2336 // synchronously (see crbug.com/120597). This IPC message sends the character |
2343 // bounds after every composition change to always have correct bound info. | 2337 // bounds after every composition change to always have correct bound info. |
2344 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2338 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
2345 gfx::Range /* composition range */, | 2339 gfx::Range /* composition range */, |
2346 std::vector<gfx::Rect> /* character bounds */) | 2340 std::vector<gfx::Rect> /* character bounds */) |
2347 #endif | 2341 #endif |
2348 | 2342 |
2349 // Adding a new message? Stick to the sort order above: first platform | 2343 // Adding a new message? Stick to the sort order above: first platform |
2350 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2344 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2351 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2345 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |