Searched refs:FeatureSwitch (Results 1 - 25 of 55) sorted by relevance

123

/external/chromium_org/extensions/common/
H A Dfeature_switch.cc22 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 Dfeature_switch.h20 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 Dfeature_switch_unittest.cc11 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 Dextension_options_apitest.cc14 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 Dextension_manifests_options_unittest.cc49 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 Dlocation_bar_browsertest.cc56 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 Dlocation_bar.cc29 extensions::FeatureSwitch::enable_override_bookmarks_ui()
/external/chromium_org/chrome/browser/extensions/error_console/
H A Derror_console_unittest.cc38 // 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 Dtoolbar_view_interactive_uitest.cc61 scoped_ptr<extensions::FeatureSwitch::ScopedOverride> feature_override_;
127 feature_override_.reset(new extensions::FeatureSwitch::ScopedOverride(
128 extensions::FeatureSwitch::extension_action_redesign(), true));
H A Dwrench_toolbar_button.cc27 extensions::FeatureSwitch::extension_action_redesign()->IsEnabled()),
/external/chromium_org/chrome/common/extensions/manifest_handlers/
H A Dsynthesize_browser_action_handler.cc21 if (!extensions::FeatureSwitch::extension_action_redesign()->IsEnabled())
/external/chromium_org/chrome/browser/extensions/
H A Dextension_install_prompt_unittest.cc72 FeatureSwitch::ScopedOverride enable_scripts_switch(
73 FeatureSwitch::scripts_require_action(), true);
H A Dlocation_bar_controller_unittest.cc38 active_script_override_.reset(new FeatureSwitch::ScopedOverride(
39 FeatureSwitch::scripts_require_action(), true));
97 scoped_ptr<FeatureSwitch::ScopedOverride> active_script_override_;
H A Dextension_action_test_util.cc32 if (!FeatureSwitch::extension_action_redesign()->IsEnabled()) {
H A Dexternal_install_manager.cc102 if (!FeatureSwitch::prompt_for_external_extensions()->IsEnabled() ||
202 if (!FeatureSwitch::prompt_for_external_extensions()->IsEnabled())
H A Dlocation_bar_controller.cc27 !FeatureSwitch::extension_action_redesign()->IsEnabled()),
H A Dextension_webui_apitest.cc131 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 Dactive_script_controller_unittest.cc77 FeatureSwitch::ScopedOverride feature_override_;
89 : feature_override_(FeatureSwitch::scripts_require_action(),
90 FeatureSwitch::OVERRIDE_ENABLED),
H A Dactive_tab_permission_granter.cc99 if (FeatureSwitch::scripts_require_action()->IsEnabled()) {
H A Dpermissions_updater_unittest.cc280 scoped_ptr<FeatureSwitch::ScopedOverride> switch_override(
281 new FeatureSwitch::ScopedOverride(FeatureSwitch::scripts_require_action(),
282 FeatureSwitch::OVERRIDE_ENABLED));
H A Dextension_context_menu_model_unittest.cc251 FeatureSwitch::ScopedOverride enable_toolbar_redesign(
252 FeatureSwitch::extension_action_redesign(), true);
H A Dextension_ui_unittest.cc320 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 Dinstall_extension_handler.cc41 FeatureSwitch::easy_off_store_install()->IsEnabled());
/external/chromium_org/extensions/browser/guest_view/mime_handler_view/
H A Dmime_handler_view_guest.cc35 if (!extensions::FeatureSwitch::mime_handler_view()->IsEnabled())
/external/chromium_org/extensions/common/manifest_handlers/
H A Doptions_page_info.cc115 bool open_in_tab = !FeatureSwitch::embedded_extension_options()->IsEnabled();
119 FeatureSwitch::embedded_extension_options()->IsEnabled()) {

Completed in 431 milliseconds

123