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

Side by Side Diff: ui/views/widget/native_widget_mac.mm

Issue 2399993002: Remove (Native)Widget::StackBelow(). (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « ui/views/widget/native_widget_mac.h ('k') | ui/views/widget/native_widget_private.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/views/widget/native_widget_mac.h" 5 #include "ui/views/widget/native_widget_mac.h"
6 6
7 #import <Cocoa/Cocoa.h> 7 #import <Cocoa/Cocoa.h>
8 8
9 #include <utility> 9 #include <utility>
10 10
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 } 325 }
326 326
327 void NativeWidgetMac::StackAbove(gfx::NativeView native_view) { 327 void NativeWidgetMac::StackAbove(gfx::NativeView native_view) {
328 NOTIMPLEMENTED(); 328 NOTIMPLEMENTED();
329 } 329 }
330 330
331 void NativeWidgetMac::StackAtTop() { 331 void NativeWidgetMac::StackAtTop() {
332 NOTIMPLEMENTED(); 332 NOTIMPLEMENTED();
333 } 333 }
334 334
335 void NativeWidgetMac::StackBelow(gfx::NativeView native_view) {
336 NOTIMPLEMENTED();
337 }
338
339 void NativeWidgetMac::SetShape(std::unique_ptr<SkRegion> shape) { 335 void NativeWidgetMac::SetShape(std::unique_ptr<SkRegion> shape) {
340 NOTIMPLEMENTED(); 336 NOTIMPLEMENTED();
341 } 337 }
342 338
343 void NativeWidgetMac::Close() { 339 void NativeWidgetMac::Close() {
344 if (!bridge_) 340 if (!bridge_)
345 return; 341 return;
346 342
347 NSWindow* window = GetNativeWindow(); 343 NSWindow* window = GetNativeWindow();
348 if (IsWindowModalSheet()) { 344 if (IsWindowModalSheet()) {
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
762 [[ViewsNSWindowCloseAnimator alloc] initWithWindow:window]; 758 [[ViewsNSWindowCloseAnimator alloc] initWithWindow:window];
763 } 759 }
764 760
765 - (void)animationDidEnd:(NSAnimation*)animation { 761 - (void)animationDidEnd:(NSAnimation*)animation {
766 [window_ close]; 762 [window_ close];
767 [animation_ setDelegate:nil]; 763 [animation_ setDelegate:nil];
768 [self release]; 764 [self release];
769 } 765 }
770 766
771 @end 767 @end
OLDNEW
« no previous file with comments | « ui/views/widget/native_widget_mac.h ('k') | ui/views/widget/native_widget_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698