| Index: content/public/test/browser_test_utils.h
|
| diff --git a/content/public/test/browser_test_utils.h b/content/public/test/browser_test_utils.h
|
| index a07ed26205bb054dbabac92d274ea4a7bf4134f9..1fa66912076b84a63d90a7330e81f2b15f67a0c1 100644
|
| --- a/content/public/test/browser_test_utils.h
|
| +++ b/content/public/test/browser_test_utils.h
|
| @@ -27,6 +27,7 @@
|
| #include "ipc/message_filter.h"
|
| #include "third_party/WebKit/public/web/WebInputEvent.h"
|
| #include "ui/accessibility/ax_node_data.h"
|
| +#include "ui/base/ime/text_input_type.h"
|
| #include "ui/events/keycodes/keyboard_codes.h"
|
| #include "url/gurl.h"
|
|
|
| @@ -505,6 +506,23 @@ class InputMsgWatcher : public BrowserMessageFilter {
|
| DISALLOW_COPY_AND_ASSIGN(InputMsgWatcher);
|
| };
|
|
|
| +class TextInputStateTestExport {
|
| + public:
|
| + static TextInputStateTestExport FromWebContents(
|
| + content::WebContents* web_contents);
|
| +
|
| + const ui::TextInputType& type() const { return type_; }
|
| +
|
| + const std::string& value() const { return value_; }
|
| +
|
| + private:
|
| + TextInputStateTestExport(const ui::TextInputType& type,
|
| + const std::string& value);
|
| +
|
| + ui::TextInputType type_;
|
| + std::string value_;
|
| +};
|
| +
|
| } // namespace content
|
|
|
| #endif // CONTENT_PUBLIC_TEST_BROWSER_TEST_UTILS_H_
|
|
|