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

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

Issue 8524020: Fix sad tab in native_widget_views (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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
« no previous file with comments | « no previous file | views/widget/native_widget_views.cc » ('j') | views/widget/native_widget_views.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_
6 #define VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ 6 #define VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 10
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 internal::NativeWidgetPrivate* GetParentNativeWidget(); 151 internal::NativeWidgetPrivate* GetParentNativeWidget();
152 const internal::NativeWidgetPrivate* GetParentNativeWidget() const; 152 const internal::NativeWidgetPrivate* GetParentNativeWidget() const;
153 153
154 bool HandleWindowOperation(const MouseEvent& event); 154 bool HandleWindowOperation(const MouseEvent& event);
155 155
156 internal::NativeWidgetDelegate* delegate_; 156 internal::NativeWidgetDelegate* delegate_;
157 157
158 // Parent Widget (can be NULL). 158 // Parent Widget (can be NULL).
159 Widget* parent_; 159 Widget* parent_;
160 160
161 bool bounds_relative_to_parent_;
162
161 internal::NativeWidgetView* view_; 163 internal::NativeWidgetView* view_;
162 164
163 bool active_; 165 bool active_;
164 166
165 ui::WindowShowState window_state_; 167 ui::WindowShowState window_state_;
166 168
167 // Set when SetAlwaysOnTop is called, or keep_on_top is set during creation. 169 // Set when SetAlwaysOnTop is called, or keep_on_top is set during creation.
168 bool always_on_top_; 170 bool always_on_top_;
169 171
170 // The following factory is used for calls to close the NativeWidgetViews 172 // The following factory is used for calls to close the NativeWidgetViews
(...skipping 10 matching lines...) Expand all
181 183
182 // Map used by Set/GetNativeWindowProperty. 184 // Map used by Set/GetNativeWindowProperty.
183 PropsMap props_map_; 185 PropsMap props_map_;
184 186
185 DISALLOW_COPY_AND_ASSIGN(NativeWidgetViews); 187 DISALLOW_COPY_AND_ASSIGN(NativeWidgetViews);
186 }; 188 };
187 189
188 } // namespace views 190 } // namespace views
189 191
190 #endif // VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ 192 #endif // VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_
OLDNEW
« no previous file with comments | « no previous file | views/widget/native_widget_views.cc » ('j') | views/widget/native_widget_views.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698