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

Side by Side Diff: content/common/browser_plugin/browser_plugin_messages.h

Issue 21930006: <webview>: Allocate the view instance ID from the WebView shim (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with ToT Created 7 years, 4 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 (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 // Multiply-included message header, no traditional include guard. 5 // Multiply-included message header, no traditional include guard.
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/shared_memory.h" 10 #include "base/memory/shared_memory.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 IPC_STRUCT_MEMBER(gfx::Rect, view_rect) 57 IPC_STRUCT_MEMBER(gfx::Rect, view_rect)
58 // Indicates the scale factor of the embedder WebView. 58 // Indicates the scale factor of the embedder WebView.
59 IPC_STRUCT_MEMBER(float, scale_factor) 59 IPC_STRUCT_MEMBER(float, scale_factor)
60 // Indicates a request for a full repaint of the page. 60 // Indicates a request for a full repaint of the page.
61 // This is required for switching from compositing to the software 61 // This is required for switching from compositing to the software
62 // rendering path. 62 // rendering path.
63 IPC_STRUCT_MEMBER(bool, repaint) 63 IPC_STRUCT_MEMBER(bool, repaint)
64 IPC_STRUCT_END() 64 IPC_STRUCT_END()
65 65
66 IPC_STRUCT_BEGIN(BrowserPluginHostMsg_Attach_Params) 66 IPC_STRUCT_BEGIN(BrowserPluginHostMsg_Attach_Params)
67 IPC_STRUCT_MEMBER(int, browser_plugin_instance_id)
68 IPC_STRUCT_MEMBER(std::string, storage_partition_id) 67 IPC_STRUCT_MEMBER(std::string, storage_partition_id)
69 IPC_STRUCT_MEMBER(bool, persist_storage) 68 IPC_STRUCT_MEMBER(bool, persist_storage)
70 IPC_STRUCT_MEMBER(bool, focused) 69 IPC_STRUCT_MEMBER(bool, focused)
71 IPC_STRUCT_MEMBER(bool, visible) 70 IPC_STRUCT_MEMBER(bool, visible)
72 IPC_STRUCT_MEMBER(std::string, name) 71 IPC_STRUCT_MEMBER(std::string, name)
73 IPC_STRUCT_MEMBER(std::string, src) 72 IPC_STRUCT_MEMBER(std::string, src)
74 IPC_STRUCT_MEMBER(BrowserPluginHostMsg_AutoSize_Params, auto_size_params) 73 IPC_STRUCT_MEMBER(BrowserPluginHostMsg_AutoSize_Params, auto_size_params)
75 IPC_STRUCT_MEMBER(BrowserPluginHostMsg_ResizeGuest_Params, 74 IPC_STRUCT_MEMBER(BrowserPluginHostMsg_ResizeGuest_Params,
76 resize_guest_params) 75 resize_guest_params)
77 IPC_STRUCT_END() 76 IPC_STRUCT_END()
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 int /* instance_id */, 369 int /* instance_id */,
371 BrowserPluginPermissionType /* permission_type */, 370 BrowserPluginPermissionType /* permission_type */,
372 int /* request_id */, 371 int /* request_id */,
373 base::DictionaryValue /* request_info */) 372 base::DictionaryValue /* request_info */)
374 373
375 // Forwards a PointerLock Unlock request to the BrowserPlugin. 374 // Forwards a PointerLock Unlock request to the BrowserPlugin.
376 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetMouseLock, 375 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetMouseLock,
377 int /* instance_id */, 376 int /* instance_id */,
378 bool /* enable */) 377 bool /* enable */)
379 378
OLDNEW
« no previous file with comments | « content/browser/browser_plugin/browser_plugin_embedder.cc ('k') | content/public/browser/content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698