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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_root_window_host_win.h

Issue 23619025: Fix use after free when handling async touch events (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment Created 7 years, 3 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 | « no previous file | ui/views/widget/desktop_aura/desktop_root_window_host_win.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_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/root_window_host.h" 9 #include "ui/aura/root_window_host.h"
10 #include "ui/views/views_export.h" 10 #include "ui/views/views_export.h"
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 virtual void HandleWorkAreaChanged() OVERRIDE; 171 virtual void HandleWorkAreaChanged() OVERRIDE;
172 virtual void HandleVisibilityChanging(bool visible) OVERRIDE; 172 virtual void HandleVisibilityChanging(bool visible) OVERRIDE;
173 virtual void HandleVisibilityChanged(bool visible) OVERRIDE; 173 virtual void HandleVisibilityChanged(bool visible) OVERRIDE;
174 virtual void HandleClientSizeChanged(const gfx::Size& new_size) OVERRIDE; 174 virtual void HandleClientSizeChanged(const gfx::Size& new_size) OVERRIDE;
175 virtual void HandleFrameChanged() OVERRIDE; 175 virtual void HandleFrameChanged() OVERRIDE;
176 virtual void HandleNativeFocus(HWND last_focused_window) OVERRIDE; 176 virtual void HandleNativeFocus(HWND last_focused_window) OVERRIDE;
177 virtual void HandleNativeBlur(HWND focused_window) OVERRIDE; 177 virtual void HandleNativeBlur(HWND focused_window) OVERRIDE;
178 virtual bool HandleMouseEvent(const ui::MouseEvent& event) OVERRIDE; 178 virtual bool HandleMouseEvent(const ui::MouseEvent& event) OVERRIDE;
179 virtual bool HandleKeyEvent(const ui::KeyEvent& event) OVERRIDE; 179 virtual bool HandleKeyEvent(const ui::KeyEvent& event) OVERRIDE;
180 virtual bool HandleUntranslatedKeyEvent(const ui::KeyEvent& event) OVERRIDE; 180 virtual bool HandleUntranslatedKeyEvent(const ui::KeyEvent& event) OVERRIDE;
181 virtual bool HandleTouchEvent(const ui::TouchEvent& event) OVERRIDE; 181 virtual void HandleTouchEvent(const ui::TouchEvent& event) OVERRIDE;
182 virtual bool HandleIMEMessage(UINT message, 182 virtual bool HandleIMEMessage(UINT message,
183 WPARAM w_param, 183 WPARAM w_param,
184 LPARAM l_param, 184 LPARAM l_param,
185 LRESULT* result) OVERRIDE; 185 LRESULT* result) OVERRIDE;
186 virtual void HandleInputLanguageChange(DWORD character_set, 186 virtual void HandleInputLanguageChange(DWORD character_set,
187 HKL input_language_id) OVERRIDE; 187 HKL input_language_id) OVERRIDE;
188 virtual bool HandlePaintAccelerated(const gfx::Rect& invalid_rect) OVERRIDE; 188 virtual bool HandlePaintAccelerated(const gfx::Rect& invalid_rect) OVERRIDE;
189 virtual void HandlePaint(gfx::Canvas* canvas) OVERRIDE; 189 virtual void HandlePaint(gfx::Canvas* canvas) OVERRIDE;
190 virtual bool HandleTooltipNotify(int w_param, 190 virtual bool HandleTooltipNotify(int w_param,
191 NMHDR* l_param, 191 NMHDR* l_param,
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 // rather than asking the Widget for the non_client_view so that we know at 254 // rather than asking the Widget for the non_client_view so that we know at
255 // Init time, before the Widget has created the NonClientView. 255 // Init time, before the Widget has created the NonClientView.
256 bool has_non_client_view_; 256 bool has_non_client_view_;
257 257
258 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin); 258 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin);
259 }; 259 };
260 260
261 } // namespace views 261 } // namespace views
262 262
263 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ 263 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | 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