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

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

Issue 2285633002: Add WM_EVENT_TRUSTED_PIN and WINDOW_STATE_TYPE_TRUSTED_PINNED to Ash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 4 years, 3 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
« no previous file with comments | « ash/wm/workspace/workspace_layout_manager_unittest.cc ('k') | components/exo/shell_surface.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <deque> 8 #include <deque>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 105
106 // Minimize the shell surface. 106 // Minimize the shell surface.
107 void Minimize(); 107 void Minimize();
108 108
109 // Restore the shell surface. 109 // Restore the shell surface.
110 void Restore(); 110 void Restore();
111 111
112 // Set fullscreen state for shell surface. 112 // Set fullscreen state for shell surface.
113 void SetFullscreen(bool fullscreen); 113 void SetFullscreen(bool fullscreen);
114 114
115 // Pins the shell surface. 115 // Pins the shell surface. |trusted| flag is ignored when |pinned| is false.
116 void SetPinned(bool pinned); 116 void SetPinned(bool pinned, bool trusted);
117 117
118 // Set title for surface. 118 // Set title for surface.
119 void SetTitle(const base::string16& title); 119 void SetTitle(const base::string16& title);
120 120
121 // Sets the system modality. 121 // Sets the system modality.
122 void SetSystemModal(bool system_modal); 122 void SetSystemModal(bool system_modal);
123 123
124 // Sets the application ID for the window. The application ID identifies the 124 // Sets the application ID for the window. The application ID identifies the
125 // general class of applications to which the window belongs. 125 // general class of applications to which the window belongs.
126 static void SetApplicationId(aura::Window* window, 126 static void SetApplicationId(aura::Window* window,
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 int top_inset_height_ = 0; 298 int top_inset_height_ = 0;
299 int pending_top_inset_height_ = 0; 299 int pending_top_inset_height_ = 0;
300 float rectangular_shadow_background_opacity_ = 1.0; 300 float rectangular_shadow_background_opacity_ = 1.0;
301 301
302 DISALLOW_COPY_AND_ASSIGN(ShellSurface); 302 DISALLOW_COPY_AND_ASSIGN(ShellSurface);
303 }; 303 };
304 304
305 } // namespace exo 305 } // namespace exo
306 306
307 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_ 307 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_
OLDNEW
« no previous file with comments | « ash/wm/workspace/workspace_layout_manager_unittest.cc ('k') | components/exo/shell_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698