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

Side by Side Diff: webkit/plugins/ppapi/ppb_flash_impl.h

Issue 6990051: Unix ifdefs patch for ui/ and webkit/ (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: removed some too general ifdefs and ppapi changes Created 9 years, 7 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
OLDNEW
1 // Copyright (c) 2011 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 WEBKIT_PLUGINS_PPAPI_PPB_FLASH_IMPL_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_FLASH_IMPL_H_
6 #define WEBKIT_PLUGINS_PPAPI_PPB_FLASH_IMPL_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PPB_FLASH_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "ppapi/c/pp_point.h" 10 #include "ppapi/c/pp_point.h"
(...skipping 12 matching lines...) Expand all
23 static PP_Bool DrawGlyphs(PP_Instance pp_instance, 23 static PP_Bool DrawGlyphs(PP_Instance pp_instance,
24 PP_Resource pp_image_data, 24 PP_Resource pp_image_data,
25 const PP_FontDescription_Dev* font_desc, 25 const PP_FontDescription_Dev* font_desc,
26 uint32_t color, 26 uint32_t color,
27 PP_Point position, 27 PP_Point position,
28 PP_Rect clip, 28 PP_Rect clip,
29 const float transformation[3][3], 29 const float transformation[3][3],
30 uint32_t glyph_count, 30 uint32_t glyph_count,
31 const uint16_t glyph_indices[], 31 const uint16_t glyph_indices[],
32 const PP_Point glyph_advances[]) 32 const PP_Point glyph_advances[])
33 #if defined(OS_LINUX) 33 #if defined(OS_POSIX) && !defined(OS_MACOSX)
34 ; 34 ;
35 #else 35 #else
36 { return PP_FALSE; } 36 { return PP_FALSE; }
37 #endif 37 #endif
38 38
39 private: 39 private:
40 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_Impl); 40 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_Impl);
41 }; 41 };
42 42
43 } // namespace ppapi 43 } // namespace ppapi
44 } // namespace webkit 44 } // namespace webkit
45 45
46 #endif // WEBKIT_PLUGINS_PPAPI_PPB_FLASH_IMPL_H_ 46 #endif // WEBKIT_PLUGINS_PPAPI_PPB_FLASH_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698