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

Unified Diff: sky/engine/core/html/HTMLCanvasElement.h

Issue 714953002: Remove DocumentVisibilityObserver (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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
« no previous file with comments | « sky/engine/core/dom/DocumentTest.cpp ('k') | sky/engine/core/html/HTMLCanvasElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/html/HTMLCanvasElement.h
diff --git a/sky/engine/core/html/HTMLCanvasElement.h b/sky/engine/core/html/HTMLCanvasElement.h
index 0bb453f056ed8029fffcf749ea89c2038fc4e640..d311cbca66eaf4daf5ee6eaccc11cb6a5e35cdbc 100644
--- a/sky/engine/core/html/HTMLCanvasElement.h
+++ b/sky/engine/core/html/HTMLCanvasElement.h
@@ -67,7 +67,7 @@ public:
#endif
};
-class HTMLCanvasElement final : public HTMLElement, public DocumentVisibilityObserver, public CanvasImageSource, public ImageBufferClient {
+class HTMLCanvasElement final : public HTMLElement, public CanvasImageSource, public ImageBufferClient {
DEFINE_WRAPPERTYPEINFO();
public:
DECLARE_NODE_FACTORY(HTMLCanvasElement);
@@ -135,9 +135,6 @@ public:
virtual const AtomicString imageSourceURL() const override;
- // DocumentVisibilityObserver implementation
- virtual void didChangeVisibilityState(PageVisibilityState) override;
-
// CanvasImageSource implementation
virtual PassRefPtr<Image> getSourceImageForCanvas(SourceImageMode, SourceImageStatus*) const override;
virtual FloatSize sourceSize() const override;
@@ -147,9 +144,6 @@ public:
virtual bool isDirty() override { return !m_dirtyRect.isEmpty(); }
virtual void didFinalizeFrame() override;
-protected:
- virtual void didMoveToNewDocument(Document& oldDocument) override;
-
private:
explicit HTMLCanvasElement(Document&);
« no previous file with comments | « sky/engine/core/dom/DocumentTest.cpp ('k') | sky/engine/core/html/HTMLCanvasElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698