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

Unified Diff: ui/gfx/win/direct_manipulation.h

Issue 1295683003: Remove the CHECK from the DirectManipulationHelper::Activate function as it is firing in Canary on … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add SetMsgHandled to the windowpos changed handler Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/renderer_host/legacy_render_widget_host_win.cc ('k') | ui/gfx/win/direct_manipulation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/win/direct_manipulation.h
diff --git a/ui/gfx/win/direct_manipulation.h b/ui/gfx/win/direct_manipulation.h
index 23048c70ce07293efc876dd3c15c9655ce192914..a6bcc456bef7507bbcfc8fe055526b074ade40de 100644
--- a/ui/gfx/win/direct_manipulation.h
+++ b/ui/gfx/win/direct_manipulation.h
@@ -52,9 +52,13 @@ class GFX_EXPORT DirectManipulationHelper {
// of the legacy window.
void SetBounds(const gfx::Rect& bounds);
- // Registers the passed in |window| as a Direct Manipulation consumer.
+ // Registers and activates the passed in |window| as a Direct Manipulation
+ // consumer.
void Activate(HWND window);
+ // Deactivates Direct Manipulation processing on the passed in |window|.
+ void Deactivate(HWND window);
+
// Passes the WM_MOUSEWHEEL messages to Direct Manipulation. This is for
// logistics purposes.
void HandleMouseWheel(HWND window, UINT message, WPARAM w_param,
« no previous file with comments | « content/browser/renderer_host/legacy_render_widget_host_win.cc ('k') | ui/gfx/win/direct_manipulation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698