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

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

Issue 554183002: Update the maximize button when size constraints change. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update NativeWidgetMac. Created 6 years, 3 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
« 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 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
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