OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 20 matching lines...) Expand all Loading... |
31 #ifndef WebNode_h | 31 #ifndef WebNode_h |
32 #define WebNode_h | 32 #define WebNode_h |
33 | 33 |
34 #include "../platform/WebCommon.h" | 34 #include "../platform/WebCommon.h" |
35 #include "../platform/WebPrivatePtr.h" | 35 #include "../platform/WebPrivatePtr.h" |
36 #include "../platform/WebString.h" | 36 #include "../platform/WebString.h" |
37 #include "WebExceptionCode.h" | 37 #include "WebExceptionCode.h" |
38 | 38 |
39 namespace WebCore { class Node; } | 39 namespace WebCore { class Node; } |
40 | 40 |
41 namespace WebKit { | 41 namespace blink { |
42 class WebDOMEvent; | 42 class WebDOMEvent; |
43 class WebDOMEventListener; | 43 class WebDOMEventListener; |
44 class WebDOMEventListenerPrivate; | 44 class WebDOMEventListenerPrivate; |
45 class WebDocument; | 45 class WebDocument; |
46 class WebElement; | 46 class WebElement; |
47 class WebFrame; | 47 class WebFrame; |
48 class WebNodeList; | 48 class WebNodeList; |
49 class WebPluginContainer; | 49 class WebPluginContainer; |
50 | 50 |
51 // Provides access to some properties of a DOM node. | 51 // Provides access to some properties of a DOM node. |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 inline bool operator!=(const WebNode& a, const WebNode& b) | 170 inline bool operator!=(const WebNode& a, const WebNode& b) |
171 { | 171 { |
172 return !(a == b); | 172 return !(a == b); |
173 } | 173 } |
174 | 174 |
175 inline bool operator<(const WebNode& a, const WebNode& b) | 175 inline bool operator<(const WebNode& a, const WebNode& b) |
176 { | 176 { |
177 return a.lessThan(b); | 177 return a.lessThan(b); |
178 } | 178 } |
179 | 179 |
180 } // namespace WebKit | 180 } // namespace blink |
181 | 181 |
182 #endif | 182 #endif |
OLD | NEW |