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

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: apply comments 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 1184 matching lines...) Expand 10 before | Expand all | Expand 10 after
1195 // Send in response to a ViewMsg_UpdateScreenRects so that the renderer can 1195 // Send in response to a ViewMsg_UpdateScreenRects so that the renderer can
1196 // throttle these messages. 1196 // throttle these messages.
1197 IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateScreenRects_ACK) 1197 IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateScreenRects_ACK)
1198 1198
1199 // Sent by the renderer process to request that the browser move the view. 1199 // Sent by the renderer process to request that the browser move the view.
1200 // This corresponds to the window.resizeTo() and window.moveTo() APIs, and 1200 // This corresponds to the window.resizeTo() and window.moveTo() APIs, and
1201 // the browser may ignore this message. 1201 // the browser may ignore this message.
1202 IPC_MESSAGE_ROUTED1(ViewHostMsg_RequestMove, 1202 IPC_MESSAGE_ROUTED1(ViewHostMsg_RequestMove,
1203 gfx::Rect /* position */) 1203 gfx::Rect /* position */)
1204 1204
1205 // Message to show a popup menu using native cocoa controls (Mac only). 1205 // Message to show/hide a popup menu using native cocoa controls
Tom Sepez 2014/03/21 18:05:28 nit: should this be inside an #if defined(MAC) ||
tkent 2014/03/22 14:00:14 I think so. Let me land this CL as is, and make a
1206 // (Mac and Android only).
1206 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowPopup, 1207 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowPopup,
1207 ViewHostMsg_ShowPopup_Params) 1208 ViewHostMsg_ShowPopup_Params)
1209 IPC_MESSAGE_ROUTED0(ViewHostMsg_HidePopup)
1208 1210
1209 // Response from ViewMsg_ScriptEvalRequest. The ID is the parameter supplied 1211 // Response from ViewMsg_ScriptEvalRequest. The ID is the parameter supplied
1210 // to ViewMsg_ScriptEvalRequest. The result has the value returned by the 1212 // to ViewMsg_ScriptEvalRequest. The result has the value returned by the
1211 // script as its only element, one of Null, Boolean, Integer, Real, Date, or 1213 // script as its only element, one of Null, Boolean, Integer, Real, Date, or
1212 // String. 1214 // String.
1213 IPC_MESSAGE_ROUTED2(ViewHostMsg_ScriptEvalResponse, 1215 IPC_MESSAGE_ROUTED2(ViewHostMsg_ScriptEvalResponse,
1214 int /* id */, 1216 int /* id */,
1215 base::ListValue /* result */) 1217 base::ListValue /* result */)
1216 1218
1217 // Result of string search in the page. 1219 // Result of string search in the page.
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after
1973 // synchronously (see crbug.com/120597). This IPC message sends the character 1975 // synchronously (see crbug.com/120597). This IPC message sends the character
1974 // bounds after every composition change to always have correct bound info. 1976 // bounds after every composition change to always have correct bound info.
1975 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 1977 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
1976 gfx::Range /* composition range */, 1978 gfx::Range /* composition range */,
1977 std::vector<gfx::Rect> /* character bounds */) 1979 std::vector<gfx::Rect> /* character bounds */)
1978 #endif 1980 #endif
1979 1981
1980 // Adding a new message? Stick to the sort order above: first platform 1982 // Adding a new message? Stick to the sort order above: first platform
1981 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1983 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1982 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1984 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_view_mac.mm ('k') | content/port/browser/render_view_host_delegate_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698