| OLD | NEW |
| 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 <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 virtual void HandleTooltipMouseMove(UINT message, | 228 virtual void HandleTooltipMouseMove(UINT message, |
| 229 WPARAM w_param, | 229 WPARAM w_param, |
| 230 LPARAM l_param) OVERRIDE; | 230 LPARAM l_param) OVERRIDE; |
| 231 virtual bool PreHandleMSG(UINT message, | 231 virtual bool PreHandleMSG(UINT message, |
| 232 WPARAM w_param, | 232 WPARAM w_param, |
| 233 LPARAM l_param, | 233 LPARAM l_param, |
| 234 LRESULT* result) OVERRIDE; | 234 LRESULT* result) OVERRIDE; |
| 235 virtual void PostHandleMSG(UINT message, | 235 virtual void PostHandleMSG(UINT message, |
| 236 WPARAM w_param, | 236 WPARAM w_param, |
| 237 LPARAM l_param) OVERRIDE; | 237 LPARAM l_param) OVERRIDE; |
| 238 virtual bool HandleScrollEvent(const ui::ScrollEvent& event) OVERRIDE; |
| 238 | 239 |
| 239 // The TooltipManager. This is NULL if there is a problem creating the | 240 // The TooltipManager. This is NULL if there is a problem creating the |
| 240 // underlying tooltip window. | 241 // underlying tooltip window. |
| 241 // WARNING: RootView's destructor calls into the TooltipManager. As such, this | 242 // WARNING: RootView's destructor calls into the TooltipManager. As such, this |
| 242 // must be destroyed AFTER root_view_. | 243 // must be destroyed AFTER root_view_. |
| 243 scoped_ptr<TooltipManagerWin> tooltip_manager_; | 244 scoped_ptr<TooltipManagerWin> tooltip_manager_; |
| 244 | 245 |
| 245 scoped_refptr<DropTargetWin> drop_target_; | 246 scoped_refptr<DropTargetWin> drop_target_; |
| 246 | 247 |
| 247 private: | 248 private: |
| (...skipping 20 matching lines...) Expand all Loading... |
| 268 bool has_non_client_view_; | 269 bool has_non_client_view_; |
| 269 | 270 |
| 270 scoped_ptr<HWNDMessageHandler> message_handler_; | 271 scoped_ptr<HWNDMessageHandler> message_handler_; |
| 271 | 272 |
| 272 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); | 273 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); |
| 273 }; | 274 }; |
| 274 | 275 |
| 275 } // namespace views | 276 } // namespace views |
| 276 | 277 |
| 277 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 278 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
| OLD | NEW |