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

Side by Side Diff: ppapi/cpp/private/flash_fullscreen.h

Issue 10918182: Don't require a recreation of the context when fullscreening (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix style Created 8 years, 3 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) 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 PPAPI_CPP_PRIVATE_FLASH_FULLSCREEN_H_ 5 #ifndef PPAPI_CPP_PRIVATE_FLASH_FULLSCREEN_H_
6 #define PPAPI_CPP_PRIVATE_FLASH_FULLSCREEN_H_ 6 #define PPAPI_CPP_PRIVATE_FLASH_FULLSCREEN_H_
7 7
8 #include "ppapi/cpp/instance_handle.h" 8 #include "ppapi/cpp/instance_handle.h"
9 9
10 namespace pp { 10 namespace pp {
11 11
12 class Size; 12 class Size;
13 13
14 class FlashFullscreen { 14 class FlashFullscreen {
15 public: 15 public:
16 FlashFullscreen(const InstanceHandle& instance); 16 FlashFullscreen(const InstanceHandle& instance);
17 virtual ~FlashFullscreen(); 17 virtual ~FlashFullscreen();
18 18
19 // PPB_FlashFullscreen methods. 19 // PPB_FlashFullscreen methods.
20 bool IsFullscreen(); 20 bool IsFullscreen();
21 bool SetFullscreen(bool fullscreen); 21 bool SetFullscreen(bool fullscreen);
22 bool GetScreenSize(Size* size); 22 bool GetScreenSize(Size* size);
23 23
24 bool MustRecreateContexts();
25
24 private: 26 private:
25 InstanceHandle instance_; 27 InstanceHandle instance_;
26 }; 28 };
27 29
28 } // namespace pp 30 } // namespace pp
29 31
30 #endif // PPAPI_CPP_PRIVATE_FLASH_FULLSCREEN_H_ 32 #endif // PPAPI_CPP_PRIVATE_FLASH_FULLSCREEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698