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

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

Issue 375183002: Add app.window.alphaEnabled() and onAlphaEnabledChanged. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync and rebase Created 6 years, 5 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_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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 virtual void ClearNativeFocus() OVERRIDE; 125 virtual void ClearNativeFocus() OVERRIDE;
126 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; 126 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE;
127 virtual Widget::MoveLoopResult RunMoveLoop( 127 virtual Widget::MoveLoopResult RunMoveLoop(
128 const gfx::Vector2d& drag_offset, 128 const gfx::Vector2d& drag_offset,
129 Widget::MoveLoopSource source, 129 Widget::MoveLoopSource source,
130 Widget::MoveLoopEscapeBehavior escape_behavior) OVERRIDE; 130 Widget::MoveLoopEscapeBehavior escape_behavior) OVERRIDE;
131 virtual void EndMoveLoop() OVERRIDE; 131 virtual void EndMoveLoop() OVERRIDE;
132 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; 132 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE;
133 virtual ui::NativeTheme* GetNativeTheme() const OVERRIDE; 133 virtual ui::NativeTheme* GetNativeTheme() const OVERRIDE;
134 virtual void OnRootViewLayout() OVERRIDE; 134 virtual void OnRootViewLayout() OVERRIDE;
135 virtual bool IsTranslucentWindowOpacitySupported() const OVERRIDE;
135 virtual void RepostNativeEvent(gfx::NativeEvent native_event) OVERRIDE; 136 virtual void RepostNativeEvent(gfx::NativeEvent native_event) OVERRIDE;
136 137
137 // Overridden from views::InputMethodDelegate: 138 // Overridden from views::InputMethodDelegate:
138 virtual void DispatchKeyEventPostIME(const ui::KeyEvent& key) OVERRIDE; 139 virtual void DispatchKeyEventPostIME(const ui::KeyEvent& key) OVERRIDE;
139 140
140 // Overridden from aura::WindowDelegate: 141 // Overridden from aura::WindowDelegate:
141 virtual gfx::Size GetMinimumSize() const OVERRIDE; 142 virtual gfx::Size GetMinimumSize() const OVERRIDE;
142 virtual gfx::Size GetMaximumSize() const OVERRIDE; 143 virtual gfx::Size GetMaximumSize() const OVERRIDE;
143 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, 144 virtual void OnBoundsChanged(const gfx::Rect& old_bounds,
144 const gfx::Rect& new_bounds) OVERRIDE; 145 const gfx::Rect& new_bounds) OVERRIDE;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 221
221 scoped_ptr<DropHelper> drop_helper_; 222 scoped_ptr<DropHelper> drop_helper_;
222 int last_drop_operation_; 223 int last_drop_operation_;
223 224
224 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); 225 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura);
225 }; 226 };
226 227
227 } // namespace views 228 } // namespace views
228 229
229 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 230 #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