OLD | NEW |
| (Empty) |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_PUBLIC_COMMON_BROWSER_PLUGIN_GUEST_MODE_H_ | |
6 #define CONTENT_PUBLIC_COMMON_BROWSER_PLUGIN_GUEST_MODE_H_ | |
7 | |
8 #include "base/macros.h" | |
9 #include "content/common/content_export.h" | |
10 | |
11 namespace content { | |
12 | |
13 class CONTENT_EXPORT BrowserPluginGuestMode { | |
14 public: | |
15 // Returns true if inner WebContents should be implemented in terms of cross- | |
16 // process iframes. | |
17 static bool UseCrossProcessFramesForGuests(); | |
18 | |
19 private: | |
20 BrowserPluginGuestMode(); // Not instantiable | |
21 | |
22 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuestMode); | |
23 }; | |
24 | |
25 } // namespace | |
26 | |
27 #endif // CONTENT_PUBLIC_COMMON_BROWSER_PLUGIN_GUEST_MODE_H_ | |
OLD | NEW |