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

Side by Side Diff: Source/core/html/HTMLDocument.h

Issue 21263002: Add back captureEvents and releaseEvents (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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 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 * Copyright (C) 2004, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 4 * Copyright (C) 2004, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 void setFgColor(const String&); 56 void setFgColor(const String&);
57 String alinkColor(); 57 String alinkColor();
58 void setAlinkColor(const String&); 58 void setAlinkColor(const String&);
59 String linkColor(); 59 String linkColor();
60 void setLinkColor(const String&); 60 void setLinkColor(const String&);
61 String vlinkColor(); 61 String vlinkColor();
62 void setVlinkColor(const String&); 62 void setVlinkColor(const String&);
63 63
64 void clear(); 64 void clear();
65 65
66 void captureEvents() { }
67 void releaseEvents() { }
68
66 void addNamedItem(const AtomicString& name); 69 void addNamedItem(const AtomicString& name);
67 void removeNamedItem(const AtomicString& name); 70 void removeNamedItem(const AtomicString& name);
68 bool hasNamedItem(StringImpl* name); 71 bool hasNamedItem(StringImpl* name);
69 72
70 void addExtraNamedItem(const AtomicString& name); 73 void addExtraNamedItem(const AtomicString& name);
71 void removeExtraNamedItem(const AtomicString& name); 74 void removeExtraNamedItem(const AtomicString& name);
72 bool hasExtraNamedItem(StringImpl* name); 75 bool hasExtraNamedItem(StringImpl* name);
73 76
74 static bool isCaseSensitiveAttribute(const QualifiedName&); 77 static bool isCaseSensitiveAttribute(const QualifiedName&);
75 78
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 ASSERT_WITH_SECURITY_IMPLICATION(!document || document->isHTMLDocument()); 111 ASSERT_WITH_SECURITY_IMPLICATION(!document || document->isHTMLDocument());
109 return static_cast<const HTMLDocument*>(document); 112 return static_cast<const HTMLDocument*>(document);
110 } 113 }
111 114
112 // This will catch anyone doing an unnecessary cast. 115 // This will catch anyone doing an unnecessary cast.
113 void toHTMLDocument(const HTMLDocument*); 116 void toHTMLDocument(const HTMLDocument*);
114 117
115 } // namespace WebCore 118 } // namespace WebCore
116 119
117 #endif // HTMLDocument_h 120 #endif // HTMLDocument_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698