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

Unified Diff: mash/wm/non_client_frame_controller.h

Issue 1848653006: Random wm frame painting fixes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: override Created 4 years, 9 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
« no previous file with comments | « mash/wm/frame/non_client_frame_view_mash.cc ('k') | mash/wm/non_client_frame_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/non_client_frame_controller.h
diff --git a/mash/wm/non_client_frame_controller.h b/mash/wm/non_client_frame_controller.h
index c43cf736ffb631a5365744d18e5eaaa12aec06ea..c8c9da7e4ced4b4c4c30c4167bc980ec37c8bbe5 100644
--- a/mash/wm/non_client_frame_controller.h
+++ b/mash/wm/non_client_frame_controller.h
@@ -33,9 +33,9 @@ class NonClientFrameController : public views::WidgetDelegateView,
public mus::WindowObserver {
public:
// NonClientFrameController deletes itself when |window| is destroyed.
- NonClientFrameController(mojo::Connector* connector,
- mus::Window* window,
- mus::WindowManagerClient* window_manager_client);
+ static void Create(mojo::Connector* connector,
+ mus::Window* window,
+ mus::WindowManagerClient* window_manager_client);
// Returns the preferred client area insets.
static gfx::Insets GetPreferredClientAreaInsets();
@@ -47,6 +47,9 @@ class NonClientFrameController : public views::WidgetDelegateView,
mus::Window* window() { return window_; }
private:
+ NonClientFrameController(mojo::Connector* connector,
+ mus::Window* window,
+ mus::WindowManagerClient* window_manager_client);
~NonClientFrameController() override;
// views::WidgetDelegateView:
« no previous file with comments | « mash/wm/frame/non_client_frame_view_mash.cc ('k') | mash/wm/non_client_frame_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698