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

Side by Side Diff: Tools/DumpRenderTree/chromium/TestRunner/public/WebTestDelegate.h

Issue 15535005: Added window.testRunner.isChooserShown() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 // Returns a textual description of given error. 96 // Returns a textual description of given error.
97 virtual std::string makeURLErrorDescription(const WebKit::WebURLError&) = 0; 97 virtual std::string makeURLErrorDescription(const WebKit::WebURLError&) = 0;
98 98
99 // Resizes the WebView to the given size. 99 // Resizes the WebView to the given size.
100 virtual void setClientWindowRect(const WebKit::WebRect&) = 0; 100 virtual void setClientWindowRect(const WebKit::WebRect&) = 0;
101 101
102 // Opens and closes the inspector. 102 // Opens and closes the inspector.
103 virtual void showDevTools() = 0; 103 virtual void showDevTools() = 0;
104 virtual void closeDevTools() = 0; 104 virtual void closeDevTools() = 0;
105 105
106 // Notifies a chooser dialog is shown and closed.
107 virtual void didChooserOpen() = 0;
tkent 2013/05/21 06:33:01 nit: I think didOpenChooser and didCloseChooser ar
108 virtual void didChooserClose() = 0;
109 virtual bool isChooserShown() = 0;
110
106 // Evaluate the given script in the DevTools agent. 111 // Evaluate the given script in the DevTools agent.
107 virtual void evaluateInWebInspector(long callID, const std::string& script) = 0; 112 virtual void evaluateInWebInspector(long callID, const std::string& script) = 0;
108 113
109 // Controls WebSQL databases. 114 // Controls WebSQL databases.
110 virtual void clearAllDatabases() = 0; 115 virtual void clearAllDatabases() = 0;
111 virtual void setDatabaseQuota(int) = 0; 116 virtual void setDatabaseQuota(int) = 0;
112 117
113 // Controls the device scale factor of the main WebView for hidpi tests. 118 // Controls the device scale factor of the main WebView for hidpi tests.
114 virtual void setDeviceScaleFactor(float) = 0; 119 virtual void setDeviceScaleFactor(float) = 0;
115 120
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 // given WebTestProxyBase as well as the index of the current entry. 163 // given WebTestProxyBase as well as the index of the current entry.
159 virtual void captureHistoryForWindow(WebTestProxyBase*, WebKit::WebVector<We bKit::WebHistoryItem>*, size_t* currentEntryIndex) = 0; 164 virtual void captureHistoryForWindow(WebTestProxyBase*, WebKit::WebVector<We bKit::WebHistoryItem>*, size_t* currentEntryIndex) = 0;
160 165
161 // Returns a media player corresponding to |url| as src. 166 // Returns a media player corresponding to |url| as src.
162 virtual WebKit::WebMediaPlayer* createWebMediaPlayer(WebKit::WebFrame*, cons t WebKit::WebURL&, WebKit::WebMediaPlayerClient*) = 0; 167 virtual WebKit::WebMediaPlayer* createWebMediaPlayer(WebKit::WebFrame*, cons t WebKit::WebURL&, WebKit::WebMediaPlayerClient*) = 0;
163 }; 168 };
164 169
165 } 170 }
166 171
167 #endif // WebTestDelegate_h 172 #endif // WebTestDelegate_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698