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

Side by Side Diff: ui/views/widget/widget.h

Issue 15114002: Reorder the NativeViews attached to a view via kViewHostKey according to the position of the view (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 | Annotate | Revision Log
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_VIEWS_WIDGET_WIDGET_H_ 5 #ifndef UI_VIEWS_WIDGET_WIDGET_H_
6 #define UI_VIEWS_WIDGET_WIDGET_H_ 6 #define UI_VIEWS_WIDGET_WIDGET_H_
7 7
8 #include <set> 8 #include <set>
9 #include <stack> 9 #include <stack>
10 #include <vector> 10 #include <vector>
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 const ui::Compositor* GetCompositor() const; 570 const ui::Compositor* GetCompositor() const;
571 ui::Compositor* GetCompositor(); 571 ui::Compositor* GetCompositor();
572 572
573 // Invokes method of same name on the NativeWidget. 573 // Invokes method of same name on the NativeWidget.
574 gfx::Vector2d CalculateOffsetToAncestorWithLayer( 574 gfx::Vector2d CalculateOffsetToAncestorWithLayer(
575 ui::Layer** layer_parent); 575 ui::Layer** layer_parent);
576 576
577 // Invokes method of same name on the NativeWidget. 577 // Invokes method of same name on the NativeWidget.
578 void ReorderLayers(); 578 void ReorderLayers();
579 579
580 // Returns true if a child NativeView is attached to one of the widget's
581 // views.
582 bool HasNativeViewAttachedToViewTree() const;
583
580 // Schedules an update to the root layers. The actual processing occurs when 584 // Schedules an update to the root layers. The actual processing occurs when
581 // GetRootLayers() is invoked. 585 // GetRootLayers() is invoked.
582 void UpdateRootLayers(); 586 void UpdateRootLayers();
583 587
584 const NativeWidget* native_widget() const; 588 const NativeWidget* native_widget() const;
585 NativeWidget* native_widget(); 589 NativeWidget* native_widget();
586 590
587 internal::NativeWidgetPrivate* native_widget_private() { 591 internal::NativeWidgetPrivate* native_widget_private() {
588 return native_widget_; 592 return native_widget_;
589 } 593 }
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
833 // True when window movement via mouse interaction with the frame should be 837 // True when window movement via mouse interaction with the frame should be
834 // disabled. 838 // disabled.
835 bool movement_disabled_; 839 bool movement_disabled_;
836 840
837 DISALLOW_COPY_AND_ASSIGN(Widget); 841 DISALLOW_COPY_AND_ASSIGN(Widget);
838 }; 842 };
839 843
840 } // namespace views 844 } // namespace views
841 845
842 #endif // UI_VIEWS_WIDGET_WIDGET_H_ 846 #endif // UI_VIEWS_WIDGET_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698