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

Side by Side Diff: ppapi/cpp/dev/font_dev.h

Issue 8527020: Cleanup: Remove unneeded forward declarations in ppapi. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 | « ppapi/c/private/ppb_flash_file.h ('k') | ppapi/cpp/dev/url_util_dev.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 PPAPI_CPP_DEV_FONT_DEV_H_ 5 #ifndef PPAPI_CPP_DEV_FONT_DEV_H_
6 #define PPAPI_CPP_DEV_FONT_DEV_H_ 6 #define PPAPI_CPP_DEV_FONT_DEV_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ppapi/c/dev/ppb_font_dev.h" 10 #include "ppapi/c/dev/ppb_font_dev.h"
11 #include "ppapi/cpp/resource.h" 11 #include "ppapi/cpp/resource.h"
12 #include "ppapi/cpp/var.h" 12 #include "ppapi/cpp/var.h"
13 13
14 struct PP_FontDescription_Dev; 14 struct PP_FontDescription_Dev;
15 15
16 namespace pp { 16 namespace pp {
17 17
18 class Font_dev;
19 class ImageData; 18 class ImageData;
20 class Instance; 19 class Instance;
21 class Point; 20 class Point;
22 class Rect; 21 class Rect;
23 22
24 // FontDescription_Dev --------------------------------------------------------- 23 // FontDescription_Dev ---------------------------------------------------------
25 24
26 class FontDescription_Dev { 25 class FontDescription_Dev {
27 public: 26 public:
28 FontDescription_Dev(); 27 FontDescription_Dev();
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 uint32_t color, 131 uint32_t color,
133 bool image_data_is_opaque = false) const; 132 bool image_data_is_opaque = false) const;
134 133
135 // Convenience function that assumes a left-to-right string. 134 // Convenience function that assumes a left-to-right string.
136 int32_t MeasureSimpleText(const std::string& text) const; 135 int32_t MeasureSimpleText(const std::string& text) const;
137 }; 136 };
138 137
139 } // namespace pp 138 } // namespace pp
140 139
141 #endif // PPAPI_CPP_DEV_FONT_DEV_H_ 140 #endif // PPAPI_CPP_DEV_FONT_DEV_H_
OLDNEW
« no previous file with comments | « ppapi/c/private/ppb_flash_file.h ('k') | ppapi/cpp/dev/url_util_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698