Chromium Code Reviews| 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 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 415 } | 415 } |
| 416 | 416 |
| 417 ui::NativeTheme* NativeWidgetMac::GetNativeTheme() const { | 417 ui::NativeTheme* NativeWidgetMac::GetNativeTheme() const { |
| 418 return ui::NativeTheme::instance(); | 418 return ui::NativeTheme::instance(); |
| 419 } | 419 } |
| 420 | 420 |
| 421 void NativeWidgetMac::OnRootViewLayout() const { | 421 void NativeWidgetMac::OnRootViewLayout() const { |
| 422 NOTIMPLEMENTED(); | 422 NOTIMPLEMENTED(); |
| 423 } | 423 } |
| 424 | 424 |
| 425 bool NativeWidgetMac::IsTranslucentWindowOpacitySupported() const { | |
|
sky
2014/07/17 15:52:32
Does mac really not support translucent windows?
tapted
2014/07/18 00:22:28
It does, but the ubercompositor setup that will be
| |
| 426 return false; | |
| 427 } | |
| 428 | |
| 425 void NativeWidgetMac::RepostNativeEvent(gfx::NativeEvent native_event) { | 429 void NativeWidgetMac::RepostNativeEvent(gfx::NativeEvent native_event) { |
| 426 NOTIMPLEMENTED(); | 430 NOTIMPLEMENTED(); |
| 427 } | 431 } |
| 428 | 432 |
| 429 //////////////////////////////////////////////////////////////////////////////// | 433 //////////////////////////////////////////////////////////////////////////////// |
| 430 // Widget, public: | 434 // Widget, public: |
| 431 | 435 |
| 432 bool Widget::ConvertRect(const Widget* source, | 436 bool Widget::ConvertRect(const Widget* source, |
| 433 const Widget* target, | 437 const Widget* target, |
| 434 gfx::Rect* rect) { | 438 gfx::Rect* rect) { |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 521 } | 525 } |
| 522 | 526 |
| 523 // static | 527 // static |
| 524 gfx::FontList NativeWidgetPrivate::GetWindowTitleFontList() { | 528 gfx::FontList NativeWidgetPrivate::GetWindowTitleFontList() { |
| 525 NOTIMPLEMENTED(); | 529 NOTIMPLEMENTED(); |
| 526 return gfx::FontList(); | 530 return gfx::FontList(); |
| 527 } | 531 } |
| 528 | 532 |
| 529 } // namespace internal | 533 } // namespace internal |
| 530 } // namespace views | 534 } // namespace views |
| OLD | NEW |