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

Side by Side Diff: ui/views/widget/widget.h

Issue 9027020: Bypass ToplevelWindowEventFilter for panels. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 12 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 UI_VIEWS_WIDGET_WIDGET_H_ 5 #ifndef UI_VIEWS_WIDGET_WIDGET_H_
6 #define UI_VIEWS_WIDGET_WIDGET_H_ 6 #define UI_VIEWS_WIDGET_WIDGET_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <stack> 10 #include <stack>
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 WidgetDelegate* delegate; 142 WidgetDelegate* delegate;
143 bool child; 143 bool child;
144 bool transient; 144 bool transient;
145 // If true, the widget may be fully or partially transparent. If false, 145 // If true, the widget may be fully or partially transparent. If false,
146 // we can perform optimizations based on the widget being fully opaque. 146 // we can perform optimizations based on the widget being fully opaque.
147 // Defaults to false. 147 // Defaults to false.
148 bool transparent; 148 bool transparent;
149 bool accept_events; 149 bool accept_events;
150 bool can_activate; 150 bool can_activate;
151 bool keep_on_top; 151 bool keep_on_top;
152 bool is_panel;
152 Ownership ownership; 153 Ownership ownership;
153 bool mirror_origin_in_rtl; 154 bool mirror_origin_in_rtl;
154 bool has_dropshadow; 155 bool has_dropshadow;
155 // Whether the widget should be maximized or minimized. 156 // Whether the widget should be maximized or minimized.
156 ui::WindowShowState show_state; 157 ui::WindowShowState show_state;
157 // Should the widget be double buffered? Default is false. 158 // Should the widget be double buffered? Default is false.
158 bool double_buffer; 159 bool double_buffer;
159 gfx::NativeView parent; 160 gfx::NativeView parent;
160 Widget* parent_widget; 161 Widget* parent_widget;
161 // Specifies the initial bounds of the Widget. Default is empty, which means 162 // Specifies the initial bounds of the Widget. Default is empty, which means
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 // duplicate move events even though the mouse hasn't moved. 727 // duplicate move events even though the mouse hasn't moved.
727 bool last_mouse_event_was_move_; 728 bool last_mouse_event_was_move_;
728 gfx::Point last_mouse_event_position_; 729 gfx::Point last_mouse_event_position_;
729 730
730 DISALLOW_COPY_AND_ASSIGN(Widget); 731 DISALLOW_COPY_AND_ASSIGN(Widget);
731 }; 732 };
732 733
733 } // namespace views 734 } // namespace views
734 735
735 #endif // UI_VIEWS_WIDGET_WIDGET_H_ 736 #endif // UI_VIEWS_WIDGET_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698