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

Side by Side Diff: Source/platform/fonts/FontFeatureSettings.h

Issue 400543004: Rename WebCore namespace to blink in Platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 | Annotate | Revision Log
« no previous file with comments | « Source/platform/fonts/FontFamily.cpp ('k') | Source/platform/fonts/FontFeatureSettings.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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 15 matching lines...) Expand all
26 #ifndef FontFeatureSettings_h 26 #ifndef FontFeatureSettings_h
27 #define FontFeatureSettings_h 27 #define FontFeatureSettings_h
28 28
29 #include "platform/PlatformExport.h" 29 #include "platform/PlatformExport.h"
30 #include "wtf/PassRefPtr.h" 30 #include "wtf/PassRefPtr.h"
31 #include "wtf/RefCounted.h" 31 #include "wtf/RefCounted.h"
32 #include "wtf/RefPtr.h" 32 #include "wtf/RefPtr.h"
33 #include "wtf/Vector.h" 33 #include "wtf/Vector.h"
34 #include "wtf/text/AtomicString.h" 34 #include "wtf/text/AtomicString.h"
35 35
36 namespace WebCore { 36 namespace blink {
37 37
38 class PLATFORM_EXPORT FontFeature { 38 class PLATFORM_EXPORT FontFeature {
39 public: 39 public:
40 FontFeature(const AtomicString& tag, int value); 40 FontFeature(const AtomicString& tag, int value);
41 bool operator==(const FontFeature&); 41 bool operator==(const FontFeature&);
42 42
43 const AtomicString& tag() const { return m_tag; } 43 const AtomicString& tag() const { return m_tag; }
44 int value() const { return m_value; } 44 int value() const { return m_value; }
45 45
46 private: 46 private:
(...skipping 13 matching lines...) Expand all
60 const FontFeature& at(size_t index) const { return m_list.at(index); } 60 const FontFeature& at(size_t index) const { return m_list.at(index); }
61 61
62 private: 62 private:
63 FontFeatureSettings(); 63 FontFeatureSettings();
64 Vector<FontFeature> m_list; 64 Vector<FontFeature> m_list;
65 }; 65 };
66 66
67 } 67 }
68 68
69 #endif // FontFeatureSettings_h 69 #endif // FontFeatureSettings_h
OLDNEW
« no previous file with comments | « Source/platform/fonts/FontFamily.cpp ('k') | Source/platform/fonts/FontFeatureSettings.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698