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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 void OnNavigateGuest(int instance_id, | 54 void OnNavigateGuest(int instance_id, |
55 int64 frame_id, | 55 int64 frame_id, |
56 const std::string& src, | 56 const std::string& src, |
57 const gfx::Size& size); | 57 const gfx::Size& size); |
58 void OnResizeGuest(int instance_id, | 58 void OnResizeGuest(int instance_id, |
59 const BrowserPluginHostMsg_ResizeGuest_Params& params); | 59 const BrowserPluginHostMsg_ResizeGuest_Params& params); |
60 void OnUpdateRectACK(int instance_id, int message_id, const gfx::Size& size); | 60 void OnUpdateRectACK(int instance_id, int message_id, const gfx::Size& size); |
61 void OnHandleInputEvent(const IPC::SyncMessage& message, bool* handled); | 61 void OnHandleInputEvent(const IPC::SyncMessage& message, bool* handled); |
62 void OnSetFocus(int instance_id, bool focused); | 62 void OnSetFocus(int instance_id, bool focused); |
63 void OnPluginDestroyed(int instance_id); | 63 void OnPluginDestroyed(int instance_id); |
| 64 void OnBack(int instance_id); |
| 65 void OnForward(int instance_id); |
| 66 void OnGo(int instance_id, int relative_index); |
64 | 67 |
65 BrowserPluginEmbedder* embedder_; | 68 BrowserPluginEmbedder* embedder_; |
66 | 69 |
67 DISALLOW_COPY_AND_ASSIGN(BrowserPluginEmbedderHelper); | 70 DISALLOW_COPY_AND_ASSIGN(BrowserPluginEmbedderHelper); |
68 }; | 71 }; |
69 | 72 |
70 } // namespace content | 73 } // namespace content |
71 | 74 |
72 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_EMBEDDER_HELPER_H_ | 75 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_EMBEDDER_HELPER_H_ |
OLD | NEW |