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

Side by Side Diff: extensions/browser/app_window/native_app_window.h

Issue 866893003: Enable visibleOnAllWorkspaces on stable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 EXTENSIONS_BROWSER_APP_WINDOW_NATIVE_APP_WINDOW_H_ 5 #ifndef EXTENSIONS_BROWSER_APP_WINDOW_NATIVE_APP_WINDOW_H_
6 #define EXTENSIONS_BROWSER_APP_WINDOW_NATIVE_APP_WINDOW_H_ 6 #define EXTENSIONS_BROWSER_APP_WINDOW_NATIVE_APP_WINDOW_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 // Returns the minimum size constraints of the content. 89 // Returns the minimum size constraints of the content.
90 virtual gfx::Size GetContentMinimumSize() const = 0; 90 virtual gfx::Size GetContentMinimumSize() const = 0;
91 91
92 // Returns the maximum size constraints of the content. 92 // Returns the maximum size constraints of the content.
93 virtual gfx::Size GetContentMaximumSize() const = 0; 93 virtual gfx::Size GetContentMaximumSize() const = 0;
94 94
95 // Updates the minimum and maximum size constraints of the content. 95 // Updates the minimum and maximum size constraints of the content.
96 virtual void SetContentSizeConstraints(const gfx::Size& min_size, 96 virtual void SetContentSizeConstraints(const gfx::Size& min_size,
97 const gfx::Size& max_size) = 0; 97 const gfx::Size& max_size) = 0;
98 98
99 // Returns whether the window show be visible on all workspaces. 99 // Sets whether the window should be visible on all workspaces.
100 virtual void SetVisibleOnAllWorkspaces(bool always_visible) = 0; 100 virtual void SetVisibleOnAllWorkspaces(bool always_visible) = 0;
101 101
102 // Returns false if the underlying native window ignores alpha transparency 102 // Returns false if the underlying native window ignores alpha transparency
103 // when compositing. 103 // when compositing.
104 virtual bool CanHaveAlphaEnabled() const = 0; 104 virtual bool CanHaveAlphaEnabled() const = 0;
105 105
106 ~NativeAppWindow() override {} 106 ~NativeAppWindow() override {}
107 }; 107 };
108 108
109 } // namespace extensions 109 } // namespace extensions
110 110
111 #endif // EXTENSIONS_BROWSER_APP_WINDOW_NATIVE_APP_WINDOW_H_ 111 #endif // EXTENSIONS_BROWSER_APP_WINDOW_NATIVE_APP_WINDOW_H_
OLDNEW
« no previous file with comments | « extensions/browser/api/app_window/app_window_api.cc ('k') | extensions/common/api/_api_features.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698