Chromium Code Reviews| Index: ppapi/cpp/fullscreen.h |
| diff --git a/ppapi/cpp/fullscreen.h b/ppapi/cpp/fullscreen.h |
| index 55922dd78c5a558ae773bc835e9827e64706c2fe..c61dd80e5f591f9306060a490b3fb71a9f7e0779 100644 |
| --- a/ppapi/cpp/fullscreen.h |
| +++ b/ppapi/cpp/fullscreen.h |
| @@ -5,13 +5,14 @@ |
| #ifndef PPAPI_CPP_FULLSCREEN_H_ |
| #define PPAPI_CPP_FULLSCREEN_H_ |
| +#include "ppapi/cpp/instance_handle.h" |
| + |
| /// @file |
| /// This file defines the API for handling transitions of a module instance to |
| /// and from fullscreen mode. |
| namespace pp { |
| -class Instance; |
| class Size; |
| /// The Fullscreen class allowing you to check and toggle fullscreen mode. |
| @@ -19,9 +20,9 @@ class Fullscreen { |
| public: |
| /// A constructor for creating a <code>Fullscreen</code>. |
| /// |
| - /// @param[in] instance The instance that will own the new |
| - /// <code>Fullscreen</code>. |
| - Fullscreen(Instance* instance); |
| + /// @param[in] instance The instance with which this resource will be |
| + /// associated. |
| + Fullscreen(const InstanceHandle& instance); |
|
dmichael (off chromium)
2012/02/22 21:38:44
explicit
|
| /// Destructor. |
| virtual ~Fullscreen(); |
| @@ -63,7 +64,7 @@ class Fullscreen { |
| bool GetScreenSize(Size* size); |
| private: |
| - Instance* instance_; |
| + InstanceHandle instance_; |
| }; |
| } // namespace pp |