Index: ui/base/ui_base_switches_util.h |
diff --git a/ui/base/ui_base_switches_util.h b/ui/base/ui_base_switches_util.h |
index 92badcc4ce0291f3f0b52c5a5426597d7550eb38..6dd8ddd274218979775e15e7adefdb309c94111d 100644 |
--- a/ui/base/ui_base_switches_util.h |
+++ b/ui/base/ui_base_switches_util.h |
@@ -5,14 +5,27 @@ |
#ifndef UI_BASE_UI_BASE_SWITCHES_UTIL_H_ |
#define UI_BASE_UI_BASE_SWITCHES_UTIL_H_ |
-#include "base/compiler_specific.h" |
+#include "base/auto_reset.h" |
+#include "base/macros.h" |
#include "ui/base/ui_base_export.h" |
namespace switches { |
+UI_BASE_EXPORT bool IsTextInputFocusManagerEnabled(); |
UI_BASE_EXPORT bool IsTouchDragDropEnabled(); |
UI_BASE_EXPORT bool IsTouchEditingEnabled(); |
+class UI_BASE_EXPORT ScopedTextInputFocusManagerForTesting { |
msw
2014/04/18 19:57:57
Remove this and instead append kEnableTextInputFoc
Yuki
2014/04/22 09:09:02
Done.
|
+ public: |
+ ScopedTextInputFocusManagerForTesting(); |
+ ~ScopedTextInputFocusManagerForTesting(); |
+ |
+ private: |
+ base::AutoReset<bool> auto_reset_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(ScopedTextInputFocusManagerForTesting); |
+}; |
+ |
} // namespace switches |
#endif // UI_BASE_UI_BASE_SWITCHES_UTIL_H_ |