OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_UI_VIEWS_AURA_APP_LIST_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_AURA_APP_LIST_WINDOW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_AURA_APP_LIST_WINDOW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_AURA_APP_LIST_WINDOW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "chrome/browser/tab_first_render_watcher.h" | 10 #include "chrome/browser/tab_first_render_watcher.h" |
11 #include "ui/aura/desktop_observer.h" | 11 #include "ui/aura/desktop_observer.h" |
12 #include "ui/gfx/compositor/layer_animation_observer.h" | 12 #include "ui/gfx/compositor/layer_animation_observer.h" |
13 #include "ui/views/widget/widget_delegate.h" | 13 #include "views/widget/widget_delegate.h" |
14 | 14 |
15 class DOMView; | 15 class DOMView; |
16 | 16 |
17 namespace views { | 17 namespace views { |
18 class Widget; | 18 class Widget; |
19 } | 19 } |
20 | 20 |
21 class AppListWindow : public views::WidgetDelegate, | 21 class AppListWindow : public views::WidgetDelegate, |
22 public aura::DesktopObserver, | 22 public aura::DesktopObserver, |
23 public ui::LayerAnimationObserver, | 23 public ui::LayerAnimationObserver, |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 scoped_ptr<TabFirstRenderWatcher> tab_watcher_; | 73 scoped_ptr<TabFirstRenderWatcher> tab_watcher_; |
74 | 74 |
75 // Flag of whether the web contents is rendered. Showing animation is | 75 // Flag of whether the web contents is rendered. Showing animation is |
76 // deferred until this flag is set to true. | 76 // deferred until this flag is set to true. |
77 bool content_rendered_; | 77 bool content_rendered_; |
78 | 78 |
79 DISALLOW_COPY_AND_ASSIGN(AppListWindow); | 79 DISALLOW_COPY_AND_ASSIGN(AppListWindow); |
80 }; | 80 }; |
81 | 81 |
82 #endif // CHROME_BROWSER_UI_VIEWS_AURA_APP_LIST_WINDOW_H_ | 82 #endif // CHROME_BROWSER_UI_VIEWS_AURA_APP_LIST_WINDOW_H_ |
OLD | NEW |