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

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

Issue 14241013: Fix uninitialized data member in Widget::InitParams. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "ui/views/widget/widget.h" 5 #include "ui/views/widget/widget.h"
6 6
7 #include "base/debug/trace_event.h" 7 #include "base/debug/trace_event.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 transparent(type == TYPE_WINDOW && 163 transparent(type == TYPE_WINDOW &&
164 ViewsDelegate::views_delegate && 164 ViewsDelegate::views_delegate &&
165 ViewsDelegate::views_delegate->UseTransparentWindows()), 165 ViewsDelegate::views_delegate->UseTransparentWindows()),
166 accept_events(true), 166 accept_events(true),
167 can_activate(type != TYPE_POPUP && type != TYPE_MENU), 167 can_activate(type != TYPE_POPUP && type != TYPE_MENU),
168 keep_on_top(type == TYPE_MENU), 168 keep_on_top(type == TYPE_MENU),
169 ownership(NATIVE_WIDGET_OWNS_WIDGET), 169 ownership(NATIVE_WIDGET_OWNS_WIDGET),
170 mirror_origin_in_rtl(false), 170 mirror_origin_in_rtl(false),
171 has_dropshadow(false), 171 has_dropshadow(false),
172 remove_standard_frame(false), 172 remove_standard_frame(false),
173 use_system_default_icon(false),
173 show_state(ui::SHOW_STATE_DEFAULT), 174 show_state(ui::SHOW_STATE_DEFAULT),
174 double_buffer(false), 175 double_buffer(false),
175 parent(NULL), 176 parent(NULL),
176 native_widget(NULL), 177 native_widget(NULL),
177 desktop_root_window_host(NULL), 178 desktop_root_window_host(NULL),
178 top_level(false), 179 top_level(false),
179 layer_type(ui::LAYER_TEXTURED), 180 layer_type(ui::LAYER_TEXTURED),
180 context(NULL) { 181 context(NULL) {
181 } 182 }
182 183
(...skipping 1219 matching lines...) Expand 10 before | Expand all | Expand 10 after
1402 1403
1403 //////////////////////////////////////////////////////////////////////////////// 1404 ////////////////////////////////////////////////////////////////////////////////
1404 // internal::NativeWidgetPrivate, NativeWidget implementation: 1405 // internal::NativeWidgetPrivate, NativeWidget implementation:
1405 1406
1406 internal::NativeWidgetPrivate* NativeWidgetPrivate::AsNativeWidgetPrivate() { 1407 internal::NativeWidgetPrivate* NativeWidgetPrivate::AsNativeWidgetPrivate() {
1407 return this; 1408 return this;
1408 } 1409 }
1409 1410
1410 } // namespace internal 1411 } // namespace internal
1411 } // namespace views 1412 } // namespace views
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698