| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/browser/ui/cocoa/extensions/extension_view_mac.h" | 5 #include "chrome/browser/ui/cocoa/extensions/extension_view_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/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 container_->OnExtensionViewDidShow(this); | 97 container_->OnExtensionViewDidShow(this); |
| 98 } | 98 } |
| 99 } | 99 } |
| 100 | 100 |
| 101 namespace extensions { | 101 namespace extensions { |
| 102 | 102 |
| 103 // static | 103 // static |
| 104 std::unique_ptr<ExtensionView> ExtensionViewHost::CreateExtensionView( | 104 std::unique_ptr<ExtensionView> ExtensionViewHost::CreateExtensionView( |
| 105 ExtensionViewHost* host, | 105 ExtensionViewHost* host, |
| 106 Browser* browser) { | 106 Browser* browser) { |
| 107 return base::WrapUnique(new ExtensionViewMac(host, browser)); | 107 return base::MakeUnique<ExtensionViewMac>(host, browser); |
| 108 } | 108 } |
| 109 | 109 |
| 110 } // namespace extensions | 110 } // namespace extensions |
| OLD | NEW |