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

Side by Side Diff: content/child/plugin_messages.h

Issue 1007443004: Plugin Power Saver: Replace all "plug-in" with "plugin" for consistency. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove terms and native_client_sdk changes. Created 5 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
« no previous file with comments | « content/child/npapi/webplugin_ime_win.cc ('k') | content/common/plugin_list.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // Multiply-included message file, hence no include guard. 5 // Multiply-included message file, hence no include guard.
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #include "content/child/plugin_param_traits.h" 8 #include "content/child/plugin_param_traits.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "content/common/content_param_traits.h" 10 #include "content/common/content_param_traits.h"
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 298
299 #if defined(OS_WIN) 299 #if defined(OS_WIN)
300 // The modal_loop_pump_messages_event parameter is an event handle which is 300 // The modal_loop_pump_messages_event parameter is an event handle which is
301 // passed in for windowless plugins and is used to indicate if messages 301 // passed in for windowless plugins and is used to indicate if messages
302 // are to be pumped in sync calls to the plugin process. Currently used 302 // are to be pumped in sync calls to the plugin process. Currently used
303 // in HandleEvent calls. 303 // in HandleEvent calls.
304 IPC_SYNC_MESSAGE_ROUTED2_0(PluginHostMsg_SetWindowlessData, 304 IPC_SYNC_MESSAGE_ROUTED2_0(PluginHostMsg_SetWindowlessData,
305 HANDLE /* modal_loop_pump_messages_event */, 305 HANDLE /* modal_loop_pump_messages_event */,
306 gfx::NativeViewId /* dummy_activation_window*/) 306 gfx::NativeViewId /* dummy_activation_window*/)
307 307
308 // Send the IME status retrieved from a windowless plug-in. A windowless plug-in 308 // Send the IME status retrieved from a windowless plugin. A windowless plugin
309 // uses the IME attached to a browser process as a renderer does. A plug-in 309 // uses the IME attached to a browser process as a renderer does. A plugin
310 // sends this message to control the IME status of a browser process. I would 310 // sends this message to control the IME status of a browser process. I would
311 // note that a plug-in sends this message to a renderer process that hosts this 311 // note that a plugin sends this message to a renderer process that hosts this
312 // plug-in (not directly to a browser process) so the renderer process can 312 // plugin (not directly to a browser process) so the renderer process can
313 // update its IME status. 313 // update its IME status.
314 IPC_MESSAGE_ROUTED2(PluginHostMsg_NotifyIMEStatus, 314 IPC_MESSAGE_ROUTED2(PluginHostMsg_NotifyIMEStatus,
315 int /* input_type */, 315 int /* input_type */,
316 gfx::Rect /* caret_rect */) 316 gfx::Rect /* caret_rect */)
317 #endif 317 #endif
318 318
319 #if defined(OS_MACOSX) 319 #if defined(OS_MACOSX)
320 IPC_MESSAGE_ROUTED1(PluginHostMsg_FocusChanged, 320 IPC_MESSAGE_ROUTED1(PluginHostMsg_FocusChanged,
321 bool /* focused */) 321 bool /* focused */)
322 322
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, 391 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct,
392 std::vector<content::NPVariant_Param> /* args */, 392 std::vector<content::NPVariant_Param> /* args */,
393 content::NPVariant_Param /* result_param */, 393 content::NPVariant_Param /* result_param */,
394 bool /* result */) 394 bool /* result */)
395 395
396 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, 396 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate,
397 std::string /* script */, 397 std::string /* script */,
398 bool /* popups_allowed */, 398 bool /* popups_allowed */,
399 content::NPVariant_Param /* result_param */, 399 content::NPVariant_Param /* result_param */,
400 bool /* result */) 400 bool /* result */)
OLDNEW
« no previous file with comments | « content/child/npapi/webplugin_ime_win.cc ('k') | content/common/plugin_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698