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

Side by Side Diff: ash/mus/bridge/wm_window_mus_test_api.h

Issue 2227643003: Converts mash to use the common non-client frame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@native_widget_mus_fix
Patch Set: tweaks Created 4 years, 4 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
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ASH_MUS_BRIDGE_WM_WINDOW_MUS_TEST_API_H_
6 #define ASH_MUS_BRIDGE_WM_WINDOW_MUS_TEST_API_H_
7
8 #include "ash/mus/bridge/wm_window_mus.h"
9
10 namespace ash {
11 namespace mus {
12
13 class WmWindowMusTestApi {
14 public:
15 WmWindowMusTestApi(WmWindow* window)
James Cook 2016/08/09 00:37:10 nit: explicit
sky 2016/08/09 13:16:48 Done.
16 : WmWindowMusTestApi(WmWindowMus::AsWmWindowMus(window)) {}
17 WmWindowMusTestApi(WmWindowMus* window) : window_(window) {}
James Cook 2016/08/09 00:37:10 ditto
sky 2016/08/09 13:16:48 Done.
18 ~WmWindowMusTestApi() {}
19
20 void set_use_empty_minimum_size(bool value) {
21 window_->use_empty_minimum_size_ = true;
22 }
23
24 private:
25 WmWindowMus* window_;
26
27 DISALLOW_COPY_AND_ASSIGN(WmWindowMusTestApi);
28 };
29
30 } // namespace mus
31 } // namespace ash
32
33 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_TEST_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698