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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_root_window_host_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_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_
7 7
8 #include "ui/aura/client/animation_host.h" 8 #include "ui/aura/client/animation_host.h"
9 #include "ui/aura/window_tree_host.h" 9 #include "ui/aura/window_tree_host.h"
10 #include "ui/views/views_export.h" 10 #include "ui/views/views_export.h"
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 WPARAM w_param, 203 WPARAM w_param,
204 LPARAM l_param) OVERRIDE; 204 LPARAM l_param) OVERRIDE;
205 virtual void HandleMenuLoop(bool in_menu_loop) OVERRIDE; 205 virtual void HandleMenuLoop(bool in_menu_loop) OVERRIDE;
206 virtual bool PreHandleMSG(UINT message, 206 virtual bool PreHandleMSG(UINT message,
207 WPARAM w_param, 207 WPARAM w_param,
208 LPARAM l_param, 208 LPARAM l_param,
209 LRESULT* result) OVERRIDE; 209 LRESULT* result) OVERRIDE;
210 virtual void PostHandleMSG(UINT message, 210 virtual void PostHandleMSG(UINT message,
211 WPARAM w_param, 211 WPARAM w_param,
212 LPARAM l_param) OVERRIDE; 212 LPARAM l_param) OVERRIDE;
213 virtual bool HandleScrollEvent(const ui::ScrollEvent& event) OVERRIDE;
213 214
214 Widget* GetWidget(); 215 Widget* GetWidget();
215 const Widget* GetWidget() const; 216 const Widget* GetWidget() const;
216 HWND GetHWND() const; 217 HWND GetHWND() const;
217 218
218 private: 219 private:
219 void SetWindowTransparency(); 220 void SetWindowTransparency();
220 221
221 // Returns true if a modal window is active in the current root window chain. 222 // Returns true if a modal window is active in the current root window chain.
222 bool IsModalWindowActive() const; 223 bool IsModalWindowActive() const;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 bool is_cursor_visible_; 273 bool is_cursor_visible_;
273 274
274 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; 275 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_;
275 276
276 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); 277 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin);
277 }; 278 };
278 279
279 } // namespace views 280 } // namespace views
280 281
281 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ 282 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_
OLDNEW
« no previous file with comments | « ui/events/win/events_win.cc ('k') | ui/views/widget/desktop_aura/desktop_root_window_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698