| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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_H_ | 5 #ifndef CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ |
| 6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ | 6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ |
| 7 | 7 |
| 8 #include "third_party/WebKit/public/web/WebPlugin.h" | 8 #include "third_party/WebKit/public/web/WebPlugin.h" |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 int content_window_routing_id); | 340 int content_window_routing_id); |
| 341 void OnGuestGone(int instance_id, int process_id, int status); | 341 void OnGuestGone(int instance_id, int process_id, int status); |
| 342 void OnGuestResponsive(int instance_id, int process_id); | 342 void OnGuestResponsive(int instance_id, int process_id); |
| 343 void OnGuestUnresponsive(int instance_id, int process_id); | 343 void OnGuestUnresponsive(int instance_id, int process_id); |
| 344 void OnLoadAbort(int instance_id, | 344 void OnLoadAbort(int instance_id, |
| 345 const GURL& url, | 345 const GURL& url, |
| 346 bool is_top_level, | 346 bool is_top_level, |
| 347 const std::string& type); | 347 const std::string& type); |
| 348 void OnLoadCommit(int instance_id, | 348 void OnLoadCommit(int instance_id, |
| 349 const BrowserPluginMsg_LoadCommit_Params& params); | 349 const BrowserPluginMsg_LoadCommit_Params& params); |
| 350 void OnLoadHandlerCalled(int instance_id); | |
| 351 void OnLoadRedirect(int instance_id, | 350 void OnLoadRedirect(int instance_id, |
| 352 const GURL& old_url, | 351 const GURL& old_url, |
| 353 const GURL& new_url, | 352 const GURL& new_url, |
| 354 bool is_top_level); | 353 bool is_top_level); |
| 355 void OnLoadStart(int instance_id, const GURL& url, bool is_top_level); | 354 void OnLoadStart(int instance_id, const GURL& url, bool is_top_level); |
| 356 // Requests permission from the embedder. | 355 // Requests permission from the embedder. |
| 357 void OnRequestPermission(int instance_id, | 356 void OnRequestPermission(int instance_id, |
| 358 BrowserPluginPermissionType permission_type, | 357 BrowserPluginPermissionType permission_type, |
| 359 int request_id, | 358 int request_id, |
| 360 const base::DictionaryValue& request_info); | 359 const base::DictionaryValue& request_info); |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 base::WeakPtrFactory<BrowserPlugin> weak_ptr_factory_; | 431 base::WeakPtrFactory<BrowserPlugin> weak_ptr_factory_; |
| 433 | 432 |
| 434 std::vector<EditCommand> edit_commands_; | 433 std::vector<EditCommand> edit_commands_; |
| 435 | 434 |
| 436 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin); | 435 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin); |
| 437 }; | 436 }; |
| 438 | 437 |
| 439 } // namespace content | 438 } // namespace content |
| 440 | 439 |
| 441 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ | 440 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ |
| OLD | NEW |