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

Side by Side Diff: ui/views/mus/native_widget_mus.cc

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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 // This has to be before any other includes, else default is picked up. 5 // This has to be before any other includes, else default is picked up.
6 // See base/logging for details on this. 6 // See base/logging for details on this.
7 #define NOTIMPLEMENTED_POLICY 5 7 #define NOTIMPLEMENTED_POLICY 5
8 8
9 #include "ui/views/mus/native_widget_mus.h" 9 #include "ui/views/mus/native_widget_mus.h"
10 10
(...skipping 992 matching lines...) Expand 10 before | Expand all | Expand 10 after
1003 } 1003 }
1004 1004
1005 void NativeWidgetMus::StackAbove(gfx::NativeView native_view) { 1005 void NativeWidgetMus::StackAbove(gfx::NativeView native_view) {
1006 NOTIMPLEMENTED(); 1006 NOTIMPLEMENTED();
1007 } 1007 }
1008 1008
1009 void NativeWidgetMus::StackAtTop() { 1009 void NativeWidgetMus::StackAtTop() {
1010 NOTIMPLEMENTED(); 1010 NOTIMPLEMENTED();
1011 } 1011 }
1012 1012
1013 void NativeWidgetMus::StackBelow(gfx::NativeView native_view) {
1014 NOTIMPLEMENTED();
1015 }
1016
1017 void NativeWidgetMus::SetShape(std::unique_ptr<SkRegion> shape) { 1013 void NativeWidgetMus::SetShape(std::unique_ptr<SkRegion> shape) {
1018 NOTIMPLEMENTED(); 1014 NOTIMPLEMENTED();
1019 } 1015 }
1020 1016
1021 void NativeWidgetMus::Close() { 1017 void NativeWidgetMus::Close() {
1022 Hide(); 1018 Hide();
1023 if (!close_widget_factory_.HasWeakPtrs()) { 1019 if (!close_widget_factory_.HasWeakPtrs()) {
1024 base::ThreadTaskRunnerHandle::Get()->PostTask( 1020 base::ThreadTaskRunnerHandle::Get()->PostTask(
1025 FROM_HERE, base::Bind(&NativeWidgetMus::CloseNow, 1021 FROM_HERE, base::Bind(&NativeWidgetMus::CloseNow,
1026 close_widget_factory_.GetWeakPtr())); 1022 close_widget_factory_.GetWeakPtr()));
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
1536 1532
1537 gfx::Path mask_path; 1533 gfx::Path mask_path;
1538 native_widget_delegate_->GetHitTestMask(&mask_path); 1534 native_widget_delegate_->GetHitTestMask(&mask_path);
1539 // TODO(jamescook): Use the full path for the mask. 1535 // TODO(jamescook): Use the full path for the mask.
1540 gfx::Rect mask_rect = 1536 gfx::Rect mask_rect =
1541 gfx::ToEnclosingRect(gfx::SkRectToRectF(mask_path.getBounds())); 1537 gfx::ToEnclosingRect(gfx::SkRectToRectF(mask_path.getBounds()));
1542 window_->SetHitTestMask(mask_rect); 1538 window_->SetHitTestMask(mask_rect);
1543 } 1539 }
1544 1540
1545 } // namespace views 1541 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/mus/native_widget_mus.h ('k') | ui/views/widget/desktop_aura/desktop_native_widget_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698