Home | History | Annotate | Download | only in private
      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
      3 // found in the LICENSE file.
      4 
      5 #ifndef PPAPI_CPP_PRIVATE_FLASH_FULLSCREEN_H_
      6 #define PPAPI_CPP_PRIVATE_FLASH_FULLSCREEN_H_
      7 
      8 #include "ppapi/cpp/instance_handle.h"
      9 
     10 namespace pp {
     11 
     12 class Size;
     13 
     14 class FlashFullscreen {
     15  public:
     16   FlashFullscreen(const InstanceHandle& instance);
     17   virtual ~FlashFullscreen();
     18 
     19   // PPB_FlashFullscreen methods.
     20   bool IsFullscreen();
     21   bool SetFullscreen(bool fullscreen);
     22   bool GetScreenSize(Size* size);
     23 
     24   bool MustRecreateContexts();
     25 
     26  private:
     27   InstanceHandle instance_;
     28 };
     29 
     30 }  // namespace pp
     31 
     32 #endif  // PPAPI_CPP_PRIVATE_FLASH_FULLSCREEN_H_
     33