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

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

Issue 889403004: Rename initial_pos to initial_rect in ShowWidget and ShowView IPCs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 10 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
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 1025 matching lines...) Expand 10 before | Expand all | Expand 10 after
1036 1036
1037 // Asks the browser for the renderer process memory size stats. 1037 // Asks the browser for the renderer process memory size stats.
1038 IPC_SYNC_MESSAGE_CONTROL0_2(ViewHostMsg_GetProcessMemorySizes, 1038 IPC_SYNC_MESSAGE_CONTROL0_2(ViewHostMsg_GetProcessMemorySizes,
1039 size_t /* private_bytes */, 1039 size_t /* private_bytes */,
1040 size_t /* shared_bytes */) 1040 size_t /* shared_bytes */)
1041 1041
1042 // These three messages are sent to the parent RenderViewHost to display the 1042 // These three messages are sent to the parent RenderViewHost to display the
1043 // page/widget that was created by 1043 // page/widget that was created by
1044 // CreateWindow/CreateWidget/CreateFullscreenWidget. routing_id 1044 // CreateWindow/CreateWidget/CreateFullscreenWidget. routing_id
1045 // refers to the id that was returned from the Create message above. 1045 // refers to the id that was returned from the Create message above.
1046 // The initial_position parameter is a rectangle in screen coordinates. 1046 // The initial_rect parameter is in screen coordinates.
1047 // 1047 //
1048 // FUTURE: there will probably be flags here to control if the result is 1048 // FUTURE: there will probably be flags here to control if the result is
1049 // in a new window. 1049 // in a new window.
1050 IPC_MESSAGE_ROUTED4(ViewHostMsg_ShowView, 1050 IPC_MESSAGE_ROUTED4(ViewHostMsg_ShowView,
1051 int /* route_id */, 1051 int /* route_id */,
1052 WindowOpenDisposition /* disposition */, 1052 WindowOpenDisposition /* disposition */,
1053 gfx::Rect /* initial_pos */, 1053 gfx::Rect /* initial_rect */,
1054 bool /* opened_by_user_gesture */) 1054 bool /* opened_by_user_gesture */)
1055 1055
1056 IPC_MESSAGE_ROUTED2(ViewHostMsg_ShowWidget, 1056 IPC_MESSAGE_ROUTED2(ViewHostMsg_ShowWidget,
1057 int /* route_id */, 1057 int /* route_id */,
1058 gfx::Rect /* initial_pos */) 1058 gfx::Rect /* initial_rect */)
1059 1059
1060 // Message to show a full screen widget. 1060 // Message to show a full screen widget.
1061 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowFullscreenWidget, 1061 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowFullscreenWidget,
1062 int /* route_id */) 1062 int /* route_id */)
1063 1063
1064 // This message is sent after ViewHostMsg_ShowView to cause the RenderView 1064 // This message is sent after ViewHostMsg_ShowView to cause the RenderView
1065 // to run in a modal fashion until it is closed. 1065 // to run in a modal fashion until it is closed.
1066 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_RunModal, 1066 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_RunModal,
1067 int /* opener_id */) 1067 int /* opener_id */)
1068 1068
(...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after
1649 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 1649 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
1650 // for details. 1650 // for details.
1651 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 1651 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
1652 LOGFONT /* font_data */, 1652 LOGFONT /* font_data */,
1653 base::string16 /* characters */) 1653 base::string16 /* characters */)
1654 #endif 1654 #endif
1655 1655
1656 // Adding a new message? Stick to the sort order above: first platform 1656 // Adding a new message? Stick to the sort order above: first platform
1657 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1657 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1658 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1658 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/web_contents_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698