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

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

Issue 2889523003: Add kApplicationIdKey for ShellSurface::GetApplicationId and SetApplicationId (Closed)
Patch Set: Fix shell_surface_unittest. Created 3 years, 7 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 142
143 // Set title for surface. 143 // Set title for surface.
144 void SetTitle(const base::string16& title); 144 void SetTitle(const base::string16& title);
145 145
146 // Sets the system modality. 146 // Sets the system modality.
147 void SetSystemModal(bool system_modal); 147 void SetSystemModal(bool system_modal);
148 148
149 // Sets the application ID for the window. The application ID identifies the 149 // Sets the application ID for the window. The application ID identifies the
150 // general class of applications to which the window belongs. 150 // general class of applications to which the window belongs.
151 static void SetApplicationId(aura::Window* window, const std::string& id); 151 static void SetApplicationId(aura::Window* window, const std::string& id);
152 static const std::string GetApplicationId(aura::Window* window); 152 static const std::string* GetApplicationId(aura::Window* window);
153 153
154 // Set the application ID for the surface. 154 // Set the application ID for the surface.
155 void SetApplicationId(const std::string& application_id); 155 void SetApplicationId(const std::string& application_id);
156 156
157 // Start an interactive move of surface. 157 // Start an interactive move of surface.
158 void Move(); 158 void Move();
159 159
160 // Start an interactive resize of surface. |component| is one of the windows 160 // Start an interactive resize of surface. |component| is one of the windows
161 // HT constants (see ui/base/hit_test.h) and describes in what direction the 161 // HT constants (see ui/base/hit_test.h) and describes in what direction the
162 // surface should be resized. 162 // surface should be resized.
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 bool shadow_underlay_in_surface_ = true; 373 bool shadow_underlay_in_surface_ = true;
374 bool pending_shadow_underlay_in_surface_ = true; 374 bool pending_shadow_underlay_in_surface_ = true;
375 bool system_modal_ = false; 375 bool system_modal_ = false;
376 376
377 DISALLOW_COPY_AND_ASSIGN(ShellSurface); 377 DISALLOW_COPY_AND_ASSIGN(ShellSurface);
378 }; 378 };
379 379
380 } // namespace exo 380 } // namespace exo
381 381
382 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_ 382 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc ('k') | components/exo/shell_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698