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

Side by Side Diff: extensions/common/guest_view/guest_view_messages.h

Issue 959413003: Implement <webview>.addContentScript/removeContentScript API [1] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 8 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 GuestViews. 5 // IPC messages for GuestViews.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/values.h" 10 #include "base/values.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 int /* render_frame_id */, 52 int /* render_frame_id */,
53 std::string /* view_id */, 53 std::string /* view_id */,
54 int /* element_instance_id */, 54 int /* element_instance_id */,
55 gfx::Size /* element_size */) 55 gfx::Size /* element_size */)
56 56
57 // A renderer sends this message when it wants to resize a guest. 57 // A renderer sends this message when it wants to resize a guest.
58 IPC_MESSAGE_CONTROL3(GuestViewHostMsg_ResizeGuest, 58 IPC_MESSAGE_CONTROL3(GuestViewHostMsg_ResizeGuest,
59 int /* routing_id */, 59 int /* routing_id */,
60 int /* element_instance_id*/, 60 int /* element_instance_id*/,
61 gfx::Size /* new_size */) 61 gfx::Size /* new_size */)
62
63 IPC_SYNC_MESSAGE_CONTROL2_1(GuestViewHostMsg_CanExecuteContentScript,
Devlin 2015/04/08 17:50:56 nit: Let's put sync in the name (i.e., CanExecuteC
Xi Han 2015/04/08 22:10:37 Done.
64 int /* routing_id */,
65 int /* script_id */,
66 bool /* allowed */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698