| 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/scoped_nsobject.h" | 9 #include "base/mac/scoped_nsobject.h" |
| 10 #include "ui/gfx/font_list.h" | 10 #include "ui/gfx/font_list.h" |
| (...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 } | 352 } |
| 353 | 353 |
| 354 ui::NativeTheme* NativeWidgetMac::GetNativeTheme() const { | 354 ui::NativeTheme* NativeWidgetMac::GetNativeTheme() const { |
| 355 return ui::NativeTheme::instance(); | 355 return ui::NativeTheme::instance(); |
| 356 } | 356 } |
| 357 | 357 |
| 358 void NativeWidgetMac::OnRootViewLayout() const { | 358 void NativeWidgetMac::OnRootViewLayout() const { |
| 359 NOTIMPLEMENTED(); | 359 NOTIMPLEMENTED(); |
| 360 } | 360 } |
| 361 | 361 |
| 362 bool NativeWidgetMac::IsTranslucentWindowOpacitySupported() const { |
| 363 return false; |
| 364 } |
| 365 |
| 362 void NativeWidgetMac::RepostNativeEvent(gfx::NativeEvent native_event) { | 366 void NativeWidgetMac::RepostNativeEvent(gfx::NativeEvent native_event) { |
| 363 NOTIMPLEMENTED(); | 367 NOTIMPLEMENTED(); |
| 364 } | 368 } |
| 365 | 369 |
| 366 //////////////////////////////////////////////////////////////////////////////// | 370 //////////////////////////////////////////////////////////////////////////////// |
| 367 // Widget, public: | 371 // Widget, public: |
| 368 | 372 |
| 369 bool Widget::ConvertRect(const Widget* source, | 373 bool Widget::ConvertRect(const Widget* source, |
| 370 const Widget* target, | 374 const Widget* target, |
| 371 gfx::Rect* rect) { | 375 gfx::Rect* rect) { |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 435 } | 439 } |
| 436 | 440 |
| 437 // static | 441 // static |
| 438 gfx::FontList NativeWidgetPrivate::GetWindowTitleFontList() { | 442 gfx::FontList NativeWidgetPrivate::GetWindowTitleFontList() { |
| 439 NOTIMPLEMENTED(); | 443 NOTIMPLEMENTED(); |
| 440 return gfx::FontList(); | 444 return gfx::FontList(); |
| 441 } | 445 } |
| 442 | 446 |
| 443 } // namespace internal | 447 } // namespace internal |
| 444 } // namespace views | 448 } // namespace views |
| OLD | NEW |