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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_win.h

Issue 277053003: Do FinishAllRendering in WM_WINDOWPOSCHANGING (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
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 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
7 7
8 #include "ui/aura/window_tree_host.h" 8 #include "ui/aura/window_tree_host.h"
9 #include "ui/views/views_export.h" 9 #include "ui/views/views_export.h"
10 #include "ui/views/widget/desktop_aura/desktop_window_tree_host.h" 10 #include "ui/views/widget/desktop_aura/desktop_window_tree_host.h"
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 LPARAM l_param) OVERRIDE; 197 LPARAM l_param) OVERRIDE;
198 virtual void HandleMenuLoop(bool in_menu_loop) OVERRIDE; 198 virtual void HandleMenuLoop(bool in_menu_loop) OVERRIDE;
199 virtual bool PreHandleMSG(UINT message, 199 virtual bool PreHandleMSG(UINT message,
200 WPARAM w_param, 200 WPARAM w_param,
201 LPARAM l_param, 201 LPARAM l_param,
202 LRESULT* result) OVERRIDE; 202 LRESULT* result) OVERRIDE;
203 virtual void PostHandleMSG(UINT message, 203 virtual void PostHandleMSG(UINT message,
204 WPARAM w_param, 204 WPARAM w_param,
205 LPARAM l_param) OVERRIDE; 205 LPARAM l_param) OVERRIDE;
206 virtual bool HandleScrollEvent(const ui::ScrollEvent& event) OVERRIDE; 206 virtual bool HandleScrollEvent(const ui::ScrollEvent& event) OVERRIDE;
207 virtual void HandleWindowSizeChanging() OVERRIDE;
207 208
208 Widget* GetWidget(); 209 Widget* GetWidget();
209 const Widget* GetWidget() const; 210 const Widget* GetWidget() const;
210 HWND GetHWND() const; 211 HWND GetHWND() const;
211 212
212 private: 213 private:
213 void SetWindowTransparency(); 214 void SetWindowTransparency();
214 215
215 // Returns true if a modal window is active in the current root window chain. 216 // Returns true if a modal window is active in the current root window chain.
216 bool IsModalWindowActive() const; 217 bool IsModalWindowActive() const;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 static bool is_cursor_visible_; 267 static bool is_cursor_visible_;
267 268
268 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; 269 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_;
269 270
270 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); 271 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin);
271 }; 272 };
272 273
273 } // namespace views 274 } // namespace views
274 275
275 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 276 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698