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

Side by Side Diff: Source/platform/fonts/opentype/OpenTypeVerticalData.cpp

Issue 516953003: Removing "using" declarations that import names in the C++ Standard library.(Source/platform/[fonts… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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 /* 1 /*
2 * Copyright (C) 2012 Koji Ishii <kojiishi@gmail.com> 2 * Copyright (C) 2012 Koji Ishii <kojiishi@gmail.com>
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 #if ENABLE(OPENTYPE_VERTICAL) 26 #if ENABLE(OPENTYPE_VERTICAL)
27 #include "platform/fonts/opentype/OpenTypeVerticalData.h" 27 #include "platform/fonts/opentype/OpenTypeVerticalData.h"
28 28
29 #include "platform/SharedBuffer.h" 29 #include "platform/SharedBuffer.h"
30 #include "platform/fonts/SimpleFontData.h" 30 #include "platform/fonts/SimpleFontData.h"
31 #include "platform/fonts/GlyphPage.h" 31 #include "platform/fonts/GlyphPage.h"
32 #include "platform/fonts/opentype/OpenTypeTypes.h" 32 #include "platform/fonts/opentype/OpenTypeTypes.h"
33 #include "platform/geometry/FloatRect.h" 33 #include "platform/geometry/FloatRect.h"
34 #include "wtf/RefPtr.h" 34 #include "wtf/RefPtr.h"
35 35
36 using namespace std;
37
38 namespace blink { 36 namespace blink {
39 namespace OpenType { 37 namespace OpenType {
40 38
41 const uint32_t GSUBTag = OT_MAKE_TAG('G', 'S', 'U', 'B'); 39 const uint32_t GSUBTag = OT_MAKE_TAG('G', 'S', 'U', 'B');
42 const uint32_t HheaTag = OT_MAKE_TAG('h', 'h', 'e', 'a'); 40 const uint32_t HheaTag = OT_MAKE_TAG('h', 'h', 'e', 'a');
43 const uint32_t HmtxTag = OT_MAKE_TAG('h', 'm', 't', 'x'); 41 const uint32_t HmtxTag = OT_MAKE_TAG('h', 'm', 't', 'x');
44 const uint32_t VheaTag = OT_MAKE_TAG('v', 'h', 'e', 'a'); 42 const uint32_t VheaTag = OT_MAKE_TAG('v', 'h', 'e', 'a');
45 const uint32_t VmtxTag = OT_MAKE_TAG('v', 'm', 't', 'x'); 43 const uint32_t VmtxTag = OT_MAKE_TAG('v', 'm', 't', 'x');
46 const uint32_t VORGTag = OT_MAKE_TAG('V', 'O', 'R', 'G'); 44 const uint32_t VORGTag = OT_MAKE_TAG('V', 'O', 'R', 'G');
47 45
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 if (glyphData.glyph && glyphData.fontData == font) { 562 if (glyphData.glyph && glyphData.fontData == font) {
565 Glyph to = map.get(glyphData.glyph); 563 Glyph to = map.get(glyphData.glyph);
566 if (to) 564 if (to)
567 glyphPage->setGlyphDataForIndex(index, to, font); 565 glyphPage->setGlyphDataForIndex(index, to, font);
568 } 566 }
569 } 567 }
570 } 568 }
571 569
572 } // namespace blink 570 } // namespace blink
573 #endif // ENABLE(OPENTYPE_VERTICAL) 571 #endif // ENABLE(OPENTYPE_VERTICAL)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698