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

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

Issue 375183002: Add app.window.alphaEnabled() and onAlphaEnabledChanged. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: x11 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_PRIVATE_H_ 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_
7 7
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "ui/base/ui_base_types.h" 9 #include "ui/base/ui_base_types.h"
10 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 virtual void ClearNativeFocus() = 0; 220 virtual void ClearNativeFocus() = 0;
221 virtual gfx::Rect GetWorkAreaBoundsInScreen() const = 0; 221 virtual gfx::Rect GetWorkAreaBoundsInScreen() const = 0;
222 virtual Widget::MoveLoopResult RunMoveLoop( 222 virtual Widget::MoveLoopResult RunMoveLoop(
223 const gfx::Vector2d& drag_offset, 223 const gfx::Vector2d& drag_offset,
224 Widget::MoveLoopSource source, 224 Widget::MoveLoopSource source,
225 Widget::MoveLoopEscapeBehavior escape_behavior) = 0; 225 Widget::MoveLoopEscapeBehavior escape_behavior) = 0;
226 virtual void EndMoveLoop() = 0; 226 virtual void EndMoveLoop() = 0;
227 virtual void SetVisibilityChangedAnimationsEnabled(bool value) = 0; 227 virtual void SetVisibilityChangedAnimationsEnabled(bool value) = 0;
228 virtual ui::NativeTheme* GetNativeTheme() const = 0; 228 virtual ui::NativeTheme* GetNativeTheme() const = 0;
229 virtual void OnRootViewLayout() const = 0; 229 virtual void OnRootViewLayout() const = 0;
230 virtual bool IsTranslucentWindowOpacitySupported() const = 0;
230 231
231 // Repost an unhandled event to the native widget for default OS processing. 232 // Repost an unhandled event to the native widget for default OS processing.
232 virtual void RepostNativeEvent(gfx::NativeEvent native_event) = 0; 233 virtual void RepostNativeEvent(gfx::NativeEvent native_event) = 0;
233 234
234 // Overridden from NativeWidget: 235 // Overridden from NativeWidget:
235 virtual internal::NativeWidgetPrivate* AsNativeWidgetPrivate() OVERRIDE; 236 virtual internal::NativeWidgetPrivate* AsNativeWidgetPrivate() OVERRIDE;
236 }; 237 };
237 238
238 } // namespace internal 239 } // namespace internal
239 } // namespace views 240 } // namespace views
240 241
241 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ 242 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698