| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |