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

Side by Side Diff: chrome/browser/ui/extensions/shell_window.h

Issue 10986092: Transparent apps support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_ 5 #ifndef CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_
6 #define CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_ 6 #define CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "chrome/browser/extensions/extension_function_dispatcher.h" 9 #include "chrome/browser/extensions/extension_function_dispatcher.h"
10 #include "chrome/browser/extensions/extension_keybinding_registry.h" 10 #include "chrome/browser/extensions/extension_keybinding_registry.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 FRAME_CHROME, // Chrome-style window frame. 53 FRAME_CHROME, // Chrome-style window frame.
54 FRAME_NONE, // Frameless window. 54 FRAME_NONE, // Frameless window.
55 }; 55 };
56 56
57 struct CreateParams { 57 struct CreateParams {
58 CreateParams(); 58 CreateParams();
59 ~CreateParams(); 59 ~CreateParams();
60 60
61 WindowType window_type; 61 WindowType window_type;
62 Frame frame; 62 Frame frame;
63 bool transparent_background; // Only supported on ash.
63 64
64 // Specify the initial content bounds of the window (excluding any window 65 // Specify the initial content bounds of the window (excluding any window
65 // decorations). INT_MIN designates 'unspecified' for the position 66 // decorations). INT_MIN designates 'unspecified' for the position
66 // components, and 0 for the size components. When unspecified, they should 67 // components, and 0 for the size components. When unspecified, they should
67 // be replaced with a default value. 68 // be replaced with a default value.
68 gfx::Rect bounds; 69 gfx::Rect bounds;
69 70
70 gfx::Size minimum_size; 71 gfx::Size minimum_size;
71 gfx::Size maximum_size; 72 gfx::Size maximum_size;
72 73
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 GURL app_icon_url_; 247 GURL app_icon_url_;
247 248
248 scoped_ptr<NativeAppWindow> native_app_window_; 249 scoped_ptr<NativeAppWindow> native_app_window_;
249 250
250 base::WeakPtrFactory<ShellWindow> weak_ptr_factory_; 251 base::WeakPtrFactory<ShellWindow> weak_ptr_factory_;
251 252
252 DISALLOW_COPY_AND_ASSIGN(ShellWindow); 253 DISALLOW_COPY_AND_ASSIGN(ShellWindow);
253 }; 254 };
254 255
255 #endif // CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_ 256 #endif // CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/app_window/app_window_api.cc ('k') | chrome/browser/ui/extensions/shell_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698