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

Side by Side Diff: components/test_runner/web_test_proxy.cc

Issue 1345343003: Remove lots of old blur plumbing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase. Created 5 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/test_runner/web_test_proxy.h" 5 #include "components/test_runner/web_test_proxy.h"
6 6
7 #include <cctype> 7 #include <cctype>
8 8
9 #include "base/callback_helpers.h" 9 #include "base/callback_helpers.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 1000 matching lines...) Expand 10 before | Expand all | Expand 10 after
1011 } 1011 }
1012 1012
1013 bool WebTestProxyBase::IsPointerLocked() { 1013 bool WebTestProxyBase::IsPointerLocked() {
1014 return test_interfaces_->GetTestRunner()->isPointerLocked(); 1014 return test_interfaces_->GetTestRunner()->isPointerLocked();
1015 } 1015 }
1016 1016
1017 void WebTestProxyBase::DidFocus() { 1017 void WebTestProxyBase::DidFocus() {
1018 delegate_->SetFocus(this, true); 1018 delegate_->SetFocus(this, true);
1019 } 1019 }
1020 1020
1021 void WebTestProxyBase::DidBlur() {
1022 delegate_->SetFocus(this, false);
1023 }
1024
1025 void WebTestProxyBase::SetToolTipText(const blink::WebString& text, 1021 void WebTestProxyBase::SetToolTipText(const blink::WebString& text,
1026 blink::WebTextDirection direction) { 1022 blink::WebTextDirection direction) {
1027 test_interfaces_->GetTestRunner()->setToolTipText(text); 1023 test_interfaces_->GetTestRunner()->setToolTipText(text);
1028 } 1024 }
1029 1025
1030 void WebTestProxyBase::DidOpenChooser() { 1026 void WebTestProxyBase::DidOpenChooser() {
1031 chooser_count_++; 1027 chooser_count_++;
1032 } 1028 }
1033 1029
1034 void WebTestProxyBase::DidCloseChooser() { 1030 void WebTestProxyBase::DidCloseChooser() {
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
1417 // to cancel the input method's ongoing composition session. 1413 // to cancel the input method's ongoing composition session.
1418 if (web_widget_) 1414 if (web_widget_)
1419 web_widget_->confirmComposition(); 1415 web_widget_->confirmComposition();
1420 } 1416 }
1421 1417
1422 blink::WebString WebTestProxyBase::acceptLanguages() { 1418 blink::WebString WebTestProxyBase::acceptLanguages() {
1423 return blink::WebString::fromUTF8(accept_languages_); 1419 return blink::WebString::fromUTF8(accept_languages_);
1424 } 1420 }
1425 1421
1426 } // namespace test_runner 1422 } // namespace test_runner
OLDNEW
« no previous file with comments | « components/test_runner/web_test_proxy.h ('k') | components/web_contents_delegate_android/web_contents_delegate_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698