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

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

Issue 693523003: MacViews: Put wm window animation calls behind an interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@views-clipboard
Patch Set: Fix windows build Created 6 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 (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 "base/memory/scoped_vector.h" 8 #include "base/memory/scoped_vector.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "ui/aura/client/focus_change_observer.h" 10 #include "ui/aura/client/focus_change_observer.h"
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 void SetCursor(gfx::NativeCursor cursor) override; 122 void SetCursor(gfx::NativeCursor cursor) override;
123 bool IsMouseEventsEnabled() const override; 123 bool IsMouseEventsEnabled() const override;
124 void ClearNativeFocus() override; 124 void ClearNativeFocus() override;
125 gfx::Rect GetWorkAreaBoundsInScreen() const override; 125 gfx::Rect GetWorkAreaBoundsInScreen() const override;
126 Widget::MoveLoopResult RunMoveLoop( 126 Widget::MoveLoopResult RunMoveLoop(
127 const gfx::Vector2d& drag_offset, 127 const gfx::Vector2d& drag_offset,
128 Widget::MoveLoopSource source, 128 Widget::MoveLoopSource source,
129 Widget::MoveLoopEscapeBehavior escape_behavior) override; 129 Widget::MoveLoopEscapeBehavior escape_behavior) override;
130 void EndMoveLoop() override; 130 void EndMoveLoop() override;
131 void SetVisibilityChangedAnimationsEnabled(bool value) override; 131 void SetVisibilityChangedAnimationsEnabled(bool value) override;
132 void SetVisibilityAnimationDuration(const base::TimeDelta& duration) override;
133 void SetVisibilityAnimationTransition(
134 Widget::VisibilityTransition transition) override;
132 ui::NativeTheme* GetNativeTheme() const override; 135 ui::NativeTheme* GetNativeTheme() const override;
133 void OnRootViewLayout() override; 136 void OnRootViewLayout() override;
134 bool IsTranslucentWindowOpacitySupported() const override; 137 bool IsTranslucentWindowOpacitySupported() const override;
135 void OnSizeConstraintsChanged() override; 138 void OnSizeConstraintsChanged() override;
136 void RepostNativeEvent(gfx::NativeEvent native_event) override; 139 void RepostNativeEvent(gfx::NativeEvent native_event) override;
137 140
138 // Overridden from views::InputMethodDelegate: 141 // Overridden from views::InputMethodDelegate:
139 void DispatchKeyEventPostIME(const ui::KeyEvent& key) override; 142 void DispatchKeyEventPostIME(const ui::KeyEvent& key) override;
140 143
141 // Overridden from aura::WindowDelegate: 144 // Overridden from aura::WindowDelegate:
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 // The following factory is used for calls to close the NativeWidgetAura 229 // The following factory is used for calls to close the NativeWidgetAura
227 // instance. 230 // instance.
228 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_; 231 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_;
229 232
230 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); 233 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura);
231 }; 234 };
232 235
233 } // namespace views 236 } // namespace views
234 237
235 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 238 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_native_widget_aura.cc ('k') | ui/views/widget/native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698