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

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

Issue 157713002: Switch DomAutomationController to be a RenderFrameObserver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nasko@ CR feedback Created 6 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 | 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 1956 matching lines...) Expand 10 before | Expand all | Expand 10 after
1967 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent 1967 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent
1968 // whenever the mouse is unlocked (which may or may not be caused by 1968 // whenever the mouse is unlocked (which may or may not be caused by
1969 // ViewHostMsg_UnlockMouse). 1969 // ViewHostMsg_UnlockMouse).
1970 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) 1970 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse)
1971 1971
1972 // Notifies that the initial empty document of a view has been accessed. 1972 // Notifies that the initial empty document of a view has been accessed.
1973 // After this, it is no longer safe to show a pending navigation's URL without 1973 // After this, it is no longer safe to show a pending navigation's URL without
1974 // making a URL spoof possible. 1974 // making a URL spoof possible.
1975 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidAccessInitialDocument) 1975 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidAccessInitialDocument)
1976 1976
1977 // Following message is used to communicate the values received by the
1978 // callback binding the JS to Cpp.
1979 // An instance of browser that has an automation host listening to it can
1980 // have a javascript send a native value (string, number, boolean) to the
1981 // listener in Cpp. (DomAutomationController)
1982 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse,
1983 std::string /* json_string */,
1984 int /* automation_id */)
1985
1986 // Notifies that multiple touch targets may have been pressed, and to show 1977 // Notifies that multiple touch targets may have been pressed, and to show
1987 // the disambiguation popup. 1978 // the disambiguation popup.
1988 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowDisambiguationPopup, 1979 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowDisambiguationPopup,
1989 gfx::Rect, /* Border of touched targets */ 1980 gfx::Rect, /* Border of touched targets */
1990 gfx::Size, /* Size of zoomed image */ 1981 gfx::Size, /* Size of zoomed image */
1991 TransportDIB::Id /* DIB of zoomed image */) 1982 TransportDIB::Id /* DIB of zoomed image */)
1992 1983
1993 // Sent by the renderer process to check whether client 3D APIs 1984 // Sent by the renderer process to check whether client 3D APIs
1994 // (Pepper 3D, WebGL) are explicitly blocked. 1985 // (Pepper 3D, WebGL) are explicitly blocked.
1995 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Are3DAPIsBlocked, 1986 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Are3DAPIsBlocked,
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
2151 // synchronously (see crbug.com/120597). This IPC message sends the character 2142 // synchronously (see crbug.com/120597). This IPC message sends the character
2152 // bounds after every composition change to always have correct bound info. 2143 // bounds after every composition change to always have correct bound info.
2153 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 2144 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
2154 gfx::Range /* composition range */, 2145 gfx::Range /* composition range */,
2155 std::vector<gfx::Rect> /* character bounds */) 2146 std::vector<gfx::Rect> /* character bounds */)
2156 #endif 2147 #endif
2157 2148
2158 // Adding a new message? Stick to the sort order above: first platform 2149 // Adding a new message? Stick to the sort order above: first platform
2159 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2150 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2160 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2151 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698