| 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 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 494 } | 494 } |
| 495 | 495 |
| 496 ui::NativeTheme* NativeWidgetMac::GetNativeTheme() const { | 496 ui::NativeTheme* NativeWidgetMac::GetNativeTheme() const { |
| 497 return ui::NativeTheme::instance(); | 497 return ui::NativeTheme::instance(); |
| 498 } | 498 } |
| 499 | 499 |
| 500 void NativeWidgetMac::OnRootViewLayout() const { | 500 void NativeWidgetMac::OnRootViewLayout() const { |
| 501 NOTIMPLEMENTED(); | 501 NOTIMPLEMENTED(); |
| 502 } | 502 } |
| 503 | 503 |
| 504 bool NativeWidgetMac::IsTranslucentWindowOpacitySupported() const { |
| 505 return false; |
| 506 } |
| 507 |
| 504 void NativeWidgetMac::RepostNativeEvent(gfx::NativeEvent native_event) { | 508 void NativeWidgetMac::RepostNativeEvent(gfx::NativeEvent native_event) { |
| 505 NOTIMPLEMENTED(); | 509 NOTIMPLEMENTED(); |
| 506 } | 510 } |
| 507 | 511 |
| 508 //////////////////////////////////////////////////////////////////////////////// | 512 //////////////////////////////////////////////////////////////////////////////// |
| 509 // Widget, public: | 513 // Widget, public: |
| 510 | 514 |
| 511 bool Widget::ConvertRect(const Widget* source, | 515 bool Widget::ConvertRect(const Widget* source, |
| 512 const Widget* target, | 516 const Widget* target, |
| 513 gfx::Rect* rect) { | 517 gfx::Rect* rect) { |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 593 } | 597 } |
| 594 | 598 |
| 595 // static | 599 // static |
| 596 gfx::FontList NativeWidgetPrivate::GetWindowTitleFontList() { | 600 gfx::FontList NativeWidgetPrivate::GetWindowTitleFontList() { |
| 597 NOTIMPLEMENTED(); | 601 NOTIMPLEMENTED(); |
| 598 return gfx::FontList(); | 602 return gfx::FontList(); |
| 599 } | 603 } |
| 600 | 604 |
| 601 } // namespace internal | 605 } // namespace internal |
| 602 } // namespace views | 606 } // namespace views |
| OLD | NEW |