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

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

Issue 139743005: Replace RenderFullScreen with top layer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: TestExpectations for /virtual/android/fullscreen 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
« no previous file with comments | « Source/core/dom/RenderTreeBuilder.cpp ('k') | Source/core/html/HTMLDialogElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « Source/core/dom/RenderTreeBuilder.cpp ('k') | Source/core/html/HTMLDialogElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698