/external/chromium_org/extensions/common/ |
H A D | feature_switch.cc | 22 FeatureSwitch::DEFAULT_DISABLED), 25 FeatureSwitch::DEFAULT_DISABLED), 29 FeatureSwitch::DEFAULT_ENABLED), 31 FeatureSwitch::DEFAULT_DISABLED), 35 FeatureSwitch::DEFAULT_DISABLED), 38 FeatureSwitch::DEFAULT_DISABLED), 41 FeatureSwitch::DEFAULT_DISABLED), 43 FeatureSwitch::DEFAULT_DISABLED), 46 FeatureSwitch::DEFAULT_DISABLED), 48 FeatureSwitch 119 FeatureSwitch::FeatureSwitch(const char* switch_name, function in class:extensions::FeatureSwitch 124 FeatureSwitch::FeatureSwitch(const CommandLine* command_line, function in class:extensions::FeatureSwitch [all...] |
H A D | feature_switch.h | 20 class FeatureSwitch { class in namespace:extensions 22 static FeatureSwitch* easy_off_store_install(); 23 static FeatureSwitch* force_dev_mode_highlighting(); 24 static FeatureSwitch* prompt_for_external_extensions(); 25 static FeatureSwitch* error_console(); 26 static FeatureSwitch* enable_override_bookmarks_ui(); 27 static FeatureSwitch* extension_action_redesign(); 28 static FeatureSwitch* scripts_require_action(); 29 static FeatureSwitch* embedded_extension_options(); 30 static FeatureSwitch* app_vie [all...] |
/external/chromium_org/chrome/common/extensions/ |
H A D | feature_switch_unittest.cc | 11 using extensions::FeatureSwitch; 17 template<FeatureSwitch::DefaultValue T> 26 FeatureSwitch feature_; 29 typedef FeatureSwitchTest<FeatureSwitch::DEFAULT_DISABLED> 31 typedef FeatureSwitchTest<FeatureSwitch::DEFAULT_ENABLED> 52 FeatureSwitch::ScopedOverride override(&feature_, false); 58 FeatureSwitch::ScopedOverride override(&feature_, true); 69 FeatureSwitch::ScopedOverride override(&feature_, false); 75 FeatureSwitch::ScopedOverride override(&feature_, true); 102 FeatureSwitch [all...] |
/external/chromium_org/extensions/browser/guest_view/extension_options/ |
H A D | extension_options_apitest.cc | 14 using extensions::FeatureSwitch; 21 enable_options_.reset(new FeatureSwitch::ScopedOverride( 22 FeatureSwitch::embedded_extension_options(), true)); 23 // Need to add a command line flag as well as a FeatureSwitch because the 24 // FeatureSwitch is not copied over to the renderer process from the 30 scoped_ptr<FeatureSwitch::ScopedOverride> enable_options_;
|
/external/chromium_org/chrome/common/extensions/manifest_tests/ |
H A D | extension_manifests_options_unittest.cc | 49 FeatureSwitch::ScopedOverride enable_flag( 50 FeatureSwitch::embedded_extension_options(), true); 70 FeatureSwitch::ScopedOverride enable_flag( 71 FeatureSwitch::embedded_extension_options(), true); 92 ASSERT_FALSE(FeatureSwitch::embedded_extension_options()->IsEnabled());
|
/external/chromium_org/chrome/browser/ui/location_bar/ |
H A D | location_bar_browsertest.cc | 56 scoped_ptr<extensions::FeatureSwitch::ScopedOverride> enable_override_; 64 enable_override_.reset(new extensions::FeatureSwitch::ScopedOverride( 65 extensions::FeatureSwitch::enable_override_bookmarks_ui(), true)); 175 scoped_ptr<extensions::FeatureSwitch::ScopedOverride> enable_redesign_; 183 enable_redesign_.reset(new extensions::FeatureSwitch::ScopedOverride( 184 extensions::FeatureSwitch::extension_action_redesign(), true));
|
H A D | location_bar.cc | 29 extensions::FeatureSwitch::enable_override_bookmarks_ui()
|
/external/chromium_org/chrome/browser/extensions/error_console/ |
H A D | error_console_unittest.cc | 38 // Errors are only kept if we have the FeatureSwitch and have Developer Mode 40 FeatureSwitch::error_console()->SetOverrideValue( 41 FeatureSwitch::OVERRIDE_ENABLED); 58 FeatureSwitch::error_console()->SetOverrideValue( 59 FeatureSwitch::OVERRIDE_DISABLED); 84 FeatureSwitch::error_console()->SetOverrideValue( 85 FeatureSwitch::OVERRIDE_ENABLED); 86 ASSERT_TRUE(FeatureSwitch::error_console()->IsEnabled()); 99 FeatureSwitch::error_console()->SetOverrideValue( 100 FeatureSwitch [all...] |
/external/chromium_org/chrome/browser/ui/views/toolbar/ |
H A D | toolbar_view_interactive_uitest.cc | 61 scoped_ptr<extensions::FeatureSwitch::ScopedOverride> feature_override_; 127 feature_override_.reset(new extensions::FeatureSwitch::ScopedOverride( 128 extensions::FeatureSwitch::extension_action_redesign(), true));
|
H A D | wrench_toolbar_button.cc | 27 extensions::FeatureSwitch::extension_action_redesign()->IsEnabled()),
|
/external/chromium_org/chrome/common/extensions/manifest_handlers/ |
H A D | synthesize_browser_action_handler.cc | 21 if (!extensions::FeatureSwitch::extension_action_redesign()->IsEnabled())
|
/external/chromium_org/chrome/browser/extensions/ |
H A D | extension_install_prompt_unittest.cc | 72 FeatureSwitch::ScopedOverride enable_scripts_switch( 73 FeatureSwitch::scripts_require_action(), true);
|
H A D | location_bar_controller_unittest.cc | 38 active_script_override_.reset(new FeatureSwitch::ScopedOverride( 39 FeatureSwitch::scripts_require_action(), true)); 97 scoped_ptr<FeatureSwitch::ScopedOverride> active_script_override_;
|
H A D | extension_action_test_util.cc | 32 if (!FeatureSwitch::extension_action_redesign()->IsEnabled()) {
|
H A D | external_install_manager.cc | 102 if (!FeatureSwitch::prompt_for_external_extensions()->IsEnabled() || 202 if (!FeatureSwitch::prompt_for_external_extensions()->IsEnabled())
|
H A D | location_bar_controller.cc | 27 !FeatureSwitch::extension_action_redesign()->IsEnabled()),
|
H A D | extension_webui_apitest.cc | 131 FeatureSwitch::ScopedOverride enable_options( 132 FeatureSwitch::embedded_extension_options(), true); 133 // Need to add a command line flag as well as a FeatureSwitch because the 134 // FeatureSwitch is not copied over to the renderer process from the 140 scoped_ptr<FeatureSwitch::ScopedOverride> enable_options_;
|
H A D | active_script_controller_unittest.cc | 77 FeatureSwitch::ScopedOverride feature_override_; 89 : feature_override_(FeatureSwitch::scripts_require_action(), 90 FeatureSwitch::OVERRIDE_ENABLED),
|
H A D | active_tab_permission_granter.cc | 99 if (FeatureSwitch::scripts_require_action()->IsEnabled()) {
|
H A D | permissions_updater_unittest.cc | 280 scoped_ptr<FeatureSwitch::ScopedOverride> switch_override( 281 new FeatureSwitch::ScopedOverride(FeatureSwitch::scripts_require_action(), 282 FeatureSwitch::OVERRIDE_ENABLED));
|
H A D | extension_context_menu_model_unittest.cc | 251 FeatureSwitch::ScopedOverride enable_toolbar_redesign( 252 FeatureSwitch::extension_action_redesign(), true);
|
H A D | extension_ui_unittest.cc | 320 scoped_ptr<FeatureSwitch::ScopedOverride> enable_scripts_switch( 321 new FeatureSwitch::ScopedOverride( 322 FeatureSwitch::scripts_require_action(), true));
|
/external/chromium_org/chrome/browser/ui/webui/extensions/ |
H A D | install_extension_handler.cc | 41 FeatureSwitch::easy_off_store_install()->IsEnabled());
|
/external/chromium_org/extensions/browser/guest_view/mime_handler_view/ |
H A D | mime_handler_view_guest.cc | 35 if (!extensions::FeatureSwitch::mime_handler_view()->IsEnabled())
|
/external/chromium_org/extensions/common/manifest_handlers/ |
H A D | options_page_info.cc | 115 bool open_in_tab = !FeatureSwitch::embedded_extension_options()->IsEnabled(); 119 FeatureSwitch::embedded_extension_options()->IsEnabled()) {
|