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

Unified Diff: mash/wm/non_client_frame_controller.h

Issue 1459653002: Gets mustash frames looking like that of ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update test Created 5 years, 1 month 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/move_loop_unittest.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 dfedd0786c610558ef55545500b0f672b7ecbf2a..5e5918c72e74d7d80a76dee321f32cd3eeab8dee 100644
--- a/mash/wm/non_client_frame_controller.h
+++ b/mash/wm/non_client_frame_controller.h
@@ -9,6 +9,10 @@
#include "components/mus/public/cpp/window_observer.h"
#include "ui/views/widget/widget_delegate.h"
+namespace gfx {
+class Insets;
+}
+
namespace mojo {
class Shell;
}
@@ -24,6 +28,9 @@ class NonClientFrameController : public views::WidgetDelegateView,
// NonClientFrameController deletes itself when |window| is destroyed.
NonClientFrameController(mojo::Shell* shell, mus::Window* window);
+ // Returns the preferred client area insets.
+ static gfx::Insets GetPreferredClientAreaInsets();
+
private:
~NonClientFrameController() override;
« no previous file with comments | « mash/wm/move_loop_unittest.cc ('k') | mash/wm/non_client_frame_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698