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

Side by Side Diff: content/browser/browser_plugin/browser_plugin_embedder_helper.h

Issue 11364133: Messages needed for webview compositor communication. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Routed not control Created 8 years 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
« no previous file with comments | « no previous file | content/browser/browser_plugin/browser_plugin_embedder_helper.cc » ('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 (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 #ifndef CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_EMBEDDER_HELPER_H_ 5 #ifndef CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_EMBEDDER_HELPER_H_
6 #define CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_EMBEDDER_HELPER_H_ 6 #define CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_EMBEDDER_HELPER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 void OnCreateGuest(int instance_id, 60 void OnCreateGuest(int instance_id,
61 const BrowserPluginHostMsg_CreateGuest_Params& params); 61 const BrowserPluginHostMsg_CreateGuest_Params& params);
62 void OnNavigateGuest(int instance_id, const std::string& src); 62 void OnNavigateGuest(int instance_id, const std::string& src);
63 void OnResizeGuest(int instance_id, 63 void OnResizeGuest(int instance_id,
64 const BrowserPluginHostMsg_ResizeGuest_Params& params); 64 const BrowserPluginHostMsg_ResizeGuest_Params& params);
65 void OnUpdateRectACK( 65 void OnUpdateRectACK(
66 int instance_id, 66 int instance_id,
67 int message_id, 67 int message_id,
68 const BrowserPluginHostMsg_AutoSize_Params& auto_size_params, 68 const BrowserPluginHostMsg_AutoSize_Params& auto_size_params,
69 const BrowserPluginHostMsg_ResizeGuest_Params& resize_guest_params); 69 const BrowserPluginHostMsg_ResizeGuest_Params& resize_guest_params);
70 void OnSwapBuffersACK(int route_id, int gpu_host_id, uint32 sync_point);
70 void OnHandleInputEvent(const IPC::SyncMessage& message, bool* handled); 71 void OnHandleInputEvent(const IPC::SyncMessage& message, bool* handled);
71 void OnSetFocus(int instance_id, bool focused); 72 void OnSetFocus(int instance_id, bool focused);
72 void OnPluginDestroyed(int instance_id); 73 void OnPluginDestroyed(int instance_id);
73 void OnGo(int instance_id, int relative_index); 74 void OnGo(int instance_id, int relative_index);
74 void OnStop(int instance_id); 75 void OnStop(int instance_id);
75 void OnReload(int instance_id); 76 void OnReload(int instance_id);
76 void OnTerminateGuest(int instance_id); 77 void OnTerminateGuest(int instance_id);
77 void OnSetGuestVisibility(int instance_id, bool visible); 78 void OnSetGuestVisibility(int instance_id, bool visible);
78 void OnDragStatusUpdate(int instance_id, 79 void OnDragStatusUpdate(int instance_id,
79 WebKit::WebDragStatus drag_status, 80 WebKit::WebDragStatus drag_status,
80 const WebDropData& drop_data, 81 const WebDropData& drop_data,
81 WebKit::WebDragOperationsMask drag_mask, 82 WebKit::WebDragOperationsMask drag_mask,
82 const gfx::Point& location); 83 const gfx::Point& location);
83 void OnSetAutoSize( 84 void OnSetAutoSize(
84 int instance_id, 85 int instance_id,
85 const BrowserPluginHostMsg_AutoSize_Params& auto_size_params, 86 const BrowserPluginHostMsg_AutoSize_Params& auto_size_params,
86 const BrowserPluginHostMsg_ResizeGuest_Params& resize_guest_params); 87 const BrowserPluginHostMsg_ResizeGuest_Params& resize_guest_params);
87 void OnPluginAtPositionResponse(int instance_id, 88 void OnPluginAtPositionResponse(int instance_id,
88 int request_id, 89 int request_id,
89 const gfx::Point& position); 90 const gfx::Point& position);
90 91
91 BrowserPluginEmbedder* embedder_; 92 BrowserPluginEmbedder* embedder_;
92 93
93 DISALLOW_COPY_AND_ASSIGN(BrowserPluginEmbedderHelper); 94 DISALLOW_COPY_AND_ASSIGN(BrowserPluginEmbedderHelper);
94 }; 95 };
95 96
96 } // namespace content 97 } // namespace content
97 98
98 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_EMBEDDER_HELPER_H_ 99 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_EMBEDDER_HELPER_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/browser_plugin/browser_plugin_embedder_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698