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

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: Reduced scope, fixed comments. Created 8 years, 1 month 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) 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 private: 57 private:
58 // Message handlers. 58 // Message handlers.
59 void OnCreateGuest(int instance_id, 59 void OnCreateGuest(int instance_id,
60 const BrowserPluginHostMsg_CreateGuest_Params& params); 60 const BrowserPluginHostMsg_CreateGuest_Params& params);
61 void OnNavigateGuest(int instance_id, 61 void OnNavigateGuest(int instance_id,
62 const std::string& src, 62 const std::string& src,
63 const BrowserPluginHostMsg_ResizeGuest_Params& params); 63 const BrowserPluginHostMsg_ResizeGuest_Params& params);
64 void OnResizeGuest(int instance_id, 64 void OnResizeGuest(int instance_id,
65 const BrowserPluginHostMsg_ResizeGuest_Params& params); 65 const BrowserPluginHostMsg_ResizeGuest_Params& params);
66 void OnUpdateRectACK(int instance_id, int message_id, const gfx::Size& size); 66 void OnUpdateRectACK(int instance_id, int message_id, const gfx::Size& size);
67 void OnSwapBuffersACK(int route_id, int gpu_host_id, uint32 sync_point);
67 void OnHandleInputEvent(const IPC::SyncMessage& message, bool* handled); 68 void OnHandleInputEvent(const IPC::SyncMessage& message, bool* handled);
68 void OnSetFocus(int instance_id, bool focused); 69 void OnSetFocus(int instance_id, bool focused);
69 void OnPluginDestroyed(int instance_id); 70 void OnPluginDestroyed(int instance_id);
70 void OnGo(int instance_id, int relative_index); 71 void OnGo(int instance_id, int relative_index);
71 void OnStop(int instance_id); 72 void OnStop(int instance_id);
72 void OnReload(int instance_id); 73 void OnReload(int instance_id);
73 void OnTerminateGuest(int instance_id); 74 void OnTerminateGuest(int instance_id);
74 void OnSetGuestVisibility(int instance_id, bool visible); 75 void OnSetGuestVisibility(int instance_id, bool visible);
75 void OnDragStatusUpdate(int instance_id, 76 void OnDragStatusUpdate(int instance_id,
76 WebKit::WebDragStatus drag_status, 77 WebKit::WebDragStatus drag_status,
77 const WebDropData& drop_data, 78 const WebDropData& drop_data,
78 WebKit::WebDragOperationsMask drag_mask, 79 WebKit::WebDragOperationsMask drag_mask,
79 const gfx::Point& location); 80 const gfx::Point& location);
80 81
81 BrowserPluginEmbedder* embedder_; 82 BrowserPluginEmbedder* embedder_;
82 83
83 DISALLOW_COPY_AND_ASSIGN(BrowserPluginEmbedderHelper); 84 DISALLOW_COPY_AND_ASSIGN(BrowserPluginEmbedderHelper);
84 }; 85 };
85 86
86 } // namespace content 87 } // namespace content
87 88
88 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_EMBEDDER_HELPER_H_ 89 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_EMBEDDER_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698