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