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

Unified Diff: third_party/WebKit/Source/modules/nfc/NFC.h

Issue 2138663003: Rename PageLifecycleObserver to PageVisibilityObserver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: third_party/WebKit/Source/modules/nfc/NFC.h
diff --git a/third_party/WebKit/Source/modules/nfc/NFC.h b/third_party/WebKit/Source/modules/nfc/NFC.h
index 1c6d4d88da7ffc521f327fca9edb7bab4015c7a7..c476de10de198b2d5ba00ebe214cc371a904886e 100644
--- a/third_party/WebKit/Source/modules/nfc/NFC.h
+++ b/third_party/WebKit/Source/modules/nfc/NFC.h
@@ -9,7 +9,7 @@
#include "bindings/core/v8/ScriptWrappable.h"
#include "bindings/modules/v8/StringOrArrayBufferOrNFCMessage.h"
#include "core/dom/ContextLifecycleObserver.h"
-#include "core/page/PageLifecycleObserver.h"
+#include "core/page/PageVisibilityObserver.h"
#include "device/nfc/nfc.mojom-blink.h"
#include "mojo/public/cpp/bindings/binding.h"
@@ -25,7 +25,7 @@ class ServiceRegistry;
class NFC final
: public GarbageCollectedFinalized<NFC>
, public ScriptWrappable
- , public PageLifecycleObserver
+ , public PageVisibilityObserver
, public ContextLifecycleObserver
, public device::nfc::blink::NFCClient {
DEFINE_WRAPPERTYPEINFO();
@@ -57,7 +57,7 @@ public:
// Cancels all watch operations.
ScriptPromise cancelWatch(ScriptState*);
- // Implementation of PageLifecycleObserver.
+ // Implementation of PageVisibilityObserver.
void pageVisibilityChanged() override;
// Interface required by garbage collection.
« no previous file with comments | « third_party/WebKit/Source/modules/geolocation/Geolocation.cpp ('k') | third_party/WebKit/Source/modules/nfc/NFC.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698