| OLD | NEW |
| 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 Loading... |
| 60 void OnResizeGuest(int instance_id, | 60 void OnResizeGuest(int instance_id, |
| 61 const BrowserPluginHostMsg_ResizeGuest_Params& params); | 61 const BrowserPluginHostMsg_ResizeGuest_Params& params); |
| 62 void OnUpdateRectACK(int instance_id, int message_id, const gfx::Size& size); | 62 void OnUpdateRectACK(int instance_id, int message_id, const gfx::Size& size); |
| 63 void OnHandleInputEvent(const IPC::SyncMessage& message, bool* handled); | 63 void OnHandleInputEvent(const IPC::SyncMessage& message, bool* handled); |
| 64 void OnSetFocus(int instance_id, bool focused); | 64 void OnSetFocus(int instance_id, bool focused); |
| 65 void OnPluginDestroyed(int instance_id); | 65 void OnPluginDestroyed(int instance_id); |
| 66 void OnGo(int instance_id, int relative_index); | 66 void OnGo(int instance_id, int relative_index); |
| 67 void OnStop(int instance_id); | 67 void OnStop(int instance_id); |
| 68 void OnReload(int instance_id); | 68 void OnReload(int instance_id); |
| 69 void OnTerminateGuest(int instance_id); | 69 void OnTerminateGuest(int instance_id); |
| 70 void OnSetGuestVisibility(int instance_id, bool visible); |
| 70 | 71 |
| 71 BrowserPluginEmbedder* embedder_; | 72 BrowserPluginEmbedder* embedder_; |
| 72 | 73 |
| 73 DISALLOW_COPY_AND_ASSIGN(BrowserPluginEmbedderHelper); | 74 DISALLOW_COPY_AND_ASSIGN(BrowserPluginEmbedderHelper); |
| 74 }; | 75 }; |
| 75 | 76 |
| 76 } // namespace content | 77 } // namespace content |
| 77 | 78 |
| 78 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_EMBEDDER_HELPER_H_ | 79 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_EMBEDDER_HELPER_H_ |
| OLD | NEW |