| OLD | NEW | 
|---|
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_GLUE_PLUGINS_PEPPER_GRAPHICS_2D_H_ | 5 #ifndef WEBKIT_GLUE_PLUGINS_PEPPER_GRAPHICS_2D_H_ | 
| 6 #define WEBKIT_GLUE_PLUGINS_PEPPER_GRAPHICS_2D_H_ | 6 #define WEBKIT_GLUE_PLUGINS_PEPPER_GRAPHICS_2D_H_ | 
| 7 | 7 | 
| 8 #include <vector> | 8 #include <vector> | 
| 9 | 9 | 
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" | 
| 11 #include "third_party/ppapi/c/pp_completion_callback.h" | 11 #include "ppapi/c/pp_completion_callback.h" | 
| 12 #include "third_party/ppapi/c/ppb_graphics_2d.h" | 12 #include "ppapi/c/ppb_graphics_2d.h" | 
| 13 #include "third_party/WebKit/WebKit/chromium/public/WebCanvas.h" | 13 #include "third_party/WebKit/WebKit/chromium/public/WebCanvas.h" | 
| 14 #include "webkit/glue/plugins/pepper_resource.h" | 14 #include "webkit/glue/plugins/pepper_resource.h" | 
| 15 | 15 | 
| 16 struct PPB_Graphics2D; | 16 struct PPB_Graphics2D; | 
| 17 | 17 | 
| 18 namespace gfx { | 18 namespace gfx { | 
| 19 class Rect; | 19 class Rect; | 
| 20 } | 20 } | 
| 21 | 21 | 
| 22 namespace pepper { | 22 namespace pepper { | 
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 171   // Set to true if the plugin declares that this device will always be opaque. | 171   // Set to true if the plugin declares that this device will always be opaque. | 
| 172   // This allows us to do more optimized painting in some cases. | 172   // This allows us to do more optimized painting in some cases. | 
| 173   bool is_always_opaque_; | 173   bool is_always_opaque_; | 
| 174 | 174 | 
| 175   DISALLOW_COPY_AND_ASSIGN(Graphics2D); | 175   DISALLOW_COPY_AND_ASSIGN(Graphics2D); | 
| 176 }; | 176 }; | 
| 177 | 177 | 
| 178 }  // namespace pepper | 178 }  // namespace pepper | 
| 179 | 179 | 
| 180 #endif  // WEBKIT_GLUE_PLUGINS_PEPPER_GRAPHICS_2D_H_ | 180 #endif  // WEBKIT_GLUE_PLUGINS_PEPPER_GRAPHICS_2D_H_ | 
| OLD | NEW | 
|---|