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

Side by Side Diff: public/web/WebDOMEvent.h

Issue 205523003: Remove beforeload events. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove more tests Created 6 years, 9 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
« no previous file with comments | « Source/web/WebDOMEvent.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 BLINK_EXPORT bool isDragEvent() const; 83 BLINK_EXPORT bool isDragEvent() const;
84 BLINK_EXPORT bool isClipboardEvent() const; 84 BLINK_EXPORT bool isClipboardEvent() const;
85 BLINK_EXPORT bool isMessageEvent() const; 85 BLINK_EXPORT bool isMessageEvent() const;
86 BLINK_EXPORT bool isWheelEvent() const; 86 BLINK_EXPORT bool isWheelEvent() const;
87 BLINK_EXPORT bool isBeforeTextInsertedEvent() const; 87 BLINK_EXPORT bool isBeforeTextInsertedEvent() const;
88 BLINK_EXPORT bool isOverflowEvent() const; 88 BLINK_EXPORT bool isOverflowEvent() const;
89 BLINK_EXPORT bool isPageTransitionEvent() const; 89 BLINK_EXPORT bool isPageTransitionEvent() const;
90 BLINK_EXPORT bool isPopStateEvent() const; 90 BLINK_EXPORT bool isPopStateEvent() const;
91 BLINK_EXPORT bool isProgressEvent() const; 91 BLINK_EXPORT bool isProgressEvent() const;
92 BLINK_EXPORT bool isXMLHttpRequestProgressEvent() const; 92 BLINK_EXPORT bool isXMLHttpRequestProgressEvent() const;
93 BLINK_EXPORT bool isBeforeLoadEvent() const;
94 93
95 #if BLINK_IMPLEMENTATION 94 #if BLINK_IMPLEMENTATION
96 WebDOMEvent(const WTF::PassRefPtr<WebCore::Event>&); 95 WebDOMEvent(const WTF::PassRefPtr<WebCore::Event>&);
97 operator WTF::PassRefPtr<WebCore::Event>() const; 96 operator WTF::PassRefPtr<WebCore::Event>() const;
98 #endif 97 #endif
99 98
100 template<typename T> T to() 99 template<typename T> T to()
101 { 100 {
102 T res; 101 T res;
103 res.WebDOMEvent::assign(*this); 102 res.WebDOMEvent::assign(*this);
(...skipping 22 matching lines...) Expand all
126 return static_cast<const T*>(m_private.get()); 125 return static_cast<const T*>(m_private.get());
127 } 126 }
128 #endif 127 #endif
129 128
130 WebPrivatePtr<WebDOMEventPrivate> m_private; 129 WebPrivatePtr<WebDOMEventPrivate> m_private;
131 }; 130 };
132 131
133 } // namespace blink 132 } // namespace blink
134 133
135 #endif 134 #endif
OLDNEW
« no previous file with comments | « Source/web/WebDOMEvent.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698