OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 COMPONENTS_HTML_VIEWER_HTML_VIEWER_SWITCHES_H_ | 5 #ifndef COMPONENTS_HTML_VIEWER_HTML_VIEWER_SWITCHES_H_ |
6 #define COMPONENTS_HTML_VIEWER_HTML_VIEWER_SWITCHES_H_ | 6 #define COMPONENTS_HTML_VIEWER_HTML_VIEWER_SWITCHES_H_ |
7 | 7 |
8 namespace html_viewer { | 8 namespace html_viewer { |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
11 // Switch to enable out of process iframes. | 11 // Switch to disable out of process iframes. |
12 extern const char kOOPIF[]; | 12 extern const char kDisableOOPIF[]; |
13 | 13 |
14 // If true a new HTMLFrameTreeManager is always created, even if a matching | 14 // If true a new HTMLFrameTreeManager is always created, even if a matching |
15 // HTMLFrameTreeManager is found. This is useful for tests (or debugging) that | 15 // HTMLFrameTreeManager is found. This is useful for tests (or debugging) that |
16 // want to synthesize what happens with multi-processes in a single process. | 16 // want to synthesize what happens with multi-processes in a single process. |
17 extern const char kOOPIFAlwaysCreateNewFrameTree[]; | 17 extern const char kOOPIFAlwaysCreateNewFrameTree[]; |
18 | 18 |
19 } // namespace switches | 19 } // namespace switches |
20 } // namespace html_viewer; | 20 } // namespace html_viewer; |
21 | 21 |
22 #endif // COMPONENTS_HTML_VIEWER_HTML_VIEWER_SWITCHES_H_ | 22 #endif // COMPONENTS_HTML_VIEWER_HTML_VIEWER_SWITCHES_H_ |
OLD | NEW |