Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Side by Side Diff: Source/core/frame/NavigatorLanguage.h

Issue 338843005: IDL: For DOMString? attribute getters, use null string to represent null (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698