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/ash/chrome_shell_delegate.h" | 5 #include "chrome/browser/ui/ash/chrome_shell_delegate.h" |
6 | 6 |
7 #include "apps/app_window.h" | |
8 #include "apps/app_window_registry.h" | |
9 #include "ash/content_support/gpu_support_impl.h" | 7 #include "ash/content_support/gpu_support_impl.h" |
10 #include "ash/magnifier/magnifier_constants.h" | 8 #include "ash/magnifier/magnifier_constants.h" |
11 #include "ash/wm/window_state.h" | 9 #include "ash/wm/window_state.h" |
12 #include "ash/wm/window_util.h" | 10 #include "ash/wm/window_util.h" |
13 #include "chrome/browser/app_mode/app_mode_utils.h" | 11 #include "chrome/browser/app_mode/app_mode_utils.h" |
14 #include "chrome/browser/lifetime/application_lifetime.h" | 12 #include "chrome/browser/lifetime/application_lifetime.h" |
15 #include "chrome/browser/profiles/profile_manager.h" | 13 #include "chrome/browser/profiles/profile_manager.h" |
16 #include "chrome/browser/profiles/profiles_state.h" | 14 #include "chrome/browser/profiles/profiles_state.h" |
17 #include "chrome/browser/ui/app_list/app_list_service.h" | 15 #include "chrome/browser/ui/app_list/app_list_service.h" |
18 #include "chrome/browser/ui/app_list/app_list_view_delegate.h" | 16 #include "chrome/browser/ui/app_list/app_list_view_delegate.h" |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 | 159 |
162 void ChromeShellDelegate::AddVirtualKeyboardStateObserver( | 160 void ChromeShellDelegate::AddVirtualKeyboardStateObserver( |
163 ash::VirtualKeyboardStateObserver* observer) { | 161 ash::VirtualKeyboardStateObserver* observer) { |
164 keyboard_state_observer_list_.AddObserver(observer); | 162 keyboard_state_observer_list_.AddObserver(observer); |
165 } | 163 } |
166 | 164 |
167 void ChromeShellDelegate::RemoveVirtualKeyboardStateObserver( | 165 void ChromeShellDelegate::RemoveVirtualKeyboardStateObserver( |
168 ash::VirtualKeyboardStateObserver* observer) { | 166 ash::VirtualKeyboardStateObserver* observer) { |
169 keyboard_state_observer_list_.RemoveObserver(observer); | 167 keyboard_state_observer_list_.RemoveObserver(observer); |
170 } | 168 } |
OLD | NEW |