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

Unified Diff: ash/common/frame/header_view.h

Issue 2724693002: mash: improves browser frame decorations (Closed)
Patch Set: merge Created 3 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 | « ash/common/frame/default_header_painter.cc ('k') | ash/common/frame/header_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/frame/header_view.h
diff --git a/ash/common/frame/header_view.h b/ash/common/frame/header_view.h
index d96a62a3b1e175b7c39b37c7e64d683af6edea51..2426691f9812618476843a7db91a1bdc9c2ada71 100644
--- a/ash/common/frame/header_view.h
+++ b/ash/common/frame/header_view.h
@@ -9,6 +9,7 @@
#include "ash/ash_export.h"
#include "ash/common/shell_observer.h"
+#include "ash/public/interfaces/window_style.mojom.h"
#include "ash/shared/immersive_fullscreen_controller_delegate.h"
#include "base/macros.h"
#include "third_party/skia/include/core/SkColor.h"
@@ -35,7 +36,9 @@ class ASH_EXPORT HeaderView : public views::View,
// placed in. For example, in immersive fullscreen this view may be painted in
// a widget that slides in and out on top of the main app or browser window.
// However, clicking a caption button should act on the target widget.
- explicit HeaderView(views::Widget* target_widget);
+ explicit HeaderView(
+ views::Widget* target_widget,
+ mojom::WindowStyle window_style = mojom::WindowStyle::DEFAULT);
~HeaderView() override;
void set_is_immersive_delegate(bool value) { is_immersive_delegate_ = value; }
« no previous file with comments | « ash/common/frame/default_header_painter.cc ('k') | ash/common/frame/header_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698