| 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(); | 14     NavigatorLanguage(); | 
| 15 | 15 | 
| 16     AtomicString language(bool&); | 16     AtomicString language(); | 
| 17     virtual Vector<String> languages() = 0; | 17     virtual Vector<String> languages() = 0; | 
| 18     bool hasLanguagesChanged(); | 18     bool hasLanguagesChanged(); | 
| 19     void setLanguagesChanged(); | 19     void setLanguagesChanged(); | 
| 20 | 20 | 
| 21 private: | 21 private: | 
| 22     bool m_languagesChanged; | 22     bool m_languagesChanged; | 
| 23 }; | 23 }; | 
| 24 | 24 | 
| 25 } // namespace WebCore | 25 } // namespace WebCore | 
| 26 | 26 | 
| 27 #endif // NavigatorLanguage_h | 27 #endif // NavigatorLanguage_h | 
| OLD | NEW | 
|---|