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: chrome/common/render_messages.h

Issue 6480106: Add IPCs to check web copy/cut/paste for extensions with the appropriate permission bit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome
Patch Set: . Created 9 years, 7 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 file, no traditional include guard. 5 // Multiply-included file, no traditional include guard.
6 #include <map> 6 #include <map>
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 int, /* page id */ 434 int, /* page id */
435 std::string /* the original language */, 435 std::string /* the original language */,
436 std::string /* the translated language */, 436 std::string /* the translated language */,
437 TranslateErrors::Type /* the error type if available */) 437 TranslateErrors::Type /* the error type if available */)
438 438
439 // Message sent from the renderer to the browser to notify it of events which 439 // Message sent from the renderer to the browser to notify it of events which
440 // may lead to the cancellation of a prerender. The message is sent only when 440 // may lead to the cancellation of a prerender. The message is sent only when
441 // the renderer is prerendering. 441 // the renderer is prerendering.
442 IPC_MESSAGE_ROUTED0(ViewHostMsg_MaybeCancelPrerenderForHTML5Media) 442 IPC_MESSAGE_ROUTED0(ViewHostMsg_MaybeCancelPrerenderForHTML5Media)
443 443
444 // Sent by the renderer to check if a URL has permission to trigger a clipboard
445 // read/write operation from the DOM.
446 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_CanTriggerClipboardRead,
447 GURL /* url */,
448 bool /* allowed */)
449 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_CanTriggerClipboardWrite,
450 GURL /* url */,
451 bool /* allowed */)
452
444 // Suggest results ----------------------------------------------------------- 453 // Suggest results -----------------------------------------------------------
445 454
446 IPC_MESSAGE_ROUTED3(ViewHostMsg_SetSuggestions, 455 IPC_MESSAGE_ROUTED3(ViewHostMsg_SetSuggestions,
447 int32 /* page_id */, 456 int32 /* page_id */,
448 std::vector<std::string> /* suggestions */, 457 std::vector<std::string> /* suggestions */,
449 InstantCompleteBehavior) 458 InstantCompleteBehavior)
450 459
451 IPC_MESSAGE_ROUTED2(ViewHostMsg_InstantSupportDetermined, 460 IPC_MESSAGE_ROUTED2(ViewHostMsg_InstantSupportDetermined,
452 int32 /* page_id */, 461 int32 /* page_id */,
453 bool /* result */) 462 bool /* result */)
454 463
455 // JavaScript related messages ----------------------------------------------- 464 // JavaScript related messages -----------------------------------------------
456 465
457 // Notify the JavaScript engine in the render to change its parameters 466 // Notify the JavaScript engine in the render to change its parameters
458 // while performing stress testing. 467 // while performing stress testing.
459 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, 468 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl,
460 int /* cmd */, 469 int /* cmd */,
461 int /* param */) 470 int /* param */)
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_unittest.cc ('k') | chrome/renderer/chrome_render_view_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698