Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Side by Side Diff: components/exo/shell_surface.h

Issue 2777373002: Add set_autohide_systemui to wayland protocol (Closed)
Patch Set: Add set_autohide_systemui to wayland Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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(uint32_t autohide);
oshima 2017/03/28 23:54:47 This should also be SetSystemUiVisibility as this
yorkelee 2017/03/29 00:15:09 Done.
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698