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

Side by Side Diff: ppapi/cpp/dev/fullscreen_dev.h

Issue 6625034: Clarify/fix fullscreen semantics, and add GetScreenSize (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix review comments Created 9 years, 9 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
« no previous file with comments | « ppapi/c/dev/ppb_fullscreen_dev.h ('k') | ppapi/cpp/dev/fullscreen_dev.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_DEV_FULLSCREEN_DEV_H_ 5 #ifndef PPAPI_CPP_DEV_FULLSCREEN_DEV_H_
6 #define PPAPI_CPP_DEV_FULLSCREEN_DEV_H_ 6 #define PPAPI_CPP_DEV_FULLSCREEN_DEV_H_
7 7
8 #include <string>
9
10 #include "ppapi/c/dev/ppb_fullscreen_dev.h"
11
12 namespace pp { 8 namespace pp {
13 9
14 class Instance; 10 class Instance;
11 class Size;
15 12
16 class Fullscreen_Dev { 13 class Fullscreen_Dev {
17 public: 14 public:
18 Fullscreen_Dev(Instance* instance); 15 Fullscreen_Dev(Instance* instance);
19 virtual ~Fullscreen_Dev(); 16 virtual ~Fullscreen_Dev();
20 17
21 // PPB_Fullscreen_Dev methods. 18 // PPB_Fullscreen_Dev methods.
22 bool IsFullscreen(); 19 bool IsFullscreen();
23 bool SetFullscreen(bool fullscreen); 20 bool SetFullscreen(bool fullscreen);
21 bool GetScreenSize(Size* size);
24 22
25 private: 23 private:
26 Instance* associated_instance_; 24 Instance* instance_;
27 }; 25 };
28 26
29 } // namespace pp 27 } // namespace pp
30 28
31 #endif // PPAPI_CPP_DEV_FULLSCREEN_DEV_H_ 29 #endif // PPAPI_CPP_DEV_FULLSCREEN_DEV_H_
OLDNEW
« no previous file with comments | « ppapi/c/dev/ppb_fullscreen_dev.h ('k') | ppapi/cpp/dev/fullscreen_dev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698