OLD | NEW |
---|---|
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_PUBLIC_BROWSER_BROWSER_PLUGIN_GUEST_DELEGATE_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_BROWSER_PLUGIN_GUEST_DELEGATE_H_ |
6 #define CONTENT_PUBLIC_BROWSER_BROWSER_PLUGIN_GUEST_DELEGATE_H_ | 6 #define CONTENT_PUBLIC_BROWSER_BROWSER_PLUGIN_GUEST_DELEGATE_H_ |
7 | 7 |
8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
9 #include "base/process/kill.h" | 9 #include "base/process/kill.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
74 // it is about to be destroyed. | 74 // it is about to be destroyed. |
75 typedef base::Callback<void()> DestructionCallback; | 75 typedef base::Callback<void()> DestructionCallback; |
76 virtual void RegisterDestructionCallback( | 76 virtual void RegisterDestructionCallback( |
77 const DestructionCallback& callback) {} | 77 const DestructionCallback& callback) {} |
78 | 78 |
79 // Find the given |search_text| in the page. Returns true if the find request | 79 // Find the given |search_text| in the page. Returns true if the find request |
80 // is handled by this browser plugin guest delegate. | 80 // is handled by this browser plugin guest delegate. |
81 virtual bool Find(int request_id, | 81 virtual bool Find(int request_id, |
82 const base::string16& search_text, | 82 const base::string16& search_text, |
83 const blink::WebFindOptions& options); | 83 const blink::WebFindOptions& options); |
84 | |
85 // Called after the guest's JavaScript onload function has completed. | |
86 virtual void DocumentOnLoadCompleted(int guest_proxy_routing_id) {} | |
Fady Samuel
2014/12/19 03:28:25
Is this necessary? GuestViewBase is a WebContentsO
| |
84 }; | 87 }; |
85 | 88 |
86 } // namespace content | 89 } // namespace content |
87 | 90 |
88 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_PLUGIN_GUEST_DELEGATE_H_ | 91 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_PLUGIN_GUEST_DELEGATE_H_ |
OLD | NEW |