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

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

Issue 2645253002: DesktopAura: Track windows "owned" via the DesktopWindowTreeHost (Closed)
Patch Set: Add context, comment Created 3 years, 10 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
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_NATIVE_WIDGET_AURA_H_ 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 Widget::MoveLoopEscapeBehavior escape_behavior) override; 132 Widget::MoveLoopEscapeBehavior escape_behavior) override;
133 void EndMoveLoop() override; 133 void EndMoveLoop() override;
134 void SetVisibilityChangedAnimationsEnabled(bool value) override; 134 void SetVisibilityChangedAnimationsEnabled(bool value) override;
135 void SetVisibilityAnimationDuration(const base::TimeDelta& duration) override; 135 void SetVisibilityAnimationDuration(const base::TimeDelta& duration) override;
136 void SetVisibilityAnimationTransition( 136 void SetVisibilityAnimationTransition(
137 Widget::VisibilityTransition transition) override; 137 Widget::VisibilityTransition transition) override;
138 bool IsTranslucentWindowOpacitySupported() const override; 138 bool IsTranslucentWindowOpacitySupported() const override;
139 void OnSizeConstraintsChanged() override; 139 void OnSizeConstraintsChanged() override;
140 void RepostNativeEvent(gfx::NativeEvent native_event) override; 140 void RepostNativeEvent(gfx::NativeEvent native_event) override;
141 std::string GetName() const override; 141 std::string GetName() const override;
142 Widget::Widgets GetAllOwnedTopLevelWidgets() const override;
142 143
143 // Overridden from aura::WindowDelegate: 144 // Overridden from aura::WindowDelegate:
144 gfx::Size GetMinimumSize() const override; 145 gfx::Size GetMinimumSize() const override;
145 gfx::Size GetMaximumSize() const override; 146 gfx::Size GetMaximumSize() const override;
146 void OnBoundsChanged(const gfx::Rect& old_bounds, 147 void OnBoundsChanged(const gfx::Rect& old_bounds,
147 const gfx::Rect& new_bounds) override; 148 const gfx::Rect& new_bounds) override;
148 gfx::NativeCursor GetCursor(const gfx::Point& point) override; 149 gfx::NativeCursor GetCursor(const gfx::Point& point) override;
149 int GetNonClientComponent(const gfx::Point& point) const override; 150 int GetNonClientComponent(const gfx::Point& point) const override;
150 bool ShouldDescendIntoChildForEventHandling( 151 bool ShouldDescendIntoChildForEventHandling(
151 aura::Window* child, 152 aura::Window* child,
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 // The following factory is used for calls to close the NativeWidgetAura 237 // The following factory is used for calls to close the NativeWidgetAura
237 // instance. 238 // instance.
238 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_; 239 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_;
239 240
240 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); 241 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura);
241 }; 242 };
242 243
243 } // namespace views 244 } // namespace views
244 245
245 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 246 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc ('k') | ui/views/widget/native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698