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

Unified Diff: Source/core/page/DOMWindowTimers.h

Issue 19801002: Drop [LegacyImplementedInBaseClass] attribute from WindowTimers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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: Source/core/page/DOMWindowTimers.h
diff --git a/Source/core/page/DOMWindowBase64.h b/Source/core/page/DOMWindowTimers.h
similarity index 80%
copy from Source/core/page/DOMWindowBase64.h
copy to Source/core/page/DOMWindowTimers.h
index 50b79721cfb415ea811843e4b097275b293d6ad7..2a28f81810c751f9331f6f421d0c0d57a87b7813 100644
--- a/Source/core/page/DOMWindowBase64.h
+++ b/Source/core/page/DOMWindowTimers.h
@@ -30,19 +30,23 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef DOMWindowBase64_h
-#define DOMWindowBase64_h
+#ifndef DOMWindowTimers_h
+#define DOMWindowTimers_h
-#include "core/dom/ExceptionCode.h"
-#include "wtf/text/WTFString.h"
+#include "wtf/Forward.h"
namespace WebCore {
-namespace DOMWindowBase64 {
-String btoa(void*, const String& stringToEncode, ExceptionCode&);
-String atob(void*, const String& encodedString, ExceptionCode&);
+class EventTarget;
+class ScheduledAction;
+
+namespace DOMWindowTimers {
+int setTimeout(EventTarget*, PassOwnPtr<ScheduledAction>, int timeout);
+int setInterval(EventTarget*, PassOwnPtr<ScheduledAction>, int timeout);
+void clearTimeout(EventTarget*, int timeoutId);
+void clearInterval(EventTarget*, int timeoutId);
}
} // namespace WebCore
-#endif // DOMWindowBase64_h
+#endif // DOMWindowTimers_h

Powered by Google App Engine
This is Rietveld 408576698