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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_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_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 Widget::MoveLoopEscapeBehavior escape_behavior) override; 176 Widget::MoveLoopEscapeBehavior escape_behavior) override;
177 void EndMoveLoop() override; 177 void EndMoveLoop() override;
178 void SetVisibilityChangedAnimationsEnabled(bool value) override; 178 void SetVisibilityChangedAnimationsEnabled(bool value) override;
179 void SetVisibilityAnimationDuration(const base::TimeDelta& duration) override; 179 void SetVisibilityAnimationDuration(const base::TimeDelta& duration) override;
180 void SetVisibilityAnimationTransition( 180 void SetVisibilityAnimationTransition(
181 Widget::VisibilityTransition transition) override; 181 Widget::VisibilityTransition transition) override;
182 bool IsTranslucentWindowOpacitySupported() const override; 182 bool IsTranslucentWindowOpacitySupported() const override;
183 void OnSizeConstraintsChanged() override; 183 void OnSizeConstraintsChanged() override;
184 void RepostNativeEvent(gfx::NativeEvent native_event) override; 184 void RepostNativeEvent(gfx::NativeEvent native_event) override;
185 std::string GetName() const override; 185 std::string GetName() const override;
186 Widget::Widgets GetAllOwnedTopLevelWidgets() const override;
186 187
187 // Overridden from aura::WindowDelegate: 188 // Overridden from aura::WindowDelegate:
188 gfx::Size GetMinimumSize() const override; 189 gfx::Size GetMinimumSize() const override;
189 gfx::Size GetMaximumSize() const override; 190 gfx::Size GetMaximumSize() const override;
190 void OnBoundsChanged(const gfx::Rect& old_bounds, 191 void OnBoundsChanged(const gfx::Rect& old_bounds,
191 const gfx::Rect& new_bounds) override {} 192 const gfx::Rect& new_bounds) override {}
192 gfx::NativeCursor GetCursor(const gfx::Point& point) override; 193 gfx::NativeCursor GetCursor(const gfx::Point& point) override;
193 int GetNonClientComponent(const gfx::Point& point) const override; 194 int GetNonClientComponent(const gfx::Point& point) const override;
194 bool ShouldDescendIntoChildForEventHandling( 195 bool ShouldDescendIntoChildForEventHandling(
195 aura::Window* child, 196 aura::Window* child,
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 // The following factory is used for calls to close the NativeWidgetAura 315 // The following factory is used for calls to close the NativeWidgetAura
315 // instance. 316 // instance.
316 base::WeakPtrFactory<DesktopNativeWidgetAura> close_widget_factory_; 317 base::WeakPtrFactory<DesktopNativeWidgetAura> close_widget_factory_;
317 318
318 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); 319 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura);
319 }; 320 };
320 321
321 } // namespace views 322 } // namespace views
322 323
323 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ 324 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_
OLDNEW
« no previous file with comments | « ui/views/mus/desktop_window_tree_host_mus.cc ('k') | ui/views/widget/desktop_aura/desktop_native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698