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

Unified Diff: content/shell/renderer/webkit_test_runner.cc

Issue 144013010: Move TextInputController from CppBoundClass to gin::Wrappable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: TextInputController1 -> TextInputController Created 6 years, 10 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
Index: content/shell/renderer/webkit_test_runner.cc
diff --git a/content/shell/renderer/webkit_test_runner.cc b/content/shell/renderer/webkit_test_runner.cc
index 0484667d3fbbe30f638f30d29b5c0f2d7b5e7ef6..b93f29e47b2848f6662eb7b09ec2b912c5b3c647 100644
--- a/content/shell/renderer/webkit_test_runner.cc
+++ b/content/shell/renderer/webkit_test_runner.cc
@@ -36,6 +36,7 @@
#include "content/shell/renderer/test_runner/WebTestInterfaces.h"
#include "content/shell/renderer/test_runner/WebTestProxy.h"
#include "content/shell/renderer/test_runner/WebTestRunner.h"
+#include "content/shell/renderer/test_runner/text_input_controller.h"
#include "net/base/net_errors.h"
#include "net/base/net_util.h"
#include "skia/ext/platform_canvas.h"
@@ -555,8 +556,10 @@ void WebKitTestRunner::captureHistoryForWindow(
void WebKitTestRunner::DidClearWindowObject(WebFrame* frame, int world_id) {
WebTestingSupport::injectInternalsObject(frame);
ShellRenderProcessObserver::GetInstance()->test_interfaces()->bindTo(frame);
- if (world_id == 0)
+ if (world_id == 0) {
GCController::Install(frame);
+ WebTestRunner::TextInputController::Install(frame);
+ }
}
bool WebKitTestRunner::OnMessageReceived(const IPC::Message& message) {

Powered by Google App Engine
This is Rietveld 408576698