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

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

Issue 6990072: The first step for enabling off-the-spot IME on Pepper on ChromeOS/Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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) 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/common_param_traits.h" 10 #include "content/common/common_param_traits.h"
(...skipping 1743 matching lines...) Expand 10 before | Expand all | Expand 10 after
1754 // fill in and pass back to the browser. 1754 // fill in and pass back to the browser.
1755 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_AllocateSharedMemoryBuffer, 1755 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_AllocateSharedMemoryBuffer,
1756 uint32 /* buffer size */, 1756 uint32 /* buffer size */,
1757 base::SharedMemoryHandle /* browser handle */) 1757 base::SharedMemoryHandle /* browser handle */)
1758 1758
1759 // Notify the browser that this render process can or can't be suddenly 1759 // Notify the browser that this render process can or can't be suddenly
1760 // terminated. 1760 // terminated.
1761 IPC_MESSAGE_CONTROL1(ViewHostMsg_SuddenTerminationChanged, 1761 IPC_MESSAGE_CONTROL1(ViewHostMsg_SuddenTerminationChanged,
1762 bool /* enabled */) 1762 bool /* enabled */)
1763 1763
1764 // Informs the browser that a plugin has gained or lost focus.
kochi 2011/05/25 06:19:44 Please be specific that this is "a ppapi plugin".
kinaba 2011/05/25 22:23:53 (Removed from the patch set 2.)
1765 IPC_MESSAGE_ROUTED1(ViewHostMsg_PpapiPluginFocusChanged,
1766 bool /* focused */)
1767
1764 #if defined(OS_MACOSX) 1768 #if defined(OS_MACOSX)
1765 // On OSX, we cannot allocated shared memory from within the sandbox, so 1769 // On OSX, we cannot allocated shared memory from within the sandbox, so
1766 // this call exists for the renderer to ask the browser to allocate memory 1770 // this call exists for the renderer to ask the browser to allocate memory
1767 // on its behalf. We return a file descriptor to the POSIX shared memory. 1771 // on its behalf. We return a file descriptor to the POSIX shared memory.
1768 // If the |cache_in_browser| flag is |true|, then a copy of the shmem is kept 1772 // If the |cache_in_browser| flag is |true|, then a copy of the shmem is kept
1769 // by the browser, and it is the caller's repsonsibility to send a 1773 // by the browser, and it is the caller's repsonsibility to send a
1770 // ViewHostMsg_FreeTransportDIB message in order to release the cached shmem. 1774 // ViewHostMsg_FreeTransportDIB message in order to release the cached shmem.
1771 // In all cases, the caller is responsible for deleting the resulting 1775 // In all cases, the caller is responsible for deleting the resulting
1772 // TransportDIB. 1776 // TransportDIB.
1773 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_AllocTransportDIB, 1777 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_AllocTransportDIB,
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
1938 1942
1939 // Stores new inspector setting in the profile. 1943 // Stores new inspector setting in the profile.
1940 // TODO(jam): this should be in the chrome module 1944 // TODO(jam): this should be in the chrome module
1941 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting, 1945 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting,
1942 std::string, /* key */ 1946 std::string, /* key */
1943 std::string /* value */) 1947 std::string /* value */)
1944 1948
1945 // Send back a string to be recorded by UserMetrics. 1949 // Send back a string to be recorded by UserMetrics.
1946 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, 1950 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction,
1947 std::string /* action */) 1951 std::string /* action */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698