| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #import "chrome/browser/ui/cocoa/apps/app_shim_menu_controller_mac.h" | 5 #import "chrome/browser/ui/cocoa/apps/app_shim_menu_controller_mac.h" |
| 6 | 6 |
| 7 #import <Cocoa/Cocoa.h> | 7 #import <Cocoa/Cocoa.h> |
| 8 | 8 |
| 9 #include "apps/app_window_registry.h" | 9 #include "apps/app_window_registry.h" |
| 10 #include "apps/ui/native_app_window.h" | 10 #include "apps/ui/native_app_window.h" |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 ->GetAppWindowsForApp(app_1_->id()) | 143 ->GetAppWindowsForApp(app_1_->id()) |
| 144 .front(); | 144 .front(); |
| 145 [[NSNotificationCenter defaultCenter] | 145 [[NSNotificationCenter defaultCenter] |
| 146 postNotificationName:NSWindowDidBecomeMainNotification | 146 postNotificationName:NSWindowDidBecomeMainNotification |
| 147 object:app_1_app_window->GetNativeWindow()]; | 147 object:app_1_app_window->GetNativeWindow()]; |
| 148 | 148 |
| 149 CheckHasAppMenus(app_1_); | 149 CheckHasAppMenus(app_1_); |
| 150 ExtensionService::UninstallExtensionHelper( | 150 ExtensionService::UninstallExtensionHelper( |
| 151 extension_service(), | 151 extension_service(), |
| 152 app_1_->id(), | 152 app_1_->id(), |
| 153 ExtensionService::UNINSTALL_REASON_FOR_TESTING); | 153 UninstalledExtensionInfo::REASON_FOR_TESTING); |
| 154 CheckNoAppMenus(); | 154 CheckNoAppMenus(); |
| 155 } | 155 } |
| 156 | 156 |
| 157 } // namespace | 157 } // namespace |
| OLD | NEW |