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

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

Issue 197533008: Mac: ExternalPopupMenu::close should hide a showing popup menu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: alignment Created 6 years, 9 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 1183 matching lines...) Expand 10 before | Expand all | Expand 10 after
1194 // Send in response to a ViewMsg_UpdateScreenRects so that the renderer can 1194 // Send in response to a ViewMsg_UpdateScreenRects so that the renderer can
1195 // throttle these messages. 1195 // throttle these messages.
1196 IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateScreenRects_ACK) 1196 IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateScreenRects_ACK)
1197 1197
1198 // Sent by the renderer process to request that the browser move the view. 1198 // Sent by the renderer process to request that the browser move the view.
1199 // This corresponds to the window.resizeTo() and window.moveTo() APIs, and 1199 // This corresponds to the window.resizeTo() and window.moveTo() APIs, and
1200 // the browser may ignore this message. 1200 // the browser may ignore this message.
1201 IPC_MESSAGE_ROUTED1(ViewHostMsg_RequestMove, 1201 IPC_MESSAGE_ROUTED1(ViewHostMsg_RequestMove,
1202 gfx::Rect /* position */) 1202 gfx::Rect /* position */)
1203 1203
1204 // Message to show a popup menu using native cocoa controls (Mac only). 1204 // Message to show/hide a popup menu using native cocoa controls
1205 // (Mac and Android only).
1205 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowPopup, 1206 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowPopup,
1206 ViewHostMsg_ShowPopup_Params) 1207 ViewHostMsg_ShowPopup_Params)
1208 IPC_MESSAGE_ROUTED0(ViewHostMsg_HidePopup)
1207 1209
1208 // Response from ViewMsg_ScriptEvalRequest. The ID is the parameter supplied 1210 // Response from ViewMsg_ScriptEvalRequest. The ID is the parameter supplied
1209 // to ViewMsg_ScriptEvalRequest. The result has the value returned by the 1211 // to ViewMsg_ScriptEvalRequest. The result has the value returned by the
1210 // script as its only element, one of Null, Boolean, Integer, Real, Date, or 1212 // script as its only element, one of Null, Boolean, Integer, Real, Date, or
1211 // String. 1213 // String.
1212 IPC_MESSAGE_ROUTED2(ViewHostMsg_ScriptEvalResponse, 1214 IPC_MESSAGE_ROUTED2(ViewHostMsg_ScriptEvalResponse,
1213 int /* id */, 1215 int /* id */,
1214 base::ListValue /* result */) 1216 base::ListValue /* result */)
1215 1217
1216 // Result of string search in the page. 1218 // Result of string search in the page.
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after
1972 // synchronously (see crbug.com/120597). This IPC message sends the character 1974 // synchronously (see crbug.com/120597). This IPC message sends the character
1973 // bounds after every composition change to always have correct bound info. 1975 // bounds after every composition change to always have correct bound info.
1974 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 1976 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
1975 gfx::Range /* composition range */, 1977 gfx::Range /* composition range */,
1976 std::vector<gfx::Rect> /* character bounds */) 1978 std::vector<gfx::Rect> /* character bounds */)
1977 #endif 1979 #endif
1978 1980
1979 // Adding a new message? Stick to the sort order above: first platform 1981 // Adding a new message? Stick to the sort order above: first platform
1980 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1982 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1981 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1983 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698