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/basictypes.h" |
| 9 #include "content/common/content_export.h" |
| 10 |
| 11 namespace content { |
| 12 |
| 13 class CONTENT_EXPORT BrowserPluginGuestMode { |
| 14 public: |
| 15 // Returns true if <webview> should be implemented in terms of cross-process |
| 16 // iframes. |
| 17 // TODO(lazyboy, nick): This should probably be a command line flag separate |
| 18 // from full site isolation (--site-per-process). |
| 19 static bool UseCrossProcessFramesForGuests(); |
| 20 |
| 21 private: |
| 22 BrowserPluginGuestMode(); // Not instantiable |
| 23 |
| 24 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuestMode); |
| 25 }; |
| 26 |
| 27 } // namespace |
| 28 |
| 29 #endif // CONTENT_PUBLIC_COMMON_BROWSER_PLUGIN_GUEST_MODE_H_ |
OLD | NEW |