OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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_BROWSER_GUEST_MODE_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_GUEST_MODE_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "content/common/content_export.h" |
| 10 |
| 11 namespace content { |
| 12 |
| 13 class WebContents; |
| 14 |
| 15 class CONTENT_EXPORT GuestMode { |
| 16 public: |
| 17 // Returns true if |web_contents| is an inner WebContents based on cross |
| 18 // process frames. |
| 19 static bool IsCrossProcessFrameGuest(WebContents* web_contents); |
| 20 |
| 21 private: |
| 22 GuestMode(); |
| 23 |
| 24 DISALLOW_COPY_AND_ASSIGN(GuestMode); |
| 25 }; |
| 26 |
| 27 } // namespace content |
| 28 |
| 29 #endif // CONTENT_PUBLIC_BROWSER_GUEST_MODE_H_ |
OLD | NEW |