| 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_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_MANAGER_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_MANAGER_IMPL_H_ |
| 6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_MANAGER_IMPL_H_ | 6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_MANAGER_IMPL_H_ |
| 7 | 7 |
| 8 #include "content/renderer/browser_plugin/browser_plugin_manager.h" | 8 #include "content/renderer/browser_plugin/browser_plugin_manager.h" |
| 9 #include "googleurl/src/gurl.h" | 9 #include "googleurl/src/gurl.h" |
| 10 | 10 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 // RenderProcessObserver override. Call on render thread. | 30 // RenderProcessObserver override. Call on render thread. |
| 31 virtual bool OnControlMessageReceived(const IPC::Message& message) OVERRIDE; | 31 virtual bool OnControlMessageReceived(const IPC::Message& message) OVERRIDE; |
| 32 private: | 32 private: |
| 33 void OnUpdateRect(int instance_id, | 33 void OnUpdateRect(int instance_id, |
| 34 int message_id, | 34 int message_id, |
| 35 const BrowserPluginMsg_UpdateRect_Params& params); | 35 const BrowserPluginMsg_UpdateRect_Params& params); |
| 36 void OnGuestCrashed(int instance_id); | 36 void OnGuestCrashed(int instance_id); |
| 37 void OnDidNavigate(int instance_id, | 37 void OnDidNavigate(int instance_id, |
| 38 const BrowserPluginMsg_DidNavigate_Params& params); | 38 const BrowserPluginMsg_DidNavigate_Params& params); |
| 39 void OnAdvanceFocus(int instance_id, bool reverse); | 39 void OnAdvanceFocus(int instance_id, bool reverse); |
| 40 void OnGuestContentWindowReady(int instance_id, int guest_routing_id); |
| 40 void OnShouldAcceptTouchEvents(int instance_id, bool accept); | 41 void OnShouldAcceptTouchEvents(int instance_id, bool accept); |
| 41 void OnLoadStart(int instance_id, | 42 void OnLoadStart(int instance_id, |
| 42 const GURL& url, | 43 const GURL& url, |
| 43 bool is_top_level); | 44 bool is_top_level); |
| 44 void OnLoadAbort(int instance_id, | 45 void OnLoadAbort(int instance_id, |
| 45 const GURL& url, | 46 const GURL& url, |
| 46 bool is_top_level, | 47 bool is_top_level, |
| 47 const std::string& type); | 48 const std::string& type); |
| 48 void OnLoadRedirect(int instance_id, | 49 void OnLoadRedirect(int instance_id, |
| 49 const GURL& old_url, | 50 const GURL& old_url, |
| 50 const GURL& new_url, | 51 const GURL& new_url, |
| 51 bool is_top_level); | 52 bool is_top_level); |
| 52 | 53 |
| 53 DISALLOW_COPY_AND_ASSIGN(BrowserPluginManagerImpl); | 54 DISALLOW_COPY_AND_ASSIGN(BrowserPluginManagerImpl); |
| 54 }; | 55 }; |
| 55 | 56 |
| 56 } // namespace content | 57 } // namespace content |
| 57 | 58 |
| 58 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_MANAGER_IMPL_H_ | 59 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_MANAGER_IMPL_H_ |
| OLD | NEW |