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

Side by Side Diff: ui/views/widget/native_widget_win.h

Issue 10826160: Restore NativeWidgetWin::OnSetIcon to eliminate classic theme titlebar flickering. (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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | ui/views/widget/native_widget_win.cc » ('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 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlapp.h> 9 #include <atlapp.h>
10 #include <atlcrack.h> 10 #include <atlcrack.h>
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 MSG_WM_MOVE(OnMove) 354 MSG_WM_MOVE(OnMove)
355 MSG_WM_MOVING(OnMoving) 355 MSG_WM_MOVING(OnMoving)
356 MSG_WM_NCACTIVATE(OnNCActivate) 356 MSG_WM_NCACTIVATE(OnNCActivate)
357 MSG_WM_NCCALCSIZE(OnNCCalcSize) 357 MSG_WM_NCCALCSIZE(OnNCCalcSize)
358 MSG_WM_NCHITTEST(OnNCHitTest) 358 MSG_WM_NCHITTEST(OnNCHitTest)
359 MSG_WM_NCPAINT(OnNCPaint) 359 MSG_WM_NCPAINT(OnNCPaint)
360 MSG_WM_NOTIFY(OnNotify) 360 MSG_WM_NOTIFY(OnNotify)
361 MSG_WM_PAINT(OnPaint) 361 MSG_WM_PAINT(OnPaint)
362 MSG_WM_POWERBROADCAST(OnPowerBroadcast) 362 MSG_WM_POWERBROADCAST(OnPowerBroadcast)
363 MSG_WM_SETFOCUS(OnSetFocus) 363 MSG_WM_SETFOCUS(OnSetFocus)
364 MSG_WM_SETICON(OnSetIcon)
364 MSG_WM_SETTEXT(OnSetText) 365 MSG_WM_SETTEXT(OnSetText)
365 MSG_WM_SETTINGCHANGE(OnSettingChange) 366 MSG_WM_SETTINGCHANGE(OnSettingChange)
366 MSG_WM_SIZE(OnSize) 367 MSG_WM_SIZE(OnSize)
367 MSG_WM_SYSCOMMAND(OnSysCommand) 368 MSG_WM_SYSCOMMAND(OnSysCommand)
368 MSG_WM_THEMECHANGED(OnThemeChanged) 369 MSG_WM_THEMECHANGED(OnThemeChanged)
369 MSG_WM_VSCROLL(OnVScroll) 370 MSG_WM_VSCROLL(OnVScroll)
370 MSG_WM_WINDOWPOSCHANGING(OnWindowPosChanging) 371 MSG_WM_WINDOWPOSCHANGING(OnWindowPosChanging)
371 MSG_WM_WINDOWPOSCHANGED(OnWindowPosChanged) 372 MSG_WM_WINDOWPOSCHANGED(OnWindowPosChanged)
372 END_MSG_MAP() 373 END_MSG_MAP()
373 374
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 virtual LRESULT OnNCUAHDrawCaption(UINT msg, 421 virtual LRESULT OnNCUAHDrawCaption(UINT msg,
421 WPARAM w_param, 422 WPARAM w_param,
422 LPARAM l_param); 423 LPARAM l_param);
423 virtual LRESULT OnNCUAHDrawFrame(UINT msg, WPARAM w_param, LPARAM l_param); 424 virtual LRESULT OnNCUAHDrawFrame(UINT msg, WPARAM w_param, LPARAM l_param);
424 virtual LRESULT OnNotify(int w_param, NMHDR* l_param); 425 virtual LRESULT OnNotify(int w_param, NMHDR* l_param);
425 virtual void OnPaint(HDC dc); 426 virtual void OnPaint(HDC dc);
426 virtual LRESULT OnPowerBroadcast(DWORD power_event, DWORD data); 427 virtual LRESULT OnPowerBroadcast(DWORD power_event, DWORD data);
427 virtual LRESULT OnReflectedMessage(UINT msg, WPARAM w_param, LPARAM l_param); 428 virtual LRESULT OnReflectedMessage(UINT msg, WPARAM w_param, LPARAM l_param);
428 virtual LRESULT OnSetCursor(UINT message, WPARAM w_param, LPARAM l_param); 429 virtual LRESULT OnSetCursor(UINT message, WPARAM w_param, LPARAM l_param);
429 virtual void OnSetFocus(HWND old_focused_window); 430 virtual void OnSetFocus(HWND old_focused_window);
431 virtual LRESULT OnSetIcon(UINT size_type, HICON new_icon);
430 virtual LRESULT OnSetText(const wchar_t* text); 432 virtual LRESULT OnSetText(const wchar_t* text);
431 virtual void OnSettingChange(UINT flags, const wchar_t* section); 433 virtual void OnSettingChange(UINT flags, const wchar_t* section);
432 virtual void OnSize(UINT param, const CSize& size); 434 virtual void OnSize(UINT param, const CSize& size);
433 virtual void OnSysCommand(UINT notification_code, CPoint click); 435 virtual void OnSysCommand(UINT notification_code, CPoint click);
434 virtual void OnThemeChanged(); 436 virtual void OnThemeChanged();
435 virtual LRESULT OnTouchEvent(UINT message, WPARAM w_param, LPARAM l_param); 437 virtual LRESULT OnTouchEvent(UINT message, WPARAM w_param, LPARAM l_param);
436 virtual void OnVScroll(int scroll_type, short position, HWND scrollbar); 438 virtual void OnVScroll(int scroll_type, short position, HWND scrollbar);
437 virtual void OnWindowPosChanging(WINDOWPOS* window_pos); 439 virtual void OnWindowPosChanging(WINDOWPOS* window_pos);
438 virtual void OnWindowPosChanged(WINDOWPOS* window_pos); 440 virtual void OnWindowPosChanged(WINDOWPOS* window_pos);
439 441
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
679 681
680 // The set of touch devices currently down. 682 // The set of touch devices currently down.
681 TouchIDs touch_ids_; 683 TouchIDs touch_ids_;
682 684
683 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); 685 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin);
684 }; 686 };
685 687
686 } // namespace views 688 } // namespace views
687 689
688 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ 690 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | ui/views/widget/native_widget_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698