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

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: 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 1188 matching lines...) Expand 10 before | Expand all | Expand 10 after
1199 // Send in response to a ViewMsg_UpdateScreenRects so that the renderer can 1199 // Send in response to a ViewMsg_UpdateScreenRects so that the renderer can
1200 // throttle these messages. 1200 // throttle these messages.
1201 IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateScreenRects_ACK) 1201 IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateScreenRects_ACK)
1202 1202
1203 // Sent by the renderer process to request that the browser move the view. 1203 // Sent by the renderer process to request that the browser move the view.
1204 // This corresponds to the window.resizeTo() and window.moveTo() APIs, and 1204 // This corresponds to the window.resizeTo() and window.moveTo() APIs, and
1205 // the browser may ignore this message. 1205 // the browser may ignore this message.
1206 IPC_MESSAGE_ROUTED1(ViewHostMsg_RequestMove, 1206 IPC_MESSAGE_ROUTED1(ViewHostMsg_RequestMove,
1207 gfx::Rect /* position */) 1207 gfx::Rect /* position */)
1208 1208
1209 // Message to show a popup menu using native cocoa controls (Mac only). 1209 // Message to show/hide a popup menu using native cocoa controls
1210 // (Mac and Android only).
1210 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowPopup, 1211 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowPopup,
1211 ViewHostMsg_ShowPopup_Params) 1212 ViewHostMsg_ShowPopup_Params)
1213 IPC_MESSAGE_ROUTED0(ViewHostMsg_HidePopup)
1212 1214
1213 // Response from ViewMsg_ScriptEvalRequest. The ID is the parameter supplied 1215 // Response from ViewMsg_ScriptEvalRequest. The ID is the parameter supplied
1214 // to ViewMsg_ScriptEvalRequest. The result has the value returned by the 1216 // to ViewMsg_ScriptEvalRequest. The result has the value returned by the
1215 // script as its only element, one of Null, Boolean, Integer, Real, Date, or 1217 // script as its only element, one of Null, Boolean, Integer, Real, Date, or
1216 // String. 1218 // String.
1217 IPC_MESSAGE_ROUTED2(ViewHostMsg_ScriptEvalResponse, 1219 IPC_MESSAGE_ROUTED2(ViewHostMsg_ScriptEvalResponse,
1218 int /* id */, 1220 int /* id */,
1219 base::ListValue /* result */) 1221 base::ListValue /* result */)
1220 1222
1221 // Result of string search in the page. 1223 // Result of string search in the page.
(...skipping 750 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