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

Side by Side Diff: ui/views/mus/native_widget_mus.h

Issue 1565243002: Fixes bug where client area would not get set correctly (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | ui/views/mus/native_widget_mus.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_MUS_NATIVE_WIDGET_MUS_H_ 5 #ifndef UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_
6 #define UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_ 6 #define UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 void OnPlatformWindowClosed(); 77 void OnPlatformWindowClosed();
78 void OnActivationChanged(bool active); 78 void OnActivationChanged(bool active);
79 79
80 protected: 80 protected:
81 // Updates the client area in the mus::Window. 81 // Updates the client area in the mus::Window.
82 virtual void UpdateClientArea(); 82 virtual void UpdateClientArea();
83 83
84 // internal::NativeWidgetPrivate: 84 // internal::NativeWidgetPrivate:
85 NonClientFrameView* CreateNonClientFrameView() override; 85 NonClientFrameView* CreateNonClientFrameView() override;
86 void InitNativeWidget(const Widget::InitParams& params) override; 86 void InitNativeWidget(const Widget::InitParams& params) override;
87 void OnWidgetInitDone() override;
87 bool ShouldUseNativeFrame() const override; 88 bool ShouldUseNativeFrame() const override;
88 bool ShouldWindowContentsBeTransparent() const override; 89 bool ShouldWindowContentsBeTransparent() const override;
89 void FrameTypeChanged() override; 90 void FrameTypeChanged() override;
90 Widget* GetWidget() override; 91 Widget* GetWidget() override;
91 const Widget* GetWidget() const override; 92 const Widget* GetWidget() const override;
92 gfx::NativeView GetNativeView() const override; 93 gfx::NativeView GetNativeView() const override;
93 gfx::NativeWindow GetNativeWindow() const override; 94 gfx::NativeWindow GetNativeWindow() const override;
94 Widget* GetTopLevelWidget() override; 95 Widget* GetTopLevelWidget() override;
95 const ui::Compositor* GetCompositor() const override; 96 const ui::Compositor* GetCompositor() const override;
96 const ui::Layer* GetLayer() const override; 97 const ui::Layer* GetLayer() const override;
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 scoped_ptr<aura::client::DefaultCaptureClient> capture_client_; 218 scoped_ptr<aura::client::DefaultCaptureClient> capture_client_;
218 scoped_ptr<aura::client::WindowTreeClient> window_tree_client_; 219 scoped_ptr<aura::client::WindowTreeClient> window_tree_client_;
219 base::WeakPtrFactory<NativeWidgetMus> close_widget_factory_; 220 base::WeakPtrFactory<NativeWidgetMus> close_widget_factory_;
220 221
221 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMus); 222 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMus);
222 }; 223 };
223 224
224 } // namespace views 225 } // namespace views
225 226
226 #endif // UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_ 227 #endif // UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_
OLDNEW
« no previous file with comments | « no previous file | ui/views/mus/native_widget_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698