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

Side by Side Diff: ui/aura/window.h

Issue 2929903002: aura: Remove NotifyAncestorWindowTransformed in window observer. (Closed)
Patch Set: Fix aura_unittests. Created 3 years, 6 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
« no previous file with comments | « no previous file | ui/aura/window.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_WINDOW_H_ 5 #ifndef UI_AURA_WINDOW_H_
6 #define UI_AURA_WINDOW_H_ 6 #define UI_AURA_WINDOW_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 // during the call (by an observer), otherwise true. 411 // during the call (by an observer), otherwise true.
412 bool NotifyWindowVisibilityChangedAtReceiver(aura::Window* target, 412 bool NotifyWindowVisibilityChangedAtReceiver(aura::Window* target,
413 bool visible); 413 bool visible);
414 // Notifies this window and its child hierarchy. Returns false if 414 // Notifies this window and its child hierarchy. Returns false if
415 // |this| was deleted during the call (by an observer), otherwise 415 // |this| was deleted during the call (by an observer), otherwise
416 // true. 416 // true.
417 bool NotifyWindowVisibilityChangedDown(aura::Window* target, bool visible); 417 bool NotifyWindowVisibilityChangedDown(aura::Window* target, bool visible);
418 // Notifies this window and its parent hierarchy. 418 // Notifies this window and its parent hierarchy.
419 void NotifyWindowVisibilityChangedUp(aura::Window* target, bool visible); 419 void NotifyWindowVisibilityChangedUp(aura::Window* target, bool visible);
420 420
421 // Notifies this window and its child hierarchy of a transform applied to
422 // |source|.
423 void NotifyAncestorWindowTransformed(Window* source);
424
425 // Overridden from ui::LayerDelegate: 421 // Overridden from ui::LayerDelegate:
426 void OnPaintLayer(const ui::PaintContext& context) override; 422 void OnPaintLayer(const ui::PaintContext& context) override;
427 void OnDelegatedFrameDamage(const gfx::Rect& damage_rect_in_dip) override; 423 void OnDelegatedFrameDamage(const gfx::Rect& damage_rect_in_dip) override;
428 void OnLayerBoundsChanged(const gfx::Rect& old_bounds) override; 424 void OnLayerBoundsChanged(const gfx::Rect& old_bounds) override;
429 425
430 // Overridden from ui::EventTarget: 426 // Overridden from ui::EventTarget:
431 bool CanAcceptEvent(const ui::Event& event) override; 427 bool CanAcceptEvent(const ui::Event& event) override;
432 EventTarget* GetParentTarget() override; 428 EventTarget* GetParentTarget() override;
433 std::unique_ptr<ui::EventTargetIterator> GetChildIterator() const override; 429 std::unique_ptr<ui::EventTargetIterator> GetChildIterator() const override;
434 ui::EventTargeter* GetEventTargeter() override; 430 ui::EventTargeter* GetEventTargeter() override;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 bool ignore_events_; 483 bool ignore_events_;
488 484
489 base::ObserverList<WindowObserver, true> observers_; 485 base::ObserverList<WindowObserver, true> observers_;
490 486
491 DISALLOW_COPY_AND_ASSIGN(Window); 487 DISALLOW_COPY_AND_ASSIGN(Window);
492 }; 488 };
493 489
494 } // namespace aura 490 } // namespace aura
495 491
496 #endif // UI_AURA_WINDOW_H_ 492 #endif // UI_AURA_WINDOW_H_
OLDNEW
« no previous file with comments | « no previous file | ui/aura/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698