| 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 | 123 |
| 124 // Restore the shell surface. | 124 // Restore the shell surface. |
| 125 void Restore(); | 125 void Restore(); |
| 126 | 126 |
| 127 // Set fullscreen state for shell surface. | 127 // Set fullscreen state for shell surface. |
| 128 void SetFullscreen(bool fullscreen); | 128 void SetFullscreen(bool fullscreen); |
| 129 | 129 |
| 130 // Pins the shell surface. |trusted| flag is ignored when |pinned| is false. | 130 // Pins the shell surface. |trusted| flag is ignored when |pinned| is false. |
| 131 void SetPinned(bool pinned, bool trusted); | 131 void SetPinned(bool pinned, bool trusted); |
| 132 | 132 |
| 133 // Sets whether or not the shell surface should autohide the system UI. |
| 134 void SetSystemUiVisibility(bool autohide); |
| 135 |
| 133 // Set title for surface. | 136 // Set title for surface. |
| 134 void SetTitle(const base::string16& title); | 137 void SetTitle(const base::string16& title); |
| 135 | 138 |
| 136 // Sets the system modality. | 139 // Sets the system modality. |
| 137 void SetSystemModal(bool system_modal); | 140 void SetSystemModal(bool system_modal); |
| 138 | 141 |
| 139 // Sets the application ID for the window. The application ID identifies the | 142 // Sets the application ID for the window. The application ID identifies the |
| 140 // general class of applications to which the window belongs. | 143 // general class of applications to which the window belongs. |
| 141 static void SetApplicationId(aura::Window* window, const std::string& id); | 144 static void SetApplicationId(aura::Window* window, const std::string& id); |
| 142 static const std::string GetApplicationId(aura::Window* window); | 145 static const std::string GetApplicationId(aura::Window* window); |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 351 int pending_top_inset_height_ = 0; | 354 int pending_top_inset_height_ = 0; |
| 352 bool shadow_underlay_in_surface_ = true; | 355 bool shadow_underlay_in_surface_ = true; |
| 353 bool system_modal_ = false; | 356 bool system_modal_ = false; |
| 354 | 357 |
| 355 DISALLOW_COPY_AND_ASSIGN(ShellSurface); | 358 DISALLOW_COPY_AND_ASSIGN(ShellSurface); |
| 356 }; | 359 }; |
| 357 | 360 |
| 358 } // namespace exo | 361 } // namespace exo |
| 359 | 362 |
| 360 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_ | 363 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_ |
| OLD | NEW |