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

Side by Side Diff: apps/ui/views/native_app_window_views.h

Issue 190533006: Add support for transparent background API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Wrap Missing Permission string in #ifdef AURA Created 6 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 | Annotate | Revision Log
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 APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_ 5 #ifndef APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_
6 #define APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_ 6 #define APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_
7 7
8 #include "apps/size_constraints.h" 8 #include "apps/size_constraints.h"
9 #include "apps/ui/native_app_window.h" 9 #include "apps/ui/native_app_window.h"
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 // Informs modal dialogs that they need to update their positions. 170 // Informs modal dialogs that they need to update their positions.
171 void OnViewWasResized(); 171 void OnViewWasResized();
172 172
173 AppWindow* app_window_; // Not owned. 173 AppWindow* app_window_; // Not owned.
174 views::WebView* web_view_; 174 views::WebView* web_view_;
175 views::Widget* widget_; 175 views::Widget* widget_;
176 176
177 scoped_ptr<SkRegion> draggable_region_; 177 scoped_ptr<SkRegion> draggable_region_;
178 178
179 bool frameless_; 179 bool frameless_;
180 bool transparent_background_; 180 bool alpha_enabled_;
181 bool resizable_; 181 bool resizable_;
182 apps::SizeConstraints size_constraints_; 182 apps::SizeConstraints size_constraints_;
183 183
184 views::UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; 184 views::UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_;
185 185
186 ObserverList<web_modal::ModalDialogHostObserver> observer_list_; 186 ObserverList<web_modal::ModalDialogHostObserver> observer_list_;
187 187
188 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowViews); 188 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowViews);
189 }; 189 };
190 190
191 } // namespace apps 191 } // namespace apps
192 192
193 #endif // APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_ 193 #endif // APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698