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

Unified Diff: third_party/WebKit/Source/core/html/HTMLStyleElement.h

Issue 2269043002: Reland of Remove EventSender from HTMLStyleElement (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove t.step() Created 4 years, 1 month 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: third_party/WebKit/Source/core/html/HTMLStyleElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLStyleElement.h b/third_party/WebKit/Source/core/html/HTMLStyleElement.h
index f9e74d71a2ac7c7a92cbe1d01da19115784911bf..12f117f3f2c307164a34f901979232acfca252b3 100644
--- a/third_party/WebKit/Source/core/html/HTMLStyleElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLStyleElement.h
@@ -23,17 +23,13 @@
#ifndef HTMLStyleElement_h
#define HTMLStyleElement_h
+#include "core/dom/IncrementLoadEventDelayCount.h"
#include "core/dom/StyleElement.h"
#include "core/html/HTMLElement.h"
+#include <memory>
namespace blink {
-class HTMLStyleElement;
-
-template <typename T>
-class EventSender;
-using StyleEventSender = EventSender<HTMLStyleElement>;
-
class CORE_EXPORT HTMLStyleElement final : public HTMLElement,
private StyleElement {
DEFINE_WRAPPERTYPEINFO();
@@ -48,8 +44,7 @@ class CORE_EXPORT HTMLStyleElement final : public HTMLElement,
bool disabled() const;
void setDisabled(bool);
- void dispatchPendingEvent(StyleEventSender*);
- static void dispatchPendingLoadEvents();
+ void dispatchPendingEvent(std::unique_ptr<IncrementLoadEventDelayCount>);
DECLARE_VIRTUAL_TRACE();
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/html/HTMLStyleElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698