| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 return m_private.get() < other.m_private.get(); | 58 return m_private.get() < other.m_private.get(); |
| 59 } | 59 } |
| 60 | 60 |
| 61 WebString WebNotification::title() const | 61 WebString WebNotification::title() const |
| 62 { | 62 { |
| 63 return m_private->title(); | 63 return m_private->title(); |
| 64 } | 64 } |
| 65 | 65 |
| 66 WebTextDirection WebNotification::direction() const | 66 WebTextDirection WebNotification::direction() const |
| 67 { | 67 { |
| 68 return (m_private->direction() == RTL) ? | 68 return toWebTextDirection(m_private->direction()); |
| 69 WebTextDirectionRightToLeft : | |
| 70 WebTextDirectionLeftToRight; | |
| 71 } | 69 } |
| 72 | 70 |
| 73 WebString WebNotification::lang() const | 71 WebString WebNotification::lang() const |
| 74 { | 72 { |
| 75 return m_private->lang(); | 73 return m_private->lang(); |
| 76 } | 74 } |
| 77 | 75 |
| 78 WebString WebNotification::body() const | 76 WebString WebNotification::body() const |
| 79 { | 77 { |
| 80 return m_private->body(); | 78 return m_private->body(); |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 { | 115 { |
| 118 } | 116 } |
| 119 | 117 |
| 120 WebNotification& WebNotification::operator=(Notification* notification) | 118 WebNotification& WebNotification::operator=(Notification* notification) |
| 121 { | 119 { |
| 122 m_private = notification; | 120 m_private = notification; |
| 123 return *this; | 121 return *this; |
| 124 } | 122 } |
| 125 | 123 |
| 126 } // namespace blink | 124 } // namespace blink |
| OLD | NEW |