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

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentRequest.h

Issue 2265873003: binding: Moves hasPendingActivity from ActiveScriptWrappable to ScriptWrappable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed review comments. Created 4 years, 4 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: third_party/WebKit/Source/modules/payments/PaymentRequest.h
diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequest.h b/third_party/WebKit/Source/modules/payments/PaymentRequest.h
index 3290d3e2fd872d2fb6d19bc061d020ee6a6770c3..e3f9a9102ff42c81de7f0e0ee6b87e03b86c8652 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentRequest.h
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequest.h
@@ -60,6 +60,9 @@ public:
DEFINE_ATTRIBUTE_EVENT_LISTENER(shippingaddresschange);
DEFINE_ATTRIBUTE_EVENT_LISTENER(shippingoptionchange);
+ // ScriptWrappable:
+ bool hasPendingActivity() const override;
+
// EventTargetWithInlineData:
const AtomicString& interfaceName() const override;
ExecutionContext* getExecutionContext() const override;
@@ -81,9 +84,6 @@ private:
// LifecycleObserver:
void contextDestroyed() override;
- // ActiveScriptWrappable:
- bool hasPendingActivity() const override;
-
// mojom::blink::PaymentRequestClient:
void OnShippingAddressChange(mojom::blink::PaymentAddressPtr) override;
void OnShippingOptionChange(const String& shippingOptionId) override;

Powered by Google App Engine
This is Rietveld 408576698