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

Side by Side Diff: chrome/common/render_messages_internal.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: Prefix new methods with 'web'. Created 9 years, 10 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 #include <map> 5 #include <map>
6 #include <set> 6 #include <set>
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 2369 matching lines...) Expand 10 before | Expand all | Expand 10 after
2380 2380
2381 // Updates the minimum/maximum allowed zoom percent for this tab from the 2381 // Updates the minimum/maximum allowed zoom percent for this tab from the
2382 // default values. If |remember| is true, then the zoom setting is applied to 2382 // default values. If |remember| is true, then the zoom setting is applied to
2383 // other pages in the site and is saved, otherwise it only applies to this 2383 // other pages in the site and is saved, otherwise it only applies to this
2384 // tab. 2384 // tab.
2385 IPC_MESSAGE_ROUTED3(ViewHostMsg_UpdateZoomLimits, 2385 IPC_MESSAGE_ROUTED3(ViewHostMsg_UpdateZoomLimits,
2386 int /* minimum_percent */, 2386 int /* minimum_percent */,
2387 int /* maximum_percent */, 2387 int /* maximum_percent */,
2388 bool /* remember */) 2388 bool /* remember */)
2389 2389
2390 IPC_SYNC_MESSAGE_ROUTED0_1(ViewHostMsg_IsWebCopyCutEnabled,
Aaron Boodman 2011/02/16 21:52:34 This looks like a synchronous message to the brows
dcheng 2011/02/18 06:38:33 I've moved this to RenderMessageFilter. I'm not 10
2391 bool /* enabled */)
2392
2393 IPC_SYNC_MESSAGE_ROUTED0_1(ViewHostMsg_IsWebPasteEnabled,
2394 bool /* enabled */)
2395
2390 //--------------------------------------------------------------------------- 2396 //---------------------------------------------------------------------------
2391 // Device orientation services messages: 2397 // Device orientation services messages:
2392 2398
2393 // A RenderView requests to start receiving device orientation updates. 2399 // A RenderView requests to start receiving device orientation updates.
2394 IPC_MESSAGE_CONTROL1(ViewHostMsg_DeviceOrientation_StartUpdating, 2400 IPC_MESSAGE_CONTROL1(ViewHostMsg_DeviceOrientation_StartUpdating,
2395 int /* render_view_id */) 2401 int /* render_view_id */)
2396 2402
2397 // A RenderView requests to stop receiving device orientation updates. 2403 // A RenderView requests to stop receiving device orientation updates.
2398 IPC_MESSAGE_CONTROL1(ViewHostMsg_DeviceOrientation_StopUpdating, 2404 IPC_MESSAGE_CONTROL1(ViewHostMsg_DeviceOrientation_StopUpdating,
2399 int /* render_view_id */) 2405 int /* render_view_id */)
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
2526 // The currently displayed PDF has an unsupported feature. 2532 // The currently displayed PDF has an unsupported feature.
2527 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) 2533 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature)
2528 2534
2529 // JavaScript related messages ----------------------------------------------- 2535 // JavaScript related messages -----------------------------------------------
2530 2536
2531 // Notify the JavaScript engine in the render to change its parameters 2537 // Notify the JavaScript engine in the render to change its parameters
2532 // while performing stress testing. 2538 // while performing stress testing.
2533 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, 2539 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl,
2534 int /* cmd */, 2540 int /* cmd */,
2535 int /* param */) 2541 int /* param */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698