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

Side by Side Diff: ui/views/widget/native_widget_mac.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_aura.cc ('k') | ui/views/widget/native_widget_mac.mm » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_MAC_H_ 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_ 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/gfx/native_widget_types.h" 9 #include "ui/gfx/native_widget_types.h"
10 #include "ui/views/widget/native_widget_private.h" 10 #include "ui/views/widget/native_widget_private.h"
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 void SetAlwaysOnTop(bool always_on_top) override; 100 void SetAlwaysOnTop(bool always_on_top) override;
101 bool IsAlwaysOnTop() const override; 101 bool IsAlwaysOnTop() const override;
102 void SetVisibleOnAllWorkspaces(bool always_visible) override; 102 void SetVisibleOnAllWorkspaces(bool always_visible) override;
103 void Maximize() override; 103 void Maximize() override;
104 void Minimize() override; 104 void Minimize() override;
105 bool IsMaximized() const override; 105 bool IsMaximized() const override;
106 bool IsMinimized() const override; 106 bool IsMinimized() const override;
107 void Restore() override; 107 void Restore() override;
108 void SetFullscreen(bool fullscreen) override; 108 void SetFullscreen(bool fullscreen) override;
109 bool IsFullscreen() const override; 109 bool IsFullscreen() const override;
110 void SetOpacity(unsigned char opacity) override; 110 void SetOpacity(float opacity) override;
111 void FlashFrame(bool flash_frame) override; 111 void FlashFrame(bool flash_frame) override;
112 void RunShellDrag(View* view, 112 void RunShellDrag(View* view,
113 const ui::OSExchangeData& data, 113 const ui::OSExchangeData& data,
114 const gfx::Point& location, 114 const gfx::Point& location,
115 int operation, 115 int operation,
116 ui::DragDropTypes::DragEventSource source) override; 116 ui::DragDropTypes::DragEventSource source) override;
117 void SchedulePaintInRect(const gfx::Rect& rect) override; 117 void SchedulePaintInRect(const gfx::Rect& rect) override;
118 void SetCursor(gfx::NativeCursor cursor) override; 118 void SetCursor(gfx::NativeCursor cursor) override;
119 bool IsMouseEventsEnabled() const override; 119 bool IsMouseEventsEnabled() const override;
120 void ClearNativeFocus() override; 120 void ClearNativeFocus() override;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 154
155 // Internal name. 155 // Internal name.
156 std::string name_; 156 std::string name_;
157 157
158 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMac); 158 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMac);
159 }; 159 };
160 160
161 } // namespace views 161 } // namespace views
162 162
163 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_ 163 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_
OLDNEW
« no previous file with comments | « ui/views/widget/native_widget_aura.cc ('k') | ui/views/widget/native_widget_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698