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

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

Issue 2560553002: Add DialogShowParams to <dialog>'s show() and showModal() (Closed)
Patch Set: merge & rename Created 4 years 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/core/html/HTMLDialogElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLDialogElement.h b/third_party/WebKit/Source/core/html/HTMLDialogElement.h
index 6b92e393ec2bce44761f9054986a996dcba7f2c1..e238cbbf0055934a67ffcdcde3825a71312564a8 100644
--- a/third_party/WebKit/Source/core/html/HTMLDialogElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLDialogElement.h
@@ -30,6 +30,7 @@
namespace blink {
+class DialogShowParams;
class Document;
class ExceptionState;
class QualifiedName;
@@ -42,8 +43,8 @@ class HTMLDialogElement final : public HTMLElement {
void close(const String& returnValue, ExceptionState&);
void closeDialog(const String& returnValue = String());
- void show();
- void showModal(ExceptionState&);
+ void show(const DialogShowParams&);
+ void showModal(const DialogShowParams&, ExceptionState&);
void removedFrom(ContainerNode*) override;
// NotCentered means do not center the dialog. Centered means the dialog has
« no previous file with comments | « third_party/WebKit/Source/core/html/DialogShowParams.idl ('k') | third_party/WebKit/Source/core/html/HTMLDialogElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698