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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_win.h

Issue 2009333002: Converts Widget::SetOpacity from char to float (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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_WINDOW_TREE_HOST_WIN_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/aura/window_tree_host.h" 9 #include "ui/aura/window_tree_host.h"
10 #include "ui/views/views_export.h" 10 #include "ui/views/views_export.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 const gfx::Vector2d& drag_offset, 87 const gfx::Vector2d& drag_offset,
88 Widget::MoveLoopSource source, 88 Widget::MoveLoopSource source,
89 Widget::MoveLoopEscapeBehavior escape_behavior) override; 89 Widget::MoveLoopEscapeBehavior escape_behavior) override;
90 void EndMoveLoop() override; 90 void EndMoveLoop() override;
91 void SetVisibilityChangedAnimationsEnabled(bool value) override; 91 void SetVisibilityChangedAnimationsEnabled(bool value) override;
92 bool ShouldUseNativeFrame() const override; 92 bool ShouldUseNativeFrame() const override;
93 bool ShouldWindowContentsBeTransparent() const override; 93 bool ShouldWindowContentsBeTransparent() const override;
94 void FrameTypeChanged() override; 94 void FrameTypeChanged() override;
95 void SetFullscreen(bool fullscreen) override; 95 void SetFullscreen(bool fullscreen) override;
96 bool IsFullscreen() const override; 96 bool IsFullscreen() const override;
97 void SetOpacity(unsigned char opacity) override; 97 void SetOpacity(float opacity) override;
98 void SetWindowIcons(const gfx::ImageSkia& window_icon, 98 void SetWindowIcons(const gfx::ImageSkia& window_icon,
99 const gfx::ImageSkia& app_icon) override; 99 const gfx::ImageSkia& app_icon) override;
100 void InitModalType(ui::ModalType modal_type) override; 100 void InitModalType(ui::ModalType modal_type) override;
101 void FlashFrame(bool flash_frame) override; 101 void FlashFrame(bool flash_frame) override;
102 void OnRootViewLayout() override; 102 void OnRootViewLayout() override;
103 void OnNativeWidgetFocus() override; 103 void OnNativeWidgetFocus() override;
104 void OnNativeWidgetBlur() override; 104 void OnNativeWidgetBlur() override;
105 bool IsAnimatingClosed() const override; 105 bool IsAnimatingClosed() const override;
106 bool IsTranslucentWindowOpacitySupported() const override; 106 bool IsTranslucentWindowOpacitySupported() const override;
107 void SizeConstraintsChanged() override; 107 void SizeConstraintsChanged() override;
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 // Indicates if current window will receive mouse events when should not 265 // Indicates if current window will receive mouse events when should not
266 // become activated. 266 // become activated.
267 bool wants_mouse_events_when_inactive_ = false; 267 bool wants_mouse_events_when_inactive_ = false;
268 268
269 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); 269 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin);
270 }; 270 };
271 271
272 } // namespace views 272 } // namespace views
273 273
274 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 274 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_window_tree_host.h ('k') | ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698