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 "ui/app_list/views/app_list_view.h" | 5 #include "ui/app_list/views/app_list_view.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/strings/string_util.h" | 8 #include "base/strings/string_util.h" |
9 #include "base/win/windows_version.h" | 9 #include "base/win/windows_version.h" |
10 #include "ui/app_list/app_list_constants.h" | 10 #include "ui/app_list/app_list_constants.h" |
(...skipping 16 matching lines...) Expand all Loading... |
27 #include "ui/gfx/path.h" | 27 #include "ui/gfx/path.h" |
28 #include "ui/gfx/skia_util.h" | 28 #include "ui/gfx/skia_util.h" |
29 #include "ui/views/bubble/bubble_frame_view.h" | 29 #include "ui/views/bubble/bubble_frame_view.h" |
30 #include "ui/views/bubble/bubble_window_targeter.h" | 30 #include "ui/views/bubble/bubble_window_targeter.h" |
31 #include "ui/views/controls/textfield/textfield.h" | 31 #include "ui/views/controls/textfield/textfield.h" |
32 #include "ui/views/layout/fill_layout.h" | 32 #include "ui/views/layout/fill_layout.h" |
33 #include "ui/views/widget/widget.h" | 33 #include "ui/views/widget/widget.h" |
34 | 34 |
35 #if defined(USE_AURA) | 35 #if defined(USE_AURA) |
36 #include "ui/aura/window.h" | 36 #include "ui/aura/window.h" |
37 #include "ui/aura/root_window.h" | 37 #include "ui/aura/window_event_dispatcher.h" |
38 #if defined(OS_WIN) | 38 #if defined(OS_WIN) |
39 #include "ui/base/win/shell.h" | 39 #include "ui/base/win/shell.h" |
40 #endif | 40 #endif |
41 #if !defined(OS_CHROMEOS) | 41 #if !defined(OS_CHROMEOS) |
42 #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h" | 42 #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h" |
43 #endif | 43 #endif |
44 #endif // defined(USE_AURA) | 44 #endif // defined(USE_AURA) |
45 | 45 |
46 namespace app_list { | 46 namespace app_list { |
47 | 47 |
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
492 #else | 492 #else |
493 speech_view_->SetVisible(recognizing); | 493 speech_view_->SetVisible(recognizing); |
494 app_list_main_view_->SetVisible(!recognizing); | 494 app_list_main_view_->SetVisible(!recognizing); |
495 | 495 |
496 // Needs to schedule paint of AppListView itself, to repaint the background. | 496 // Needs to schedule paint of AppListView itself, to repaint the background. |
497 GetBubbleFrameView()->SchedulePaint(); | 497 GetBubbleFrameView()->SchedulePaint(); |
498 #endif | 498 #endif |
499 } | 499 } |
500 | 500 |
501 } // namespace app_list | 501 } // namespace app_list |
OLD | NEW |