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

Side by Side Diff: Source/core/dom/Document.h

Issue 751553005: Sync execCommand() and queryCommand*() IDL with spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
9 * Copyright (C) 2011 Google Inc. All rights reserved. 9 * Copyright (C) 2011 Google Inc. All rights reserved.
10 * 10 *
(...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after
786 HTMLHeadElement* head() const; 786 HTMLHeadElement* head() const;
787 787
788 // Decide which element is to define the viewport's overflow policy. If |roo tStyle| is set, use 788 // Decide which element is to define the viewport's overflow policy. If |roo tStyle| is set, use
789 // that as the style for the root element, rather than obtaining it on our o wn. The reason for 789 // that as the style for the root element, rather than obtaining it on our o wn. The reason for
790 // this is that style may not have been associated with the elements yet - i n which case it may 790 // this is that style may not have been associated with the elements yet - i n which case it may
791 // have been calculated on the fly (without associating it with the actual e lement) somewhere. 791 // have been calculated on the fly (without associating it with the actual e lement) somewhere.
792 Element* viewportDefiningElement(RenderStyle* rootStyle = nullptr) const; 792 Element* viewportDefiningElement(RenderStyle* rootStyle = nullptr) const;
793 793
794 DocumentMarkerController& markers() const { return *m_markers; } 794 DocumentMarkerController& markers() const { return *m_markers; }
795 795
796 bool execCommand(const String& command, bool userInterface = false, const St ring& value = String()); 796 bool execCommand(const String& command, bool showUI, const String& value);
797 bool queryCommandEnabled(const String& command); 797 bool queryCommandEnabled(const String& command);
798 bool queryCommandIndeterm(const String& command); 798 bool queryCommandIndeterm(const String& command);
799 bool queryCommandState(const String& command); 799 bool queryCommandState(const String& command);
800 bool queryCommandSupported(const String& command); 800 bool queryCommandSupported(const String& command);
801 String queryCommandValue(const String& command); 801 String queryCommandValue(const String& command);
802 802
803 KURL openSearchDescriptionURL(); 803 KURL openSearchDescriptionURL();
804 804
805 // designMode support 805 // designMode support
806 enum InheritedBool { off = false, on = true, inherit }; 806 enum InheritedBool { off = false, on = true, inherit };
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
1424 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1424 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1425 1425
1426 } // namespace blink 1426 } // namespace blink
1427 1427
1428 #ifndef NDEBUG 1428 #ifndef NDEBUG
1429 // Outside the WebCore namespace for ease of invocation from gdb. 1429 // Outside the WebCore namespace for ease of invocation from gdb.
1430 void showLiveDocumentInstances(); 1430 void showLiveDocumentInstances();
1431 #endif 1431 #endif
1432 1432
1433 #endif // Document_h 1433 #endif // Document_h
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/Document/missing-arguments-expected.txt ('k') | Source/core/dom/Document.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698