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

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

Issue 11606005: Browser Plugin: Simplify BrowserPluginGuestHelper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with ToT 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
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 private: 62 private:
63 // Message handlers. 63 // Message handlers.
64 void OnCreateGuest(int instance_id, 64 void OnCreateGuest(int instance_id,
65 const BrowserPluginHostMsg_CreateGuest_Params& params); 65 const BrowserPluginHostMsg_CreateGuest_Params& params);
66 void OnNavigateGuest(int instance_id, const std::string& src); 66 void OnNavigateGuest(int instance_id, const std::string& src);
67 void OnResizeGuest(int instance_id, 67 void OnResizeGuest(int instance_id,
68 const BrowserPluginHostMsg_ResizeGuest_Params& params); 68 const BrowserPluginHostMsg_ResizeGuest_Params& params);
69 void OnUpdateRectACK( 69 void OnUpdateRectACK(
70 int instance_id, 70 int instance_id,
71 int message_id,
72 const BrowserPluginHostMsg_AutoSize_Params& auto_size_params, 71 const BrowserPluginHostMsg_AutoSize_Params& auto_size_params,
73 const BrowserPluginHostMsg_ResizeGuest_Params& resize_guest_params); 72 const BrowserPluginHostMsg_ResizeGuest_Params& resize_guest_params);
74 void OnSwapBuffersACK(int route_id, 73 void OnSwapBuffersACK(int route_id,
75 int gpu_host_id, 74 int gpu_host_id,
76 uint64 surface_handle, 75 uint64 surface_handle,
77 uint32 sync_point); 76 uint32 sync_point);
78 void OnHandleInputEvent(int instance_id, 77 void OnHandleInputEvent(int instance_id,
79 const gfx::Rect& guest_window_rect, 78 const gfx::Rect& guest_window_rect,
80 const WebKit::WebInputEvent* input_event); 79 const WebKit::WebInputEvent* input_event);
81 void OnSetFocus(int instance_id, bool focused); 80 void OnSetFocus(int instance_id, bool focused);
(...skipping 17 matching lines...) Expand all
99 const gfx::Point& position); 98 const gfx::Point& position);
100 99
101 BrowserPluginEmbedder* embedder_; 100 BrowserPluginEmbedder* embedder_;
102 101
103 DISALLOW_COPY_AND_ASSIGN(BrowserPluginEmbedderHelper); 102 DISALLOW_COPY_AND_ASSIGN(BrowserPluginEmbedderHelper);
104 }; 103 };
105 104
106 } // namespace content 105 } // namespace content
107 106
108 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_EMBEDDER_HELPER_H_ 107 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_EMBEDDER_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698