| 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 COMPONENTS_EXO_SHELL_SURFACE_H_ | 5 #ifndef COMPONENTS_EXO_SHELL_SURFACE_H_ |
| 6 #define COMPONENTS_EXO_SHELL_SURFACE_H_ | 6 #define COMPONENTS_EXO_SHELL_SURFACE_H_ |
| 7 | 7 |
| 8 #include <cstdint> | 8 #include <cstdint> |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 bool IsSurfaceSynchronized() const override; | 218 bool IsSurfaceSynchronized() const override; |
| 219 | 219 |
| 220 // Overridden from SurfaceObserver: | 220 // Overridden from SurfaceObserver: |
| 221 void OnSurfaceDestroying(Surface* surface) override; | 221 void OnSurfaceDestroying(Surface* surface) override; |
| 222 | 222 |
| 223 // Overridden from views::WidgetDelegate: | 223 // Overridden from views::WidgetDelegate: |
| 224 bool CanResize() const override; | 224 bool CanResize() const override; |
| 225 bool CanMaximize() const override; | 225 bool CanMaximize() const override; |
| 226 bool CanMinimize() const override; | 226 bool CanMinimize() const override; |
| 227 base::string16 GetWindowTitle() const override; | 227 base::string16 GetWindowTitle() const override; |
| 228 void SaveWindowPlacement(const gfx::Rect& bounds, |
| 229 ui::WindowShowState show_state) override; |
| 230 bool GetSavedWindowPlacement(const views::Widget* widget, |
| 231 gfx::Rect* bounds, |
| 232 ui::WindowShowState* show_state) const override; |
| 228 void WindowClosing() override; | 233 void WindowClosing() override; |
| 229 views::Widget* GetWidget() override; | 234 views::Widget* GetWidget() override; |
| 230 const views::Widget* GetWidget() const override; | 235 const views::Widget* GetWidget() const override; |
| 231 views::View* GetContentsView() override; | 236 views::View* GetContentsView() override; |
| 232 views::NonClientFrameView* CreateNonClientFrameView( | 237 views::NonClientFrameView* CreateNonClientFrameView( |
| 233 views::Widget* widget) override; | 238 views::Widget* widget) override; |
| 234 bool WidgetHasHitTestMask() const override; | 239 bool WidgetHasHitTestMask() const override; |
| 235 void GetWidgetHitTestMask(gfx::Path* mask) const override; | 240 void GetWidgetHitTestMask(gfx::Path* mask) const override; |
| 236 | 241 |
| 237 // Overridden from views::View: | 242 // Overridden from views::View: |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 int pending_top_inset_height_ = 0; | 374 int pending_top_inset_height_ = 0; |
| 370 bool shadow_underlay_in_surface_ = true; | 375 bool shadow_underlay_in_surface_ = true; |
| 371 bool system_modal_ = false; | 376 bool system_modal_ = false; |
| 372 | 377 |
| 373 DISALLOW_COPY_AND_ASSIGN(ShellSurface); | 378 DISALLOW_COPY_AND_ASSIGN(ShellSurface); |
| 374 }; | 379 }; |
| 375 | 380 |
| 376 } // namespace exo | 381 } // namespace exo |
| 377 | 382 |
| 378 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_ | 383 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_ |
| OLD | NEW |