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

Unified Diff: core/win/d3d9/renderer_d3d9.h

Issue 210005: Rewrote full-screen support on Windows. O3D now always creates its own... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/cross/renderer.cc ('k') | core/win/d3d9/renderer_d3d9.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/win/d3d9/renderer_d3d9.h
===================================================================
--- core/win/d3d9/renderer_d3d9.h (revision 26426)
+++ core/win/d3d9/renderer_d3d9.h (working copy)
@@ -77,16 +77,14 @@
// Attempts to reset the back buffer to its new dimensions.
virtual void Resize(int width, int height);
- // Turns fullscreen display on or off.
- // Parameters:
- // fullscreen: true for fullscreen, false for in-plugin display
- // display: a platform-specific display identifier
- // mode_id: a mode returned by GetDisplayModes, for fullscreen use. Ignored
- // in non-fullscreen mode.
- // Returns true on success, false on failure.
- virtual bool SetFullscreen(bool fullscreen, const DisplayWindow& display,
- int mode_id);
+ // Overridden from Renderer.
+ virtual bool GoFullscreen(const DisplayWindow& display,
+ int mode_id);
+ // Overridden from Renderer.
+ virtual bool CancelFullscreen(const DisplayWindow& display,
+ int width, int height);
+
// Tells whether we're currently displayed fullscreen or not.
virtual bool fullscreen() const {
return fullscreen_;
« no previous file with comments | « core/cross/renderer.cc ('k') | core/win/d3d9/renderer_d3d9.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698