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

Unified Diff: content/public/test/browser_test_utils.cc

Issue 1889313002: Revert of Browser Side Text Input State Tracking for OOPIF (Manual). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/test/browser_test_utils.h ('k') | content/renderer/render_view_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/browser_test_utils.cc
diff --git a/content/public/test/browser_test_utils.cc b/content/public/test/browser_test_utils.cc
index a76aa3020e40b35af6d0e70ae9921d906ab4a7ef..6301f85c59c6c102677511f3889d66eeabf07a0f 100644
--- a/content/public/test/browser_test_utils.cc
+++ b/content/public/test/browser_test_utils.cc
@@ -31,7 +31,6 @@
#include "content/browser/web_contents/web_contents_view.h"
#include "content/common/input/synthetic_web_input_event_builders.h"
#include "content/common/input_messages.h"
-#include "content/common/text_input_state.h"
#include "content/common/view_messages.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/histogram_fetcher.h"
@@ -1236,18 +1235,4 @@ uint32_t InputMsgWatcher::WaitForAck() {
return ack_result_;
}
-TextInputStateTestExport::TextInputStateTestExport(
- const ui::TextInputType& type,
- const std::string& value)
- : type_(type), value_(value) {}
-
-// static
-TextInputStateTestExport TextInputStateTestExport::FromWebContents(
- WebContents* web_contents) {
- const TextInputState* state =
- static_cast<WebContentsImpl*>(web_contents)->GetTextInputState();
-
- return TextInputStateTestExport(state->type, state->value);
-}
-
} // namespace content
« no previous file with comments | « content/public/test/browser_test_utils.h ('k') | content/renderer/render_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698