OLD | NEW |
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 "base/mac/foundation_util.h" | 9 #include "base/mac/foundation_util.h" |
10 #include "base/mac/scoped_nsobject.h" | 10 #include "base/mac/scoped_nsobject.h" |
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
500 } | 500 } |
501 | 501 |
502 void NativeWidgetMac::OnRootViewLayout() { | 502 void NativeWidgetMac::OnRootViewLayout() { |
503 NOTIMPLEMENTED(); | 503 NOTIMPLEMENTED(); |
504 } | 504 } |
505 | 505 |
506 bool NativeWidgetMac::IsTranslucentWindowOpacitySupported() const { | 506 bool NativeWidgetMac::IsTranslucentWindowOpacitySupported() const { |
507 return false; | 507 return false; |
508 } | 508 } |
509 | 509 |
| 510 void NativeWidgetMac::OnSizeConstraintsChanged() { |
| 511 NOTIMPLEMENTED(); |
| 512 } |
| 513 |
510 void NativeWidgetMac::RepostNativeEvent(gfx::NativeEvent native_event) { | 514 void NativeWidgetMac::RepostNativeEvent(gfx::NativeEvent native_event) { |
511 NOTIMPLEMENTED(); | 515 NOTIMPLEMENTED(); |
512 } | 516 } |
513 | 517 |
514 //////////////////////////////////////////////////////////////////////////////// | 518 //////////////////////////////////////////////////////////////////////////////// |
515 // Widget, public: | 519 // Widget, public: |
516 | 520 |
517 bool Widget::ConvertRect(const Widget* source, | 521 bool Widget::ConvertRect(const Widget* source, |
518 const Widget* target, | 522 const Widget* target, |
519 gfx::Rect* rect) { | 523 gfx::Rect* rect) { |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
599 } | 603 } |
600 | 604 |
601 // static | 605 // static |
602 gfx::FontList NativeWidgetPrivate::GetWindowTitleFontList() { | 606 gfx::FontList NativeWidgetPrivate::GetWindowTitleFontList() { |
603 NOTIMPLEMENTED(); | 607 NOTIMPLEMENTED(); |
604 return gfx::FontList(); | 608 return gfx::FontList(); |
605 } | 609 } |
606 | 610 |
607 } // namespace internal | 611 } // namespace internal |
608 } // namespace views | 612 } // namespace views |
OLD | NEW |