| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 | 125 |
| 126 // Restore the shell surface. | 126 // Restore the shell surface. |
| 127 void Restore(); | 127 void Restore(); |
| 128 | 128 |
| 129 // Set fullscreen state for shell surface. | 129 // Set fullscreen state for shell surface. |
| 130 void SetFullscreen(bool fullscreen); | 130 void SetFullscreen(bool fullscreen); |
| 131 | 131 |
| 132 // Pins the shell surface. |trusted| flag is ignored when |pinned| is false. | 132 // Pins the shell surface. |trusted| flag is ignored when |pinned| is false. |
| 133 void SetPinned(bool pinned, bool trusted); | 133 void SetPinned(bool pinned, bool trusted); |
| 134 | 134 |
| 135 // Sets whether or not the shell surface should autohide the shelf. |
| 136 void SetAutohideShelf(bool autohide); |
| 137 |
| 135 // Set title for surface. | 138 // Set title for surface. |
| 136 void SetTitle(const base::string16& title); | 139 void SetTitle(const base::string16& title); |
| 137 | 140 |
| 138 // Sets the system modality. | 141 // Sets the system modality. |
| 139 void SetSystemModal(bool system_modal); | 142 void SetSystemModal(bool system_modal); |
| 140 | 143 |
| 141 // Sets the application ID for the window. The application ID identifies the | 144 // Sets the application ID for the window. The application ID identifies the |
| 142 // general class of applications to which the window belongs. | 145 // general class of applications to which the window belongs. |
| 143 static void SetApplicationId(aura::Window* window, const std::string& id); | 146 static void SetApplicationId(aura::Window* window, const std::string& id); |
| 144 static const std::string GetApplicationId(aura::Window* window); | 147 static const std::string GetApplicationId(aura::Window* window); |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 int pending_top_inset_height_ = 0; | 366 int pending_top_inset_height_ = 0; |
| 364 bool shadow_underlay_in_surface_ = true; | 367 bool shadow_underlay_in_surface_ = true; |
| 365 bool system_modal_ = false; | 368 bool system_modal_ = false; |
| 366 | 369 |
| 367 DISALLOW_COPY_AND_ASSIGN(ShellSurface); | 370 DISALLOW_COPY_AND_ASSIGN(ShellSurface); |
| 368 }; | 371 }; |
| 369 | 372 |
| 370 } // namespace exo | 373 } // namespace exo |
| 371 | 374 |
| 372 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_ | 375 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_ |
| OLD | NEW |