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 1456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1467 GURL /* url */, | 1467 GURL /* url */, |
1468 base::string16 /* title */, | 1468 base::string16 /* title */, |
1469 bool /* user_gesture */) | 1469 bool /* user_gesture */) |
1470 | 1470 |
1471 // Unregister the registered handler for URL requests with the given scheme. | 1471 // Unregister the registered handler for URL requests with the given scheme. |
1472 IPC_MESSAGE_ROUTED3(ViewHostMsg_UnregisterProtocolHandler, | 1472 IPC_MESSAGE_ROUTED3(ViewHostMsg_UnregisterProtocolHandler, |
1473 std::string /* scheme */, | 1473 std::string /* scheme */, |
1474 GURL /* url */, | 1474 GURL /* url */, |
1475 bool /* user_gesture */) | 1475 bool /* user_gesture */) |
1476 | 1476 |
1477 // Puts the browser into "tab fullscreen" mode for the sending renderer. | |
1478 // See the comment in chrome/browser/ui/browser.h for more details. | |
1479 IPC_MESSAGE_ROUTED1(ViewHostMsg_ToggleFullscreen, | |
1480 bool /* enter_fullscreen */) | |
1481 | |
1482 // Send back a string to be recorded by UserMetrics. | 1477 // Send back a string to be recorded by UserMetrics. |
1483 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, | 1478 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, |
1484 std::string /* action */) | 1479 std::string /* action */) |
1485 | 1480 |
1486 // Notifies the browser that the page was or was not saved as MHTML. | 1481 // Notifies the browser that the page was or was not saved as MHTML. |
1487 IPC_MESSAGE_CONTROL2(ViewHostMsg_SavedPageAsMHTML, | 1482 IPC_MESSAGE_CONTROL2(ViewHostMsg_SavedPageAsMHTML, |
1488 int /* job_id */, | 1483 int /* job_id */, |
1489 int64 /* size of the MHTML file, -1 if error */) | 1484 int64 /* size of the MHTML file, -1 if error */) |
1490 | 1485 |
1491 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks, | 1486 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks, |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1636 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1631 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
1637 // for details. | 1632 // for details. |
1638 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1633 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
1639 LOGFONT /* font_data */, | 1634 LOGFONT /* font_data */, |
1640 base::string16 /* characters */) | 1635 base::string16 /* characters */) |
1641 #endif | 1636 #endif |
1642 | 1637 |
1643 // Adding a new message? Stick to the sort order above: first platform | 1638 // Adding a new message? Stick to the sort order above: first platform |
1644 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1639 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1645 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1640 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |