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

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

Issue 126513004: Rename RootWindowHost to WindowTreeHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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 | Annotate | Revision Log
« no previous file with comments | « ui/views/widget/widget_unittest.cc ('k') | win8/metro_driver/ime/text_service.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 <windows.h> 8 #include <windows.h>
9 #include <atlbase.h> 9 #include <atlbase.h>
10 #include <atlapp.h> 10 #include <atlapp.h>
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 wParam; \ 96 wParam; \
97 lParam; \ 97 lParam; \
98 lResult; \ 98 lResult; \
99 bHandled; \ 99 bHandled; \
100 switch(dwMsgMapID) { \ 100 switch(dwMsgMapID) { \
101 case 0: 101 case 0:
102 102
103 // An object that handles messages for a HWND that implements the views 103 // An object that handles messages for a HWND that implements the views
104 // "Custom Frame" look. The purpose of this class is to isolate the windows- 104 // "Custom Frame" look. The purpose of this class is to isolate the windows-
105 // specific message handling from the code that wraps it. It is intended to be 105 // specific message handling from the code that wraps it. It is intended to be
106 // used by both a views::NativeWidget and an aura::RootWindowHost 106 // used by both a views::NativeWidget and an aura::WindowTreeHost
107 // implementation. 107 // implementation.
108 // TODO(beng): This object should eventually *become* the WindowImpl. 108 // TODO(beng): This object should eventually *become* the WindowImpl.
109 class VIEWS_EXPORT HWNDMessageHandler : 109 class VIEWS_EXPORT HWNDMessageHandler :
110 public gfx::WindowImpl, 110 public gfx::WindowImpl,
111 public internal::InputMethodDelegate, 111 public internal::InputMethodDelegate,
112 public base::MessageLoopForUI::Observer { 112 public base::MessageLoopForUI::Observer {
113 public: 113 public:
114 explicit HWNDMessageHandler(HWNDMessageHandlerDelegate* delegate); 114 explicit HWNDMessageHandler(HWNDMessageHandlerDelegate* delegate);
115 ~HWNDMessageHandler(); 115 ~HWNDMessageHandler();
116 116
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 }; 538 };
539 539
540 // This window property if set on the window does not activate the window for a 540 // This window property if set on the window does not activate the window for a
541 // touch based WM_MOUSEACTIVATE message. 541 // touch based WM_MOUSEACTIVATE message.
542 const wchar_t kIgnoreTouchMouseActivateForWindow[] = 542 const wchar_t kIgnoreTouchMouseActivateForWindow[] =
543 L"Chrome.IgnoreMouseActivate"; 543 L"Chrome.IgnoreMouseActivate";
544 544
545 } // namespace views 545 } // namespace views
546 546
547 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ 547 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_
OLDNEW
« no previous file with comments | « ui/views/widget/widget_unittest.cc ('k') | win8/metro_driver/ime/text_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698