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 25 matching lines...) Expand all Loading... |
36 | 36 |
37 #if BLINK_IMPLEMENTATION | 37 #if BLINK_IMPLEMENTATION |
38 namespace WebCore { class Notification; } | 38 namespace WebCore { class Notification; } |
39 namespace WTF { template <typename T> class PassRefPtr; } | 39 namespace WTF { template <typename T> class PassRefPtr; } |
40 #endif | 40 #endif |
41 | 41 |
42 namespace WTF { | 42 namespace WTF { |
43 class AtomicString; | 43 class AtomicString; |
44 } | 44 } |
45 | 45 |
46 namespace WebKit { | 46 namespace blink { |
47 | 47 |
48 class WebNotificationPrivate; | 48 class WebNotificationPrivate; |
49 class WebURL; | 49 class WebURL; |
50 class WebString; | 50 class WebString; |
51 | 51 |
52 // Represents access to a desktop notification. | 52 // Represents access to a desktop notification. |
53 class WebNotification { | 53 class WebNotification { |
54 public: | 54 public: |
55 WebNotification() : m_private(0) { } | 55 WebNotification() : m_private(0) { } |
56 WebNotification(const WebNotification& other) : m_private(0) { assign(other)
; } | 56 WebNotification(const WebNotification& other) : m_private(0) { assign(other)
; } |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 inline bool operator!=(const WebNotification& a, const WebNotification& b) | 119 inline bool operator!=(const WebNotification& a, const WebNotification& b) |
120 { | 120 { |
121 return !a.equals(b); | 121 return !a.equals(b); |
122 } | 122 } |
123 | 123 |
124 inline bool operator<(const WebNotification& a, const WebNotification& b) | 124 inline bool operator<(const WebNotification& a, const WebNotification& b) |
125 { | 125 { |
126 return a.lessThan(b); | 126 return a.lessThan(b); |
127 } | 127 } |
128 | 128 |
129 } // namespace WebKit | 129 } // namespace blink |
130 | 130 |
131 #endif | 131 #endif |
OLD | NEW |