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

Unified Diff: components/test_runner/web_view_test_client.h

Issue 1935593004: Extract WebWidgetTestClient out of WebTestProxyBase and WebViewTestClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@test-runner-for-specific-view-separate
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 | « components/test_runner/web_test_proxy.cc ('k') | components/test_runner/web_view_test_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/web_view_test_client.h
diff --git a/components/test_runner/web_view_test_client.h b/components/test_runner/web_view_test_client.h
index dabc32274a011f63bccd8ab30db31e2f5d06dbaa..1a772a66b6bb63e69ad7fe9e8a0ab0a5dd97e4ef 100644
--- a/components/test_runner/web_view_test_client.h
+++ b/components/test_runner/web_view_test_client.h
@@ -6,7 +6,6 @@
#define COMPONENTS_TEST_RUNNER_WEB_VIEW_TEST_CLIENT_H_
#include "base/macros.h"
-#include "base/memory/weak_ptr.h"
#include "third_party/WebKit/public/web/WebViewClient.h"
namespace blink {
@@ -41,7 +40,6 @@ class WebViewTestClient : public blink::WebViewClient {
blink::WebTextDirection sub_message_hint) override;
bool runFileChooser(const blink::WebFileChooserParams& params,
blink::WebFileChooserCompletion* completion) override;
- void scheduleAnimation() override;
void startDragging(blink::WebLocalFrame* frame,
const blink::WebDragData& data,
blink::WebDragOperationsMask mask,
@@ -57,27 +55,15 @@ class WebViewTestClient : public blink::WebViewClient {
void setStatusText(const blink::WebString& text) override;
void printPage(blink::WebLocalFrame* frame) override;
blink::WebSpeechRecognizer* speechRecognizer() override;
- bool requestPointerLock() override;
- void requestPointerUnlock() override;
- bool isPointerLocked() override;
- void didFocus() override;
- void setToolTipText(const blink::WebString& text,
- blink::WebTextDirection direction) override;
- void resetInputMethod() override;
blink::WebString acceptLanguages() override;
private:
- void AnimateNow();
WebTestDelegate* delegate();
// Borrowed pointers to other parts of Layout Tests state.
TestRunner* test_runner_;
WebTestProxyBase* web_test_proxy_base_;
- bool animation_scheduled_;
-
- base::WeakPtrFactory<WebViewTestClient> weak_factory_;
-
DISALLOW_COPY_AND_ASSIGN(WebViewTestClient);
};
« no previous file with comments | « components/test_runner/web_test_proxy.cc ('k') | components/test_runner/web_view_test_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698