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

Side by Side Diff: ui/views/mus/native_widget_mus.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 | « chrome/browser/ui/views/status_bubble_views.cc ('k') | ui/views/mus/native_widget_mus.cc » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_MUS_NATIVE_WIDGET_MUS_H_ 5 #ifndef UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_
6 #define UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_ 6 #define UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 void SetAlwaysOnTop(bool always_on_top) override; 153 void SetAlwaysOnTop(bool always_on_top) override;
154 bool IsAlwaysOnTop() const override; 154 bool IsAlwaysOnTop() const override;
155 void SetVisibleOnAllWorkspaces(bool always_visible) override; 155 void SetVisibleOnAllWorkspaces(bool always_visible) override;
156 void Maximize() override; 156 void Maximize() override;
157 void Minimize() override; 157 void Minimize() override;
158 bool IsMaximized() const override; 158 bool IsMaximized() const override;
159 bool IsMinimized() const override; 159 bool IsMinimized() const override;
160 void Restore() override; 160 void Restore() override;
161 void SetFullscreen(bool fullscreen) override; 161 void SetFullscreen(bool fullscreen) override;
162 bool IsFullscreen() const override; 162 bool IsFullscreen() const override;
163 void SetOpacity(unsigned char opacity) override; 163 void SetOpacity(float opacity) override;
164 void FlashFrame(bool flash_frame) override; 164 void FlashFrame(bool flash_frame) override;
165 void RunShellDrag(View* view, 165 void RunShellDrag(View* view,
166 const ui::OSExchangeData& data, 166 const ui::OSExchangeData& data,
167 const gfx::Point& location, 167 const gfx::Point& location,
168 int operation, 168 int operation,
169 ui::DragDropTypes::DragEventSource source) override; 169 ui::DragDropTypes::DragEventSource source) override;
170 void SchedulePaintInRect(const gfx::Rect& rect) override; 170 void SchedulePaintInRect(const gfx::Rect& rect) override;
171 void SetCursor(gfx::NativeCursor cursor) override; 171 void SetCursor(gfx::NativeCursor cursor) override;
172 bool IsMouseEventsEnabled() const override; 172 bool IsMouseEventsEnabled() const override;
173 void ClearNativeFocus() override; 173 void ClearNativeFocus() override;
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 std::unique_ptr<aura::client::ScreenPositionClient> screen_position_client_; 269 std::unique_ptr<aura::client::ScreenPositionClient> screen_position_client_;
270 std::unique_ptr<wm::CursorManager> cursor_manager_; 270 std::unique_ptr<wm::CursorManager> cursor_manager_;
271 base::WeakPtrFactory<NativeWidgetMus> close_widget_factory_; 271 base::WeakPtrFactory<NativeWidgetMus> close_widget_factory_;
272 272
273 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMus); 273 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMus);
274 }; 274 };
275 275
276 } // namespace views 276 } // namespace views
277 277
278 #endif // UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_ 278 #endif // UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/status_bubble_views.cc ('k') | ui/views/mus/native_widget_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698