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 15 matching lines...) Expand all Loading... |
26 // IPC::Sender implementation. | 26 // IPC::Sender implementation. |
27 virtual bool Send(IPC::Message* msg) OVERRIDE; | 27 virtual bool Send(IPC::Message* msg) OVERRIDE; |
28 | 28 |
29 // RenderProcessObserver override. Call on render thread. | 29 // RenderProcessObserver override. Call on render thread. |
30 virtual bool OnControlMessageReceived(const IPC::Message& message) OVERRIDE; | 30 virtual bool OnControlMessageReceived(const IPC::Message& message) OVERRIDE; |
31 private: | 31 private: |
32 void OnUpdateRect(int instance_id, | 32 void OnUpdateRect(int instance_id, |
33 int message_id, | 33 int message_id, |
34 const BrowserPluginMsg_UpdateRect_Params& params); | 34 const BrowserPluginMsg_UpdateRect_Params& params); |
35 void OnGuestCrashed(int instance_id); | 35 void OnGuestCrashed(int instance_id); |
36 void OnDidNavigate(int instance_id, const GURL& url, int process_id); | 36 void OnLoadCommit(int instance_id, |
| 37 const GURL& url, |
| 38 int process_id, |
| 39 bool is_main_frame); |
| 40 void OnLoadStop(int instance_id); |
37 void OnAdvanceFocus(int instance_id, bool reverse); | 41 void OnAdvanceFocus(int instance_id, bool reverse); |
38 void OnShouldAcceptTouchEvents(int instance_id, bool accept); | 42 void OnShouldAcceptTouchEvents(int instance_id, bool accept); |
39 void OnLoadStart(int instance_id, | 43 void OnLoadStart(int instance_id, |
40 const GURL& url, | 44 const GURL& url, |
41 bool is_top_level); | 45 bool is_top_level); |
42 void OnLoadAbort(int instance_id, | 46 void OnLoadAbort(int instance_id, |
43 const GURL& url, | 47 const GURL& url, |
44 bool is_top_level, | 48 bool is_top_level, |
45 const std::string& type); | 49 const std::string& type); |
46 void OnLoadRedirect(int instance_id, | 50 void OnLoadRedirect(int instance_id, |
47 const GURL& old_url, | 51 const GURL& old_url, |
48 const GURL& new_url, | 52 const GURL& new_url, |
49 bool is_top_level); | 53 bool is_top_level); |
50 | 54 |
51 DISALLOW_COPY_AND_ASSIGN(BrowserPluginManagerImpl); | 55 DISALLOW_COPY_AND_ASSIGN(BrowserPluginManagerImpl); |
52 }; | 56 }; |
53 | 57 |
54 } // namespace content | 58 } // namespace content |
55 | 59 |
56 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_MANAGER_IMPL_H_ | 60 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_MANAGER_IMPL_H_ |
OLD | NEW |