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

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

Issue 1154013009: [OSX] Don't create deferred windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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/cocoa/bridged_native_widget_unittest.mm ('k') | no next file » | 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 523 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 } 534 }
535 535
536 //////////////////////////////////////////////////////////////////////////////// 536 ////////////////////////////////////////////////////////////////////////////////
537 // NativeWidgetMac, protected: 537 // NativeWidgetMac, protected:
538 538
539 NSWindow* NativeWidgetMac::CreateNSWindow(const Widget::InitParams& params) { 539 NSWindow* NativeWidgetMac::CreateNSWindow(const Widget::InitParams& params) {
540 return [[[NativeWidgetMacNSWindow alloc] 540 return [[[NativeWidgetMacNSWindow alloc]
541 initWithContentRect:ui::kWindowSizeDeterminedLater 541 initWithContentRect:ui::kWindowSizeDeterminedLater
542 styleMask:StyleMaskForParams(params) 542 styleMask:StyleMaskForParams(params)
543 backing:NSBackingStoreBuffered 543 backing:NSBackingStoreBuffered
544 defer:YES] autorelease]; 544 defer:NO] autorelease];
545 } 545 }
546 546
547 //////////////////////////////////////////////////////////////////////////////// 547 ////////////////////////////////////////////////////////////////////////////////
548 // Widget, public: 548 // Widget, public:
549 549
550 bool Widget::ConvertRect(const Widget* source, 550 bool Widget::ConvertRect(const Widget* source,
551 const Widget* target, 551 const Widget* target,
552 gfx::Rect* rect) { 552 gfx::Rect* rect) {
553 return false; 553 return false;
554 } 554 }
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 } 640 }
641 641
642 // static 642 // static
643 gfx::FontList NativeWidgetPrivate::GetWindowTitleFontList() { 643 gfx::FontList NativeWidgetPrivate::GetWindowTitleFontList() {
644 NOTIMPLEMENTED(); 644 NOTIMPLEMENTED();
645 return gfx::FontList(); 645 return gfx::FontList();
646 } 646 }
647 647
648 } // namespace internal 648 } // namespace internal
649 } // namespace views 649 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/cocoa/bridged_native_widget_unittest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698