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

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

Issue 2507963002: Implement hit tests/client area. (Closed)
Patch Set: add it back 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
« no previous file with comments | « ui/aura/BUILD.gn ('k') | ui/aura/mus/window_tree_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 991b49b99a4182bccd564bb388d48b6ee080b5b1..356f05812d09b07a34f62a1624952fa80504139b 100644
--- a/ui/aura/mus/window_tree_client.h
+++ b/ui/aura/mus/window_tree_client.h
@@ -101,11 +101,6 @@ class AURA_EXPORT WindowTreeClient
client::CaptureClient* GetCaptureClient();
- 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);
@@ -420,6 +415,13 @@ 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,
+ const std::vector<gfx::Rect>& additional_client_areas) 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;
« no previous file with comments | « ui/aura/BUILD.gn ('k') | ui/aura/mus/window_tree_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698