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

Side by Side Diff: ui/views/widget/native_widget_mac.mm

Issue 375183002: Add app.window.alphaEnabled() and onAlphaEnabledChanged. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync and rebase Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « ui/views/widget/native_widget_mac.h ('k') | ui/views/widget/native_widget_private.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « ui/views/widget/native_widget_mac.h ('k') | ui/views/widget/native_widget_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698