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

Unified Diff: ui/views/win/fullscreen_handler.h

Issue 10892014: Make HWNDMessageHandler subclass WindowImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 | « ui/views/win/DEPS ('k') | ui/views/win/fullscreen_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/win/fullscreen_handler.h
===================================================================
--- ui/views/win/fullscreen_handler.h (revision 153679)
+++ ui/views/win/fullscreen_handler.h (working copy)
@@ -17,15 +17,13 @@
namespace views {
-// TODO(beng): Temporary dependancy until fullscreen moves to
-// HWNDMessageHandler.
-class Widget;
-
class FullscreenHandler {
public:
- explicit FullscreenHandler(Widget* widget);
+ FullscreenHandler();
~FullscreenHandler();
+ void set_hwnd(HWND hwnd) { hwnd_ = hwnd; }
+
void SetFullscreen(bool fullscreen);
void SetMetroSnap(bool metro_snap);
@@ -46,7 +44,7 @@
void SetFullscreenImpl(bool fullscreen, bool for_metro);
- Widget* widget_;
+ HWND hwnd_;
bool fullscreen_;
bool metro_snap_;
« no previous file with comments | « ui/views/win/DEPS ('k') | ui/views/win/fullscreen_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698