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

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

Issue 8704005: Add autoresize capability to chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/process.h" 8 #include "base/process.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 1008 matching lines...) Expand 10 before | Expand all | Expand 10 after
1019 // Reply to ViewHostMsg_RequestMove, ViewHostMsg_ShowView, and 1019 // Reply to ViewHostMsg_RequestMove, ViewHostMsg_ShowView, and
1020 // ViewHostMsg_ShowWidget to inform the renderer that the browser has 1020 // ViewHostMsg_ShowWidget to inform the renderer that the browser has
1021 // processed the move. The browser may have ignored the move, but it finished 1021 // processed the move. The browser may have ignored the move, but it finished
1022 // processing. This is used because the renderer keeps a temporary cache of 1022 // processing. This is used because the renderer keeps a temporary cache of
1023 // the widget position while these asynchronous operations are in progress. 1023 // the widget position while these asynchronous operations are in progress.
1024 IPC_MESSAGE_ROUTED0(ViewMsg_Move_ACK) 1024 IPC_MESSAGE_ROUTED0(ViewMsg_Move_ACK)
1025 1025
1026 // Used to instruct the RenderView to send back updates to the preferred size. 1026 // Used to instruct the RenderView to send back updates to the preferred size.
1027 IPC_MESSAGE_ROUTED0(ViewMsg_EnablePreferredSizeChangedMode) 1027 IPC_MESSAGE_ROUTED0(ViewMsg_EnablePreferredSizeChangedMode)
1028 1028
1029 // Used to instruct the RenderView to automatically resize and send back
1030 // updates for the new size.
1031 IPC_MESSAGE_ROUTED2(ViewMsg_EnableAutoResize,
1032 gfx::Size /* min_size */,
1033 gfx::Size /* max_size */)
1034
1029 // Changes the text direction of the currently selected input field (if any). 1035 // Changes the text direction of the currently selected input field (if any).
1030 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection, 1036 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection,
1031 WebKit::WebTextDirection /* direction */) 1037 WebKit::WebTextDirection /* direction */)
1032 1038
1033 // Tells the renderer to clear the focused node (if any). 1039 // Tells the renderer to clear the focused node (if any).
1034 IPC_MESSAGE_ROUTED0(ViewMsg_ClearFocusedNode) 1040 IPC_MESSAGE_ROUTED0(ViewMsg_ClearFocusedNode)
1035 1041
1036 // Make the RenderView transparent and render it onto a custom background. The 1042 // Make the RenderView transparent and render it onto a custom background. The
1037 // background will be tiled in both directions if it is not large enough. 1043 // background will be tiled in both directions if it is not large enough.
1038 IPC_MESSAGE_ROUTED1(ViewMsg_SetBackground, 1044 IPC_MESSAGE_ROUTED1(ViewMsg_SetBackground,
(...skipping 871 matching lines...) Expand 10 before | Expand all | Expand 10 after
1910 media::MediaLogEvent /* event */) 1916 media::MediaLogEvent /* event */)
1911 1917
1912 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message 1918 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message
1913 // being sent back. 1919 // being sent back.
1914 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) 1920 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse)
1915 1921
1916 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent 1922 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent
1917 // whenever the mouse is unlocked (which may or may not be caused by 1923 // whenever the mouse is unlocked (which may or may not be caused by
1918 // ViewHostMsg_UnlockMouse). 1924 // ViewHostMsg_UnlockMouse).
1919 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) 1925 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698