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 1468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1479 GURL /* url */, | 1479 GURL /* url */, |
1480 base::string16 /* title */, | 1480 base::string16 /* title */, |
1481 bool /* user_gesture */) | 1481 bool /* user_gesture */) |
1482 | 1482 |
1483 // Unregister the registered handler for URL requests with the given scheme. | 1483 // Unregister the registered handler for URL requests with the given scheme. |
1484 IPC_MESSAGE_ROUTED3(ViewHostMsg_UnregisterProtocolHandler, | 1484 IPC_MESSAGE_ROUTED3(ViewHostMsg_UnregisterProtocolHandler, |
1485 std::string /* scheme */, | 1485 std::string /* scheme */, |
1486 GURL /* url */, | 1486 GURL /* url */, |
1487 bool /* user_gesture */) | 1487 bool /* user_gesture */) |
1488 | 1488 |
1489 // Puts the browser into "tab fullscreen" mode for the sending renderer. | |
1490 // See the comment in chrome/browser/ui/browser.h for more details. | |
1491 IPC_MESSAGE_ROUTED1(ViewHostMsg_ToggleFullscreen, | |
1492 bool /* enter_fullscreen */) | |
1493 | |
1494 // Send back a string to be recorded by UserMetrics. | 1489 // Send back a string to be recorded by UserMetrics. |
1495 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, | 1490 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, |
1496 std::string /* action */) | 1491 std::string /* action */) |
1497 | 1492 |
1498 // Notifies the browser that the page was or was not saved as MHTML. | 1493 // Notifies the browser that the page was or was not saved as MHTML. |
1499 IPC_MESSAGE_CONTROL2(ViewHostMsg_SavedPageAsMHTML, | 1494 IPC_MESSAGE_CONTROL2(ViewHostMsg_SavedPageAsMHTML, |
1500 int /* job_id */, | 1495 int /* job_id */, |
1501 int64 /* size of the MHTML file, -1 if error */) | 1496 int64 /* size of the MHTML file, -1 if error */) |
1502 | 1497 |
1503 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks, | 1498 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks, |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1648 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1643 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
1649 // for details. | 1644 // for details. |
1650 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1645 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
1651 LOGFONT /* font_data */, | 1646 LOGFONT /* font_data */, |
1652 base::string16 /* characters */) | 1647 base::string16 /* characters */) |
1653 #endif | 1648 #endif |
1654 | 1649 |
1655 // Adding a new message? Stick to the sort order above: first platform | 1650 // Adding a new message? Stick to the sort order above: first platform |
1656 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1651 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1657 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1652 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |