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

Unified Diff: ui/views/cocoa/bridged_native_widget.h

Issue 927233003: MacViews: Fix positioning of top-level Widgets with parents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@20150129-MacViews-Bringup5
Patch Set: Use kWindowSizeDeterminedLater Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: ui/views/cocoa/bridged_native_widget.h
diff --git a/ui/views/cocoa/bridged_native_widget.h b/ui/views/cocoa/bridged_native_widget.h
index bb9b4063726990e4d28095ea64b493f7b17a3b2a..abb303b440e867c02a5810521eefe6925326e3c4 100644
--- a/ui/views/cocoa/bridged_native_widget.h
+++ b/ui/views/cocoa/bridged_native_widget.h
@@ -211,6 +211,7 @@ class VIEWS_EXPORT BridgedNativeWidget : public ui::LayerDelegate,
scoped_ptr<ui::InputMethod> input_method_;
scoped_ptr<CocoaMouseCapture> mouse_capture_;
FocusManager* focus_manager_; // Weak. Owned by our Widget.
+ Widget::InitParams::Type widget_type_;
BridgedNativeWidget* parent_; // Weak. If non-null, owns this.
std::vector<BridgedNativeWidget*> child_windows_;

Powered by Google App Engine
This is Rietveld 408576698