| 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/native_app_window_cocoa.h" | 5 #include "chrome/browser/ui/cocoa/extensions/native_app_window_cocoa.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/mac/mac_util.h" | 9 #include "base/mac/mac_util.h" |
| 10 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
| (...skipping 839 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 850 CHECK(!window || [window isKindOfClass:[ShellNSWindow class]]); | 850 CHECK(!window || [window isKindOfClass:[ShellNSWindow class]]); |
| 851 return static_cast<ShellNSWindow*>(window); | 851 return static_cast<ShellNSWindow*>(window); |
| 852 } | 852 } |
| 853 | 853 |
| 854 // static | 854 // static |
| 855 NativeAppWindow* NativeAppWindow::Create( | 855 NativeAppWindow* NativeAppWindow::Create( |
| 856 ShellWindow* shell_window, | 856 ShellWindow* shell_window, |
| 857 const ShellWindow::CreateParams& params) { | 857 const ShellWindow::CreateParams& params) { |
| 858 return new NativeAppWindowCocoa(shell_window, params); | 858 return new NativeAppWindowCocoa(shell_window, params); |
| 859 } | 859 } |
| OLD | NEW |