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

Unified Diff: ash/aura/wm_window_aura.cc

Issue 2176813002: mash: Migrate ShelfTooltipManager to wm common types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update comment. Created 4 years, 5 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 | « ash/aura/wm_window_aura.h ('k') | ash/common/shelf/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/aura/wm_window_aura.cc
diff --git a/ash/aura/wm_window_aura.cc b/ash/aura/wm_window_aura.cc
index f3345f9b71b796f7996e6e73f0d8c68021806c76..82a18dd4ab68793f972c2539c234b87964839341 100644
--- a/ash/aura/wm_window_aura.cc
+++ b/ash/aura/wm_window_aura.cc
@@ -662,6 +662,15 @@ bool WmWindowAura::HasObserver(const WmWindowObserver* observer) const {
return observers_.HasObserver(observer);
}
+void WmWindowAura::AddLimitedPreTargetHandler(ui::EventHandler* handler) {
+ // This behaves differently from WmWindowMus for child and embedded windows.
+ window_->AddPreTargetHandler(handler);
+}
+
+void WmWindowAura::RemoveLimitedPreTargetHandler(ui::EventHandler* handler) {
+ window_->RemovePreTargetHandler(handler);
+}
+
void WmWindowAura::OnWindowHierarchyChanging(
const HierarchyChangeParams& params) {
WmWindowObserver::TreeChangeParams wm_params;
« no previous file with comments | « ash/aura/wm_window_aura.h ('k') | ash/common/shelf/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698