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

Side by Side Diff: ui/views/win/hwnd_message_handler.h

Issue 10951033: Plumb ClearNativeFocus to DesktopRootWindowHostWin. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: get rid of FocusNativeView Created 8 years, 3 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 | « ui/views/widget/widget.cc ('k') | ui/views/win/hwnd_message_handler.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_WIN_HWND_MESSAGE_HANDLER_H_ 5 #ifndef UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_
6 #define UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ 6 #define UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlapp.h> 9 #include <atlapp.h>
10 #include <atlmisc.h> 10 #include <atlmisc.h>
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 108
109 bool RunMoveLoop(const gfx::Point& drag_offset); 109 bool RunMoveLoop(const gfx::Point& drag_offset);
110 void EndMoveLoop(); 110 void EndMoveLoop();
111 111
112 // Tells the HWND its client area has changed. 112 // Tells the HWND its client area has changed.
113 void SendFrameChanged(); 113 void SendFrameChanged();
114 114
115 void FlashFrame(bool flash); 115 void FlashFrame(bool flash);
116 116
117 void ClearNativeFocus(); 117 void ClearNativeFocus();
118 void FocusHWND(HWND hwnd);
119 118
120 void SetCapture(); 119 void SetCapture();
121 void ReleaseCapture(); 120 void ReleaseCapture();
122 bool HasCapture() const; 121 bool HasCapture() const;
123 122
124 FullscreenHandler* fullscreen_handler() { return fullscreen_handler_.get(); } 123 FullscreenHandler* fullscreen_handler() { return fullscreen_handler_.get(); }
125 124
126 void SetVisibilityChangedAnimationsEnabled(bool enabled); 125 void SetVisibilityChangedAnimationsEnabled(bool enabled);
127 126
128 void SetTitle(const string16& title); 127 void SetTitle(const string16& title);
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 // True if we are allowed to update the layered window from the DIB backing 456 // True if we are allowed to update the layered window from the DIB backing
458 // store if necessary. 457 // store if necessary.
459 bool can_update_layered_window_; 458 bool can_update_layered_window_;
460 459
461 DISALLOW_COPY_AND_ASSIGN(HWNDMessageHandler); 460 DISALLOW_COPY_AND_ASSIGN(HWNDMessageHandler);
462 }; 461 };
463 462
464 } // namespace views 463 } // namespace views
465 464
466 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ 465 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_
OLDNEW
« no previous file with comments | « ui/views/widget/widget.cc ('k') | ui/views/win/hwnd_message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698