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

Unified Diff: ui/views/widget/native_widget_aura.h

Issue 2694213003: mash: wires up shadows for mash (Closed)
Patch Set: cleanup Created 3 years, 10 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
Index: ui/views/widget/native_widget_aura.h
diff --git a/ui/views/widget/native_widget_aura.h b/ui/views/widget/native_widget_aura.h
index 7ec157a21e38c095b9cba9550abcecec85076e63..cf7f31318053af78dc8ba23b92839b882c962e3b 100644
--- a/ui/views/widget/native_widget_aura.h
+++ b/ui/views/widget/native_widget_aura.h
@@ -57,6 +57,11 @@ class VIEWS_EXPORT NativeWidgetAura
const gfx::ImageSkia& window_icon,
const gfx::ImageSkia& app_icon);
+ // If necessary sets the ShadowElevation of |window| from |params|.
msw 2017/02/15 01:37:29 optional nit: comma after necessary
sky 2017/02/15 03:58:25 Done.
+ static void SetShadowElevationFromInitParams(
msw 2017/02/15 01:37:29 Could this just be part of InitNativeWidget? (why
sky 2017/02/15 03:58:25 It's not necessarily for NativeWidgetMac. I think
+ aura::Window* window,
+ const Widget::InitParams& params);
+
// Overridden from internal::NativeWidgetPrivate:
void InitNativeWidget(const Widget::InitParams& params) override;
void OnWidgetInitDone() override;

Powered by Google App Engine
This is Rietveld 408576698