| 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_PLUGINS_NPAPI_QUICKDRAW_DRAWING_MANAGER_MAC_H_ | 5 #ifndef WEBKIT_PLUGINS_NPAPI_QUICKDRAW_DRAWING_MANAGER_MAC_H_ |
| 6 #define WEBKIT_PLUGINS_NPAPI_QUICKDRAW_DRAWING_MANAGER_MAC_H_ | 6 #define WEBKIT_PLUGINS_NPAPI_QUICKDRAW_DRAWING_MANAGER_MAC_H_ |
| 7 | 7 |
| 8 #ifndef NP_NO_QUICKDRAW | 8 #ifndef NP_NO_QUICKDRAW |
| 9 | 9 |
| 10 #import <Carbon/Carbon.h> | 10 #import <Carbon/Carbon.h> |
| 11 | 11 |
| 12 #include "gfx/rect.h" | 12 #include "ui/gfx/rect.h" |
| 13 | 13 |
| 14 namespace webkit { | 14 namespace webkit { |
| 15 namespace npapi { | 15 namespace npapi { |
| 16 | 16 |
| 17 // Plugin helper class encapsulating the details of capturing what a QuickDraw | 17 // Plugin helper class encapsulating the details of capturing what a QuickDraw |
| 18 // drawing model plugin draws, then drawing it into a CGContext. | 18 // drawing model plugin draws, then drawing it into a CGContext. |
| 19 class QuickDrawDrawingManager { | 19 class QuickDrawDrawingManager { |
| 20 public: | 20 public: |
| 21 QuickDrawDrawingManager(); | 21 QuickDrawDrawingManager(); |
| 22 ~QuickDrawDrawingManager(); | 22 ~QuickDrawDrawingManager(); |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 GWorldPtr target_world_; // Created lazily; may be NULL. | 80 GWorldPtr target_world_; // Created lazily; may be NULL. |
| 81 GWorldPtr plugin_world_; // Created lazily; may be NULL. | 81 GWorldPtr plugin_world_; // Created lazily; may be NULL. |
| 82 }; | 82 }; |
| 83 | 83 |
| 84 } // namespace npapi | 84 } // namespace npapi |
| 85 } // namespace webkit | 85 } // namespace webkit |
| 86 | 86 |
| 87 #endif // !NP_NO_QUICKDRAW | 87 #endif // !NP_NO_QUICKDRAW |
| 88 | 88 |
| 89 #endif // WEBKIT_PLUGINS_NPAPI_QUICKDRAW_DRAWING_MANAGER_MAC_H_ | 89 #endif // WEBKIT_PLUGINS_NPAPI_QUICKDRAW_DRAWING_MANAGER_MAC_H_ |
| OLD | NEW |