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" |
11 #include "content/public/browser/web_contents.h" | 11 #include "content/public/browser/web_contents.h" |
12 | 12 |
13 namespace base { | |
14 class DictionaryValue; | |
15 } // namespace base | |
16 | |
17 namespace gfx { | 13 namespace gfx { |
18 class Size; | 14 class Size; |
19 } // namespace gfx | 15 } // namespace gfx |
20 | 16 |
21 namespace content { | 17 namespace content { |
22 | 18 |
23 class GuestHost; | 19 class GuestHost; |
24 | 20 |
25 // Objects implement this interface to get notified about changes in the guest | 21 // Objects implement this interface to get notified about changes in the guest |
26 // WebContents and to provide necessary functionality. | 22 // WebContents and to provide necessary functionality. |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 | 91 |
96 // TODO(ekaramad): A short workaround to force some types of guests to use | 92 // TODO(ekaramad): A short workaround to force some types of guests to use |
97 // a BrowserPlugin even when we are using cross process frames for guests. It | 93 // a BrowserPlugin even when we are using cross process frames for guests. It |
98 // should be removed after resolving https://crbug.com/642826). | 94 // should be removed after resolving https://crbug.com/642826). |
99 virtual bool CanUseCrossProcessFrames(); | 95 virtual bool CanUseCrossProcessFrames(); |
100 }; | 96 }; |
101 | 97 |
102 } // namespace content | 98 } // namespace content |
103 | 99 |
104 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_PLUGIN_GUEST_DELEGATE_H_ | 100 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_PLUGIN_GUEST_DELEGATE_H_ |
OLD | NEW |