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

Unified Diff: ui/views/widget/native_widget_mac.mm

Issue 267593005: Refactor menu controller to isolate aura dependency. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 6 years, 7 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_mac.mm
diff --git a/ui/views/widget/native_widget_mac.mm b/ui/views/widget/native_widget_mac.mm
index 080bc390cb7e494b281e78d05db6cc600f2c93e9..feff784c1b624a54cc75b48728f3bb5571b0c330 100644
--- a/ui/views/widget/native_widget_mac.mm
+++ b/ui/views/widget/native_widget_mac.mm
@@ -169,6 +169,11 @@ void NativeWidgetMac::Restore() {}
void NativeWidgetMac::SetFullscreen(bool fullscreen) {}
bool NativeWidgetMac::IsFullscreen() const { return false; }
void NativeWidgetMac::SetOpacity(unsigned char opacity) {}
+
+void NativeWidgetMac::SetHasShadow(bool has_shadow) {
+ [window_ setHasShadow:has_shadow];
tapted 2014/05/06 00:02:46 You'll have to leave this bit off for now after re
+}
+
void NativeWidgetMac::SetUseDragFrame(bool use_drag_frame) {}
void NativeWidgetMac::FlashFrame(bool flash_frame) {}
void NativeWidgetMac::RunShellDrag(View* view,

Powered by Google App Engine
This is Rietveld 408576698