| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef NavigatorLanguage_h | 5 #ifndef NavigatorLanguage_h |
| 6 #define NavigatorLanguage_h | 6 #define NavigatorLanguage_h |
| 7 | 7 |
| 8 #include "wtf/text/AtomicString.h" | 8 #include "wtf/text/AtomicString.h" |
| 9 | 9 |
| 10 namespace WebCore { | 10 namespace WebCore { |
| 11 | 11 |
| 12 class NavigatorLanguage { | 12 class NavigatorLanguage { |
| 13 public: | 13 public: |
| 14 NavigatorLanguage(); |
| 15 |
| 14 AtomicString language(bool&); | 16 AtomicString language(bool&); |
| 17 virtual Vector<String> languages() = 0; |
| 18 bool hasLanguagesChanged(); |
| 19 void setLanguagesChanged(); |
| 20 |
| 21 private: |
| 22 bool m_languagesChanged; |
| 15 }; | 23 }; |
| 16 | 24 |
| 17 } // namespace WebCore | 25 } // namespace WebCore |
| 18 | 26 |
| 19 #endif // NavigatorLanguage_h | 27 #endif // NavigatorLanguage_h |
| OLD | NEW |