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

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

Issue 292573004: Don't use webmediaplayer to FullscreenController about fullscreen change (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressing boliu's comments Created 6 years, 6 months 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 | Annotate | Revision Log
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 898 matching lines...) Expand 10 before | Expand all | Expand 10 after
909 // should be the version number from the ViewHostMsg_FindMatchRects_Reply 909 // should be the version number from the ViewHostMsg_FindMatchRects_Reply
910 // they came in, so the renderer can tell if it needs to send updated rects. 910 // they came in, so the renderer can tell if it needs to send updated rects.
911 // Otherwise just pass -1 to always receive the list of rects. 911 // Otherwise just pass -1 to always receive the list of rects.
912 // 912 //
913 // There must be an active search string (it is probably most useful to call 913 // There must be an active search string (it is probably most useful to call
914 // this immediately after a ViewHostMsg_Find_Reply message arrives with 914 // this immediately after a ViewHostMsg_Find_Reply message arrives with
915 // final_update set to true). 915 // final_update set to true).
916 IPC_MESSAGE_ROUTED1(ViewMsg_FindMatchRects, 916 IPC_MESSAGE_ROUTED1(ViewMsg_FindMatchRects,
917 int /* current_version */) 917 int /* current_version */)
918 918
919 // Sent when page enters or exits fullscreen mode.
920 IPC_MESSAGE_ROUTED1(ViewMsg_FullscreenChanged,
921 bool /* is_fullscreen */)
922
919 // External popup menus. 923 // External popup menus.
920 IPC_MESSAGE_ROUTED2(ViewMsg_SelectPopupMenuItems, 924 IPC_MESSAGE_ROUTED2(ViewMsg_SelectPopupMenuItems,
921 bool /* user canceled the popup */, 925 bool /* user canceled the popup */,
922 std::vector<int> /* selected indices */) 926 std::vector<int> /* selected indices */)
923 927
924 // Notifies the renderer whether hiding/showing the top controls is enabled 928 // Notifies the renderer whether hiding/showing the top controls is enabled
925 // and whether or not to animate to the proper state. 929 // and whether or not to animate to the proper state.
926 IPC_MESSAGE_ROUTED3(ViewMsg_UpdateTopControlsState, 930 IPC_MESSAGE_ROUTED3(ViewMsg_UpdateTopControlsState,
927 bool /* enable_hiding */, 931 bool /* enable_hiding */,
928 bool /* enable_showing */, 932 bool /* enable_showing */,
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after
1714 // synchronously (see crbug.com/120597). This IPC message sends the character 1718 // synchronously (see crbug.com/120597). This IPC message sends the character
1715 // bounds after every composition change to always have correct bound info. 1719 // bounds after every composition change to always have correct bound info.
1716 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 1720 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
1717 gfx::Range /* composition range */, 1721 gfx::Range /* composition range */,
1718 std::vector<gfx::Rect> /* character bounds */) 1722 std::vector<gfx::Rect> /* character bounds */)
1719 #endif 1723 #endif
1720 1724
1721 // Adding a new message? Stick to the sort order above: first platform 1725 // Adding a new message? Stick to the sort order above: first platform
1722 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1726 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1723 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1727 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698