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

Side by Side Diff: third_party/WebKit/Source/platform/fonts/shaping/ShapeResultInlineHeaders.h

Issue 2542203004: blink: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years 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 Google Inc. All rights reserved. 2 * Copyright (c) 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2013 BlackBerry Limited. All rights reserved. 3 * Copyright (C) 2013 BlackBerry Limited. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 22 matching lines...) Expand all
33 #define ShapeResultInlineHeaders_h 33 #define ShapeResultInlineHeaders_h
34 34
35 #include "platform/fonts/shaping/ShapeResult.h" 35 #include "platform/fonts/shaping/ShapeResult.h"
36 #include "wtf/Allocator.h" 36 #include "wtf/Allocator.h"
37 #include "wtf/Noncopyable.h" 37 #include "wtf/Noncopyable.h"
38 38
39 #include <hb.h> 39 #include <hb.h>
40 40
41 namespace blink { 41 namespace blink {
42 42
43 class Font;
44 class SimpleFontData; 43 class SimpleFontData;
45 44
46 struct HarfBuzzRunGlyphData { 45 struct HarfBuzzRunGlyphData {
47 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); 46 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
48 uint16_t glyph; 47 uint16_t glyph;
49 uint16_t characterIndex; 48 uint16_t characterIndex;
50 float advance; 49 float advance;
51 FloatSize offset; 50 FloatSize offset;
52 }; 51 };
53 52
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 hb_script_t m_script; 103 hb_script_t m_script;
105 Vector<HarfBuzzRunGlyphData> m_glyphData; 104 Vector<HarfBuzzRunGlyphData> m_glyphData;
106 unsigned m_startIndex; 105 unsigned m_startIndex;
107 unsigned m_numCharacters; 106 unsigned m_numCharacters;
108 float m_width; 107 float m_width;
109 }; 108 };
110 109
111 } // namespace blink 110 } // namespace blink
112 111
113 #endif // ShapeResultInlineHeaders_h 112 #endif // ShapeResultInlineHeaders_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698