| 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 <deque> | 8 #include <deque> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 bool IsSurfaceSynchronized() const override; | 213 bool IsSurfaceSynchronized() const override; |
| 214 | 214 |
| 215 // Overridden from SurfaceObserver: | 215 // Overridden from SurfaceObserver: |
| 216 void OnSurfaceDestroying(Surface* surface) override; | 216 void OnSurfaceDestroying(Surface* surface) override; |
| 217 | 217 |
| 218 // Overridden from views::WidgetDelegate: | 218 // Overridden from views::WidgetDelegate: |
| 219 bool CanResize() const override; | 219 bool CanResize() const override; |
| 220 bool CanMaximize() const override; | 220 bool CanMaximize() const override; |
| 221 bool CanMinimize() const override; | 221 bool CanMinimize() const override; |
| 222 base::string16 GetWindowTitle() const override; | 222 base::string16 GetWindowTitle() const override; |
| 223 void SaveWindowPlacement(const gfx::Rect& bounds, |
| 224 ui::WindowShowState show_state) override; |
| 225 bool GetSavedWindowPlacement(const views::Widget* widget, |
| 226 gfx::Rect* bounds, |
| 227 ui::WindowShowState* show_state) const override; |
| 223 void WindowClosing() override; | 228 void WindowClosing() override; |
| 224 views::Widget* GetWidget() override; | 229 views::Widget* GetWidget() override; |
| 225 const views::Widget* GetWidget() const override; | 230 const views::Widget* GetWidget() const override; |
| 226 views::View* GetContentsView() override; | 231 views::View* GetContentsView() override; |
| 227 views::NonClientFrameView* CreateNonClientFrameView( | 232 views::NonClientFrameView* CreateNonClientFrameView( |
| 228 views::Widget* widget) override; | 233 views::Widget* widget) override; |
| 229 bool WidgetHasHitTestMask() const override; | 234 bool WidgetHasHitTestMask() const override; |
| 230 void GetWidgetHitTestMask(gfx::Path* mask) const override; | 235 void GetWidgetHitTestMask(gfx::Path* mask) const override; |
| 231 | 236 |
| 232 // Overridden from views::View: | 237 // Overridden from views::View: |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 int pending_top_inset_height_ = 0; | 359 int pending_top_inset_height_ = 0; |
| 355 bool shadow_underlay_in_surface_ = true; | 360 bool shadow_underlay_in_surface_ = true; |
| 356 bool system_modal_ = false; | 361 bool system_modal_ = false; |
| 357 | 362 |
| 358 DISALLOW_COPY_AND_ASSIGN(ShellSurface); | 363 DISALLOW_COPY_AND_ASSIGN(ShellSurface); |
| 359 }; | 364 }; |
| 360 | 365 |
| 361 } // namespace exo | 366 } // namespace exo |
| 362 | 367 |
| 363 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_ | 368 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_ |
| OLD | NEW |