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 namespace guest_mode { | |
Charlie Reis
2016/09/07 00:22:29
Hmm, I'm not a fan of introducing a new namespace
EhsanK
2016/09/08 18:14:58
That one lives in content/public/common while this
Charlie Reis
2016/09/15 20:56:10
Yes, let's at least use the same pattern, even if
EhsanK
2016/09/21 21:34:53
Sure. I am calling the class GuestMode now.
| |
16 | |
17 // TODO(ekaramad): This method is temporarily added to provide a workaround for | |
18 // BrowserPlugin-based MimeHandlerView to coexit with the rest of guests when | |
Charlie Reis
2016/09/07 00:22:29
nit: coexist
EhsanK
2016/09/08 18:14:58
Acknowledged.
| |
19 // they are OOPIF-based. This will be removed once https://crbug.com/642826 is | |
20 // fixed. | |
21 bool CONTENT_EXPORT IsCrossProcessFrameGuest(WebContents* web_contents); | |
Charlie Reis
2016/09/07 00:22:29
I'm finding this confusing, both in name and how i
EhsanK
2016/09/08 18:14:58
Hmm, this method is supposed to return true when |
EhsanK
2016/09/08 18:14:58
As lfg@ was suggesting offline, on the renderer si
Charlie Reis
2016/09/15 20:56:10
Yes, maybe we can have a renderer-side version for
EhsanK
2016/09/21 21:34:53
1- GuestViewIframeContainer, which cannot have a n
Charlie Reis
2016/09/21 22:18:21
The property we're looking for is that these place
EhsanK
2016/09/22 22:55:43
Thanks for clarification/suggestions. I removed th
| |
22 | |
23 } // namespace guest_mode | |
24 | |
25 } // namespace content | |
26 | |
27 #endif // CONTENT_PUBLIC_BROWSER_GUEST_MODE_H_ | |
OLD | NEW |