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

Side by Side Diff: ui/aura/mus/window_tree_client.h

Issue 2507963002: Implement hit tests/client area. (Closed)
Patch Set: Really fix 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ 5 #ifndef UI_AURA_MUS_WINDOW_TREE_CLIENT_H_
6 #define UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ 6 #define UI_AURA_MUS_WINDOW_TREE_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 void RemoveActivationParent(Window* window) override; 399 void RemoveActivationParent(Window* window) override;
400 void ActivateNextWindow() override; 400 void ActivateNextWindow() override;
401 void SetUnderlaySurfaceOffsetAndExtendedHitArea( 401 void SetUnderlaySurfaceOffsetAndExtendedHitArea(
402 Window* window, 402 Window* window,
403 const gfx::Vector2d& offset, 403 const gfx::Vector2d& offset,
404 const gfx::Insets& hit_area) override; 404 const gfx::Insets& hit_area) override;
405 405
406 // Overriden from WindowTreeHostMusDelegate: 406 // Overriden from WindowTreeHostMusDelegate:
407 void OnWindowTreeHostBoundsWillChange(WindowTreeHostMus* window_tree_host, 407 void OnWindowTreeHostBoundsWillChange(WindowTreeHostMus* window_tree_host,
408 const gfx::Rect& bounds) override; 408 const gfx::Rect& bounds) override;
409 void OnWindowTreeHostClientAreaWillChange(WindowTreeHostMus* window_tree_host,
410 const gfx::Insets& insets) override;
411 void OnWindowTreeHostClearHitTestMask(
412 WindowTreeHostMus* window_tree_host) override;
413 void OnWindowTreeHostHitTestMaskWillChange(
414 WindowTreeHostMus* window_tree_host,
415 const gfx::Rect& mask_rect) override;
409 std::unique_ptr<WindowPortMus> CreateWindowPortForTopLevel() override; 416 std::unique_ptr<WindowPortMus> CreateWindowPortForTopLevel() override;
410 void OnWindowTreeHostCreated(WindowTreeHostMus* window_tree_host) override; 417 void OnWindowTreeHostCreated(WindowTreeHostMus* window_tree_host) override;
411 418
412 // Override from client::TransientWindowClientObserver: 419 // Override from client::TransientWindowClientObserver:
413 void OnTransientChildWindowAdded(Window* parent, 420 void OnTransientChildWindowAdded(Window* parent,
414 Window* transient_child) override; 421 Window* transient_child) override;
415 void OnTransientChildWindowRemoved(Window* parent, 422 void OnTransientChildWindowRemoved(Window* parent,
416 Window* transient_child) override; 423 Window* transient_child) override;
417 424
418 // Overriden from DragDropControllerHost: 425 // Overriden from DragDropControllerHost:
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 std::unique_ptr<DragDropControllerMus> drag_drop_controller_; 499 std::unique_ptr<DragDropControllerMus> drag_drop_controller_;
493 500
494 base::WeakPtrFactory<WindowTreeClient> weak_factory_; 501 base::WeakPtrFactory<WindowTreeClient> weak_factory_;
495 502
496 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); 503 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient);
497 }; 504 };
498 505
499 } // namespace aura 506 } // namespace aura
500 507
501 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ 508 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_
OLDNEW
« ui/aura/mus/DEPS ('K') | « ui/aura/mus/DEPS ('k') | ui/aura/mus/window_tree_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698