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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_native_widget_aura.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_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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 void SetAlwaysOnTop(bool always_on_top) override; 143 void SetAlwaysOnTop(bool always_on_top) override;
144 bool IsAlwaysOnTop() const override; 144 bool IsAlwaysOnTop() const override;
145 void SetVisibleOnAllWorkspaces(bool always_visible) override; 145 void SetVisibleOnAllWorkspaces(bool always_visible) override;
146 void Maximize() override; 146 void Maximize() override;
147 void Minimize() override; 147 void Minimize() override;
148 bool IsMaximized() const override; 148 bool IsMaximized() const override;
149 bool IsMinimized() const override; 149 bool IsMinimized() const override;
150 void Restore() override; 150 void Restore() override;
151 void SetFullscreen(bool fullscreen) override; 151 void SetFullscreen(bool fullscreen) override;
152 bool IsFullscreen() const override; 152 bool IsFullscreen() const override;
153 void SetOpacity(unsigned char opacity) override; 153 void SetOpacity(float opacity) override;
154 void FlashFrame(bool flash_frame) override; 154 void FlashFrame(bool flash_frame) override;
155 void RunShellDrag(View* view, 155 void RunShellDrag(View* view,
156 const ui::OSExchangeData& data, 156 const ui::OSExchangeData& data,
157 const gfx::Point& location, 157 const gfx::Point& location,
158 int operation, 158 int operation,
159 ui::DragDropTypes::DragEventSource source) override; 159 ui::DragDropTypes::DragEventSource source) override;
160 void SchedulePaintInRect(const gfx::Rect& rect) override; 160 void SchedulePaintInRect(const gfx::Rect& rect) override;
161 void SetCursor(gfx::NativeCursor cursor) override; 161 void SetCursor(gfx::NativeCursor cursor) override;
162 bool IsMouseEventsEnabled() const override; 162 bool IsMouseEventsEnabled() const override;
163 void ClearNativeFocus() override; 163 void ClearNativeFocus() override;
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 // The following factory is used for calls to close the NativeWidgetAura 306 // The following factory is used for calls to close the NativeWidgetAura
307 // instance. 307 // instance.
308 base::WeakPtrFactory<DesktopNativeWidgetAura> close_widget_factory_; 308 base::WeakPtrFactory<DesktopNativeWidgetAura> close_widget_factory_;
309 309
310 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); 310 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura);
311 }; 311 };
312 312
313 } // namespace views 313 } // namespace views
314 314
315 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ 315 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698