Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(457)

Side by Side Diff: content/common/view_messages.h

Issue 789533002: Fullscreen: make fullscreen requests come from RenderFrame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 1462 matching lines...) Expand 10 before | Expand all | Expand 10 after
1473 GURL /* url */, 1473 GURL /* url */,
1474 base::string16 /* title */, 1474 base::string16 /* title */,
1475 bool /* user_gesture */) 1475 bool /* user_gesture */)
1476 1476
1477 // Unregister the registered handler for URL requests with the given scheme. 1477 // Unregister the registered handler for URL requests with the given scheme.
1478 IPC_MESSAGE_ROUTED3(ViewHostMsg_UnregisterProtocolHandler, 1478 IPC_MESSAGE_ROUTED3(ViewHostMsg_UnregisterProtocolHandler,
1479 std::string /* scheme */, 1479 std::string /* scheme */,
1480 GURL /* url */, 1480 GURL /* url */,
1481 bool /* user_gesture */) 1481 bool /* user_gesture */)
1482 1482
1483 // Puts the browser into "tab fullscreen" mode for the sending renderer.
1484 // See the comment in chrome/browser/ui/browser.h for more details.
1485 IPC_MESSAGE_ROUTED1(ViewHostMsg_ToggleFullscreen,
1486 bool /* enter_fullscreen */)
1487
1488 // Send back a string to be recorded by UserMetrics. 1483 // Send back a string to be recorded by UserMetrics.
1489 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, 1484 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction,
1490 std::string /* action */) 1485 std::string /* action */)
1491 1486
1492 // Notifies the browser that the page was or was not saved as MHTML. 1487 // Notifies the browser that the page was or was not saved as MHTML.
1493 IPC_MESSAGE_CONTROL2(ViewHostMsg_SavedPageAsMHTML, 1488 IPC_MESSAGE_CONTROL2(ViewHostMsg_SavedPageAsMHTML,
1494 int /* job_id */, 1489 int /* job_id */,
1495 int64 /* size of the MHTML file, -1 if error */) 1490 int64 /* size of the MHTML file, -1 if error */)
1496 1491
1497 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks, 1492 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks,
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
1642 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 1637 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
1643 // for details. 1638 // for details.
1644 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 1639 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
1645 LOGFONT /* font_data */, 1640 LOGFONT /* font_data */,
1646 base::string16 /* characters */) 1641 base::string16 /* characters */)
1647 #endif 1642 #endif
1648 1643
1649 // Adding a new message? Stick to the sort order above: first platform 1644 // Adding a new message? Stick to the sort order above: first platform
1650 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1645 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1651 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1646 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698