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

Side by Side Diff: ash/mus/bridge/wm_window_mus.h

Issue 2176813002: mash: Migrate ShelfTooltipManager to wm common types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add limited pre-target handler WmWindow interface; Move tooltip manager to common. 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ 5 #ifndef ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_
6 #define ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ 6 #define ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/common/shell_window_ids.h" 10 #include "ash/common/shell_window_ids.h"
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 void SetBoundsInScreenBehaviorForChildren( 207 void SetBoundsInScreenBehaviorForChildren(
208 BoundsInScreenBehavior behavior) override; 208 BoundsInScreenBehavior behavior) override;
209 void SetSnapsChildrenToPhysicalPixelBoundary() override; 209 void SetSnapsChildrenToPhysicalPixelBoundary() override;
210 void SnapToPixelBoundaryIfNecessary() override; 210 void SnapToPixelBoundaryIfNecessary() override;
211 void SetChildrenUseExtendedHitRegion() override; 211 void SetChildrenUseExtendedHitRegion() override;
212 void SetDescendantsStayInSameRootWindow(bool value) override; 212 void SetDescendantsStayInSameRootWindow(bool value) override;
213 std::unique_ptr<views::View> CreateViewWithRecreatedLayers() override; 213 std::unique_ptr<views::View> CreateViewWithRecreatedLayers() override;
214 void AddObserver(WmWindowObserver* observer) override; 214 void AddObserver(WmWindowObserver* observer) override;
215 void RemoveObserver(WmWindowObserver* observer) override; 215 void RemoveObserver(WmWindowObserver* observer) override;
216 bool HasObserver(const WmWindowObserver* observer) const override; 216 bool HasObserver(const WmWindowObserver* observer) const override;
217 void AddLimitedPreTargetHandler(ui::EventHandler* handler) override;
218 void RemoveLimitedPreTargetHandler(ui::EventHandler* handler) override;
217 219
218 private: 220 private:
219 // ui::WindowObserver: 221 // ui::WindowObserver:
220 void OnTreeChanging(const TreeChangeParams& params) override; 222 void OnTreeChanging(const TreeChangeParams& params) override;
221 void OnTreeChanged(const TreeChangeParams& params) override; 223 void OnTreeChanged(const TreeChangeParams& params) override;
222 void OnWindowReordered(::ui::Window* window, 224 void OnWindowReordered(::ui::Window* window,
223 ::ui::Window* relative_window, 225 ::ui::Window* relative_window,
224 ::ui::mojom::OrderDirection direction) override; 226 ::ui::mojom::OrderDirection direction) override;
225 void OnWindowSharedPropertyChanged( 227 void OnWindowSharedPropertyChanged(
226 ::ui::Window* window, 228 ::ui::Window* window,
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 // resizing easier. 261 // resizing easier.
260 bool children_use_extended_hit_region_ = false; 262 bool children_use_extended_hit_region_ = false;
261 263
262 DISALLOW_COPY_AND_ASSIGN(WmWindowMus); 264 DISALLOW_COPY_AND_ASSIGN(WmWindowMus);
263 }; 265 };
264 266
265 } // namespace mus 267 } // namespace mus
266 } // namespace ash 268 } // namespace ash
267 269
268 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ 270 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698