OLD | NEW |
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 "extensions/shell/browser/shell_extensions_browser_client.h" | 5 #include "extensions/shell/browser/shell_extensions_browser_client.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/memory/ptr_util.h" | 9 #include "base/memory/ptr_util.h" |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 return nullptr; | 267 return nullptr; |
268 return navigation_data->GetExtensionNavigationUIData(); | 268 return navigation_data->GetExtensionNavigationUIData(); |
269 } | 269 } |
270 | 270 |
271 KioskDelegate* ShellExtensionsBrowserClient::GetKioskDelegate() { | 271 KioskDelegate* ShellExtensionsBrowserClient::GetKioskDelegate() { |
272 if (!kiosk_delegate_) | 272 if (!kiosk_delegate_) |
273 kiosk_delegate_.reset(new ShellKioskDelegate()); | 273 kiosk_delegate_.reset(new ShellKioskDelegate()); |
274 return kiosk_delegate_.get(); | 274 return kiosk_delegate_.get(); |
275 } | 275 } |
276 | 276 |
| 277 bool ShellExtensionsBrowserClient::IsLockScreenContext( |
| 278 content::BrowserContext* context) { |
| 279 return false; |
| 280 } |
| 281 |
277 } // namespace extensions | 282 } // namespace extensions |
OLD | NEW |