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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/dev/fullscreen_dev.h
diff --git a/ppapi/cpp/dev/fullscreen_dev.h b/ppapi/cpp/dev/fullscreen_dev.h
index 1050faffc833b4887edb0236b283991db27a3f56..9a11031e114a0c66bd6397074aa9f7f86ae5eb11 100644
--- a/ppapi/cpp/dev/fullscreen_dev.h
+++ b/ppapi/cpp/dev/fullscreen_dev.h
@@ -5,13 +5,10 @@
#ifndef PPAPI_CPP_DEV_FULLSCREEN_DEV_H_
#define PPAPI_CPP_DEV_FULLSCREEN_DEV_H_
-#include <string>
-
-#include "ppapi/c/dev/ppb_fullscreen_dev.h"
-
namespace pp {
class Instance;
+class Size;
class Fullscreen_Dev {
public:
@@ -21,9 +18,10 @@ class Fullscreen_Dev {
// PPB_Fullscreen_Dev methods.
bool IsFullscreen();
bool SetFullscreen(bool fullscreen);
+ bool GetScreenSize(Size* size);
private:
- Instance* associated_instance_;
+ Instance* instance_;
};
} // namespace pp
« 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