| 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 "ash/shell/shell_delegate_impl.h" | 5 #include "ash/shell/shell_delegate_impl.h" |
| 6 | 6 |
| 7 #include "ash/caps_lock_delegate_stub.h" | 7 #include "ash/caps_lock_delegate_stub.h" |
| 8 #include "ash/shell/example_factory.h" | 8 #include "ash/shell/example_factory.h" |
| 9 #include "ash/shell/launcher_delegate_impl.h" | 9 #include "ash/shell/launcher_delegate_impl.h" |
| 10 #include "ash/shell/toplevel_window.h" | 10 #include "ash/shell/toplevel_window.h" |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 void ShellDelegateImpl::NewTab() { | 68 void ShellDelegateImpl::NewTab() { |
| 69 } | 69 } |
| 70 | 70 |
| 71 void ShellDelegateImpl::NewWindow(bool incognito) { | 71 void ShellDelegateImpl::NewWindow(bool incognito) { |
| 72 ash::shell::ToplevelWindow::CreateParams create_params; | 72 ash::shell::ToplevelWindow::CreateParams create_params; |
| 73 create_params.can_resize = true; | 73 create_params.can_resize = true; |
| 74 create_params.can_maximize = true; | 74 create_params.can_maximize = true; |
| 75 ash::shell::ToplevelWindow::CreateToplevelWindow(create_params); | 75 ash::shell::ToplevelWindow::CreateToplevelWindow(create_params); |
| 76 } | 76 } |
| 77 | 77 |
| 78 void ShellDelegateImpl::ToggleMaximized() { |
| 79 } |
| 80 |
| 78 void ShellDelegateImpl::OpenFileManager(bool as_dialog) { | 81 void ShellDelegateImpl::OpenFileManager(bool as_dialog) { |
| 79 } | 82 } |
| 80 | 83 |
| 81 void ShellDelegateImpl::OpenCrosh() { | 84 void ShellDelegateImpl::OpenCrosh() { |
| 82 } | 85 } |
| 83 | 86 |
| 84 void ShellDelegateImpl::OpenMobileSetup(const std::string& service_path) { | 87 void ShellDelegateImpl::OpenMobileSetup(const std::string& service_path) { |
| 85 } | 88 } |
| 86 | 89 |
| 87 void ShellDelegateImpl::RestoreTab() { | 90 void ShellDelegateImpl::RestoreTab() { |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 | 160 |
| 158 void ShellDelegateImpl::SaveScreenMagnifierScale(double scale) { | 161 void ShellDelegateImpl::SaveScreenMagnifierScale(double scale) { |
| 159 } | 162 } |
| 160 | 163 |
| 161 double ShellDelegateImpl::GetSavedScreenMagnifierScale() { | 164 double ShellDelegateImpl::GetSavedScreenMagnifierScale() { |
| 162 return std::numeric_limits<double>::min(); | 165 return std::numeric_limits<double>::min(); |
| 163 } | 166 } |
| 164 | 167 |
| 165 } // namespace shell | 168 } // namespace shell |
| 166 } // namespace ash | 169 } // namespace ash |
| OLD | NEW |