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

Side by Side Diff: ui/views/widget/native_widget_private.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
« no previous file with comments | « ui/views/widget/native_widget_mac_unittest.mm ('k') | ui/views/widget/widget.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <string> 8 #include <string>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 virtual void SetAlwaysOnTop(bool always_on_top) = 0; 193 virtual void SetAlwaysOnTop(bool always_on_top) = 0;
194 virtual bool IsAlwaysOnTop() const = 0; 194 virtual bool IsAlwaysOnTop() const = 0;
195 virtual void SetVisibleOnAllWorkspaces(bool always_visible) = 0; 195 virtual void SetVisibleOnAllWorkspaces(bool always_visible) = 0;
196 virtual void Maximize() = 0; 196 virtual void Maximize() = 0;
197 virtual void Minimize() = 0; 197 virtual void Minimize() = 0;
198 virtual bool IsMaximized() const = 0; 198 virtual bool IsMaximized() const = 0;
199 virtual bool IsMinimized() const = 0; 199 virtual bool IsMinimized() const = 0;
200 virtual void Restore() = 0; 200 virtual void Restore() = 0;
201 virtual void SetFullscreen(bool fullscreen) = 0; 201 virtual void SetFullscreen(bool fullscreen) = 0;
202 virtual bool IsFullscreen() const = 0; 202 virtual bool IsFullscreen() const = 0;
203 virtual void SetOpacity(unsigned char opacity) = 0; 203 virtual void SetOpacity(float opacity) = 0;
204 virtual void FlashFrame(bool flash) = 0; 204 virtual void FlashFrame(bool flash) = 0;
205 virtual void RunShellDrag(View* view, 205 virtual void RunShellDrag(View* view,
206 const ui::OSExchangeData& data, 206 const ui::OSExchangeData& data,
207 const gfx::Point& location, 207 const gfx::Point& location,
208 int operation, 208 int operation,
209 ui::DragDropTypes::DragEventSource source) = 0; 209 ui::DragDropTypes::DragEventSource source) = 0;
210 virtual void SchedulePaintInRect(const gfx::Rect& rect) = 0; 210 virtual void SchedulePaintInRect(const gfx::Rect& rect) = 0;
211 virtual void SetCursor(gfx::NativeCursor cursor) = 0; 211 virtual void SetCursor(gfx::NativeCursor cursor) = 0;
212 virtual bool IsMouseEventsEnabled() const = 0; 212 virtual bool IsMouseEventsEnabled() const = 0;
213 virtual void ClearNativeFocus() = 0; 213 virtual void ClearNativeFocus() = 0;
(...skipping 20 matching lines...) Expand all
234 virtual std::string GetName() const = 0; 234 virtual std::string GetName() const = 0;
235 235
236 // Overridden from NativeWidget: 236 // Overridden from NativeWidget:
237 internal::NativeWidgetPrivate* AsNativeWidgetPrivate() override; 237 internal::NativeWidgetPrivate* AsNativeWidgetPrivate() override;
238 }; 238 };
239 239
240 } // namespace internal 240 } // namespace internal
241 } // namespace views 241 } // namespace views
242 242
243 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ 243 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_
OLDNEW
« no previous file with comments | « ui/views/widget/native_widget_mac_unittest.mm ('k') | ui/views/widget/widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698