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

Unified Diff: components/test_runner/web_test_proxy.h

Issue 1787743003: Remove unneeded code from WebTestProxyBase. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing accidental reversal of condition in RunModalBeforeUnloadDialog. Created 4 years, 9 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_delegate.h ('k') | components/test_runner/web_test_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/web_test_proxy.h
diff --git a/components/test_runner/web_test_proxy.h b/components/test_runner/web_test_proxy.h
index 7020773c02159b5a3d7e7beaa6df606bad81c676..de8c181531f7faa419554a78ca592c36085a964d 100644
--- a/components/test_runner/web_test_proxy.h
+++ b/components/test_runner/web_test_proxy.h
@@ -92,9 +92,7 @@ class WebTestInterfaces;
class TEST_RUNNER_EXPORT WebTestProxyBase {
public:
void SetInterfaces(WebTestInterfaces* interfaces);
- WebTestInterfaces* GetInterfaces();
void SetDelegate(WebTestDelegate* delegate);
- WebTestDelegate* GetDelegate();
void set_widget(blink::WebWidget* widget) { web_widget_ = widget; }
void Reset();
@@ -110,8 +108,13 @@ class TEST_RUNNER_EXPORT WebTestProxyBase {
blink::WebTextDirection main_message_hint,
const blink::WebString& sub_message,
blink::WebTextDirection sub_message_hint);
- void HideValidationMessage();
- void MoveValidationMessage(const blink::WebRect& anchor_in_root_view);
+
+ void RunModalAlertDialog(const blink::WebString& message);
+ bool RunModalConfirmDialog(const blink::WebString& message);
+ bool RunModalPromptDialog(const blink::WebString& message,
+ const blink::WebString& default_value,
+ blink::WebString* actual_value);
+ bool RunModalBeforeUnloadDialog(bool is_reload);
std::string DumpBackForwardLists();
void CapturePixelsForPrinting(
@@ -248,9 +251,6 @@ class TEST_RUNNER_EXPORT WebTestProxyBase {
const base::Callback<void(const SkBitmap&)>& callback,
const SkBitmap& bitmap);
- blink::WebWidget* web_widget() const { return web_widget_; }
-
- WebTestInterfaces* web_test_interfaces_;
TestInterfaces* test_interfaces_;
WebTestDelegate* delegate_;
blink::WebWidget* web_widget_;
« no previous file with comments | « components/test_runner/web_test_delegate.h ('k') | components/test_runner/web_test_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698