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

Side by Side Diff: ui/views/win/hwnd_message_handler_delegate.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_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_ 5 #ifndef UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_
6 #define UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_ 6 #define UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_
7 7
8 #include "ui/views/views_export.h" 8 #include "ui/views/views_export.h"
9 9
10 namespace gfx { 10 namespace gfx {
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 // Like PreHandleMSG, but called after HWNDMessageHandler's built-in handling 226 // Like PreHandleMSG, but called after HWNDMessageHandler's built-in handling
227 // has run and after DefWindowProc. 227 // has run and after DefWindowProc.
228 virtual void PostHandleMSG(UINT message, 228 virtual void PostHandleMSG(UINT message,
229 WPARAM w_param, 229 WPARAM w_param,
230 LPARAM l_param) = 0; 230 LPARAM l_param) = 0;
231 231
232 // Called when a scroll event is received. Returns true if the event was 232 // Called when a scroll event is received. Returns true if the event was
233 // handled by the delegate. 233 // handled by the delegate.
234 virtual bool HandleScrollEvent(const ui::ScrollEvent& event) = 0; 234 virtual bool HandleScrollEvent(const ui::ScrollEvent& event) = 0;
235 235
236 // Called when the window size is about to change.
237 virtual void HandleWindowSizeChanging() = 0;
238
236 protected: 239 protected:
237 virtual ~HWNDMessageHandlerDelegate() {} 240 virtual ~HWNDMessageHandlerDelegate() {}
238 }; 241 };
239 242
240 } // namespace views 243 } // namespace views
241 244
242 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_ 245 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_
OLDNEW
« ui/compositor/compositor.cc ('K') | « ui/views/win/hwnd_message_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698