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

Unified Diff: Source/core/html/HTMLDialogElement.h

Issue 134753003: Reland r165710 "Replace RenderFullScreen with top layer" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: patch for landing Created 6 years, 11 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/html/HTMLDialogElement.h
diff --git a/Source/core/html/HTMLDialogElement.h b/Source/core/html/HTMLDialogElement.h
index 385b96ef01270f5d17052dd3801aceaefec576fc..bc525e58cfe47d1ff7b820169f69854ea4da471e 100644
--- a/Source/core/html/HTMLDialogElement.h
+++ b/Source/core/html/HTMLDialogElement.h
@@ -43,6 +43,7 @@ public:
void closeDialog(const String& returnValue = String());
void show();
void showModal(ExceptionState&);
+ bool isModal() const { return m_modal; }
enum CenteringMode { Uninitialized, Centered, NotCentered };
CenteringMode centeringMode() const { return m_centeringMode; }
@@ -62,12 +63,14 @@ private:
virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE;
virtual void defaultEventHandler(Event*) OVERRIDE;
+ virtual void removedFrom(ContainerNode*) OVERRIDE;
void forceLayoutForCentering();
CenteringMode m_centeringMode;
LayoutUnit m_centeredPosition;
String m_returnValue;
+ bool m_modal;
};
inline bool isHTMLDialogElement(const Node& node)

Powered by Google App Engine
This is Rietveld 408576698