Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 11340019: Place <webview> tag behind a flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed WebViewTest.* Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 // User should set breakpoints on Alarm() to examine problematic thread. 648 // User should set breakpoints on Alarm() to examine problematic thread.
649 // 649 //
650 // Usage: -enable-watchdog=[ui][io] 650 // Usage: -enable-watchdog=[ui][io]
651 // 651 //
652 // Order of the listed sub-arguments does not matter. 652 // Order of the listed sub-arguments does not matter.
653 const char kEnableWatchdog[] = "enable-watchdog"; 653 const char kEnableWatchdog[] = "enable-watchdog";
654 654
655 // Uses WebSocket over SPDY. 655 // Uses WebSocket over SPDY.
656 const char kEnableWebSocketOverSpdy[] = "enable-websocket-over-spdy"; 656 const char kEnableWebSocketOverSpdy[] = "enable-websocket-over-spdy";
657 657
658 // Enable <webview> in Chrome Apps.
659 const char kEnableWebView[] = "enable-webview";
660
658 // Explicitly allows additional ports using a comma-separated list of port 661 // Explicitly allows additional ports using a comma-separated list of port
659 // numbers. 662 // numbers.
660 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports"; 663 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports";
661 664
662 // The time in seconds that an extension event page can be idle before it 665 // The time in seconds that an extension event page can be idle before it
663 // is shut down. 666 // is shut down.
664 const char kEventPageIdleTime[] = "event-page-idle-time"; 667 const char kEventPageIdleTime[] = "event-page-idle-time";
665 668
666 // The time in seconds that an extension event page has between being notified 669 // The time in seconds that an extension event page has between being notified
667 // of its impending unload and that unload happening. 670 // of its impending unload and that unload happening.
(...skipping 916 matching lines...) Expand 10 before | Expand all | Expand 10 after
1584 return true; 1587 return true;
1585 #elif defined(OS_WIN) 1588 #elif defined(OS_WIN)
1586 return true; 1589 return true;
1587 #else 1590 #else
1588 return CommandLine::ForCurrentProcess()->HasSwitch( 1591 return CommandLine::ForCurrentProcess()->HasSwitch(
1589 switches::kEnableFramelessConstrainedDialogs); 1592 switches::kEnableFramelessConstrainedDialogs);
1590 #endif 1593 #endif
1591 } 1594 }
1592 1595
1593 } // namespace chrome 1596 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698