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

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

Issue 288393002: Implement navigator.languages. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@language_change_tests
Patch Set: error 500 Created 6 years, 6 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
« no previous file with comments | « Source/core/frame/DOMWindow.cpp ('k') | Source/core/frame/Navigator.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 2 Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
3 3
4 This library is free software; you can redistribute it and/or 4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public 5 modify it under the terms of the GNU Library General Public
6 License as published by the Free Software Foundation; either 6 License as published by the Free Software Foundation; either
7 version 2 of the License, or (at your option) any later version. 7 version 2 of the License, or (at your option) any later version.
8 8
9 This library is distributed in the hope that it will be useful, 9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of 10 but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 String productSub() const; 59 String productSub() const;
60 String vendor() const; 60 String vendor() const;
61 String vendorSub() const; 61 String vendorSub() const;
62 62
63 virtual String userAgent() const OVERRIDE; 63 virtual String userAgent() const OVERRIDE;
64 64
65 // Relinquishes the storage lock, if one exists. 65 // Relinquishes the storage lock, if one exists.
66 void getStorageUpdates(); 66 void getStorageUpdates();
67 67
68 // NavigatorLanguage
69 virtual Vector<String> languages() OVERRIDE;
70
68 virtual void trace(Visitor*); 71 virtual void trace(Visitor*);
69 72
70 private: 73 private:
71 explicit Navigator(LocalFrame*); 74 explicit Navigator(LocalFrame*);
72 75
73 mutable RefPtrWillBeMember<DOMPluginArray> m_plugins; 76 mutable RefPtrWillBeMember<DOMPluginArray> m_plugins;
74 mutable RefPtrWillBeMember<DOMMimeTypeArray> m_mimeTypes; 77 mutable RefPtrWillBeMember<DOMMimeTypeArray> m_mimeTypes;
75 }; 78 };
76 79
77 } 80 }
78 81
79 #endif 82 #endif
OLDNEW
« no previous file with comments | « Source/core/frame/DOMWindow.cpp ('k') | Source/core/frame/Navigator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698