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

Unified Diff: ui/aura/mus/window_tree_client.h

Issue 2507963002: Implement hit tests/client area. (Closed)
Patch Set: fix x11 compile Created 4 years, 1 month 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
Index: ui/aura/mus/window_tree_client.h
diff --git a/ui/aura/mus/window_tree_client.h b/ui/aura/mus/window_tree_client.h
index 949ce56bf4bc911755531f869d73832c7fe69aa8..0e8e0655665dd07ed8766b30a92fa1470e5c8e0f 100644
--- a/ui/aura/mus/window_tree_client.h
+++ b/ui/aura/mus/window_tree_client.h
@@ -95,11 +95,6 @@ class AURA_EXPORT WindowTreeClient
bool connected() const { return tree_ != nullptr; }
ClientSpecificId client_id() const { return client_id_; }
- void SetClientArea(Window* window,
- const gfx::Insets& client_area,
- const std::vector<gfx::Rect>& additional_client_areas);
- void SetHitTestMask(Window* window, const gfx::Rect& mask);
- void ClearHitTestMask(Window* window);
void SetCanFocus(Window* window, bool can_focus);
void SetCanAcceptDrops(Id window_id, bool can_accept_drops);
void SetCanAcceptEvents(Id window_id, bool can_accept_events);
@@ -414,6 +409,12 @@ class AURA_EXPORT WindowTreeClient
// Overriden from WindowTreeHostMusDelegate:
void OnWindowTreeHostBoundsWillChange(WindowTreeHostMus* window_tree_host,
const gfx::Rect& bounds) override;
+ void OnWindowTreeHostClientAreaWillChange(
+ WindowTreeHostMus* window_tree_host,
+ const gfx::Insets& client_area) override;
+ void OnWindowTreeHostHitTestMaskWillChange(
+ WindowTreeHostMus* window_tree_host,
+ const base::Optional<gfx::Rect>& mask_rect) override;
std::unique_ptr<WindowPortMus> CreateWindowPortForTopLevel() override;
void OnWindowTreeHostCreated(WindowTreeHostMus* window_tree_host) override;

Powered by Google App Engine
This is Rietveld 408576698