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

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

Issue 133053004: Ensure that trackpad and trackpoint scrolling works on Windows desktop Aura with legacy trackpad dr… (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
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 <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
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
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_
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_root_window_host_win.cc ('k') | ui/views/widget/native_widget_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698