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

Side by Side Diff: ui/views/win/fullscreen_handler.cc

Issue 823133004: Cleanup: Update the path to gfx rect headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rect_f.h Created 5 years, 11 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
« no previous file with comments | « ui/views/widget/widget.h ('k') | ui/views/win/hwnd_message_handler.h » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "ui/views/win/fullscreen_handler.h" 5 #include "ui/views/win/fullscreen_handler.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/win/win_util.h" 8 #include "base/win/win_util.h"
9 #include "ui/gfx/rect.h" 9 #include "ui/gfx/geometry/rect.h"
10 #include "ui/views/win/scoped_fullscreen_visibility.h" 10 #include "ui/views/win/scoped_fullscreen_visibility.h"
11 11
12 namespace views { 12 namespace views {
13 13
14 //////////////////////////////////////////////////////////////////////////////// 14 ////////////////////////////////////////////////////////////////////////////////
15 // FullscreenHandler, public: 15 // FullscreenHandler, public:
16 16
17 FullscreenHandler::FullscreenHandler() 17 FullscreenHandler::FullscreenHandler()
18 : hwnd_(NULL), 18 : hwnd_(NULL),
19 fullscreen_(false), 19 fullscreen_(false),
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 SetWindowPos(hwnd_, NULL, new_rect.x(), new_rect.y(), 96 SetWindowPos(hwnd_, NULL, new_rect.x(), new_rect.y(),
97 new_rect.width(), new_rect.height(), 97 new_rect.width(), new_rect.height(),
98 SWP_NOZORDER | SWP_NOACTIVATE | SWP_FRAMECHANGED); 98 SWP_NOZORDER | SWP_NOACTIVATE | SWP_FRAMECHANGED);
99 } 99 }
100 if (saved_window_info_.maximized) 100 if (saved_window_info_.maximized)
101 ::SendMessage(hwnd_, WM_SYSCOMMAND, SC_MAXIMIZE, 0); 101 ::SendMessage(hwnd_, WM_SYSCOMMAND, SC_MAXIMIZE, 0);
102 } 102 }
103 } 103 }
104 104
105 } // namespace views 105 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/widget/widget.h ('k') | ui/views/win/hwnd_message_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698