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_shell/shell_delegate.h" | 11 #include "ui/aura_shell/shell_delegate.h" |
12 #include "views/widget/widget_delegate.h" | 12 #include "ui/views/widget/widget_delegate.h" |
13 | 13 |
14 class DOMView; | 14 class DOMView; |
15 | 15 |
16 namespace views { | 16 namespace views { |
17 class Widget; | 17 class Widget; |
18 } | 18 } |
19 | 19 |
20 class AppListWindow : public views::WidgetDelegate, | 20 class AppListWindow : public views::WidgetDelegate, |
21 public TabFirstRenderWatcher::Delegate { | 21 public TabFirstRenderWatcher::Delegate { |
22 public: | 22 public: |
(...skipping 23 matching lines...) Expand all Loading... |
46 // Monitors TabContents and set |content_rendered_| flag when it's rendered. | 46 // Monitors TabContents and set |content_rendered_| flag when it's rendered. |
47 scoped_ptr<TabFirstRenderWatcher> tab_watcher_; | 47 scoped_ptr<TabFirstRenderWatcher> tab_watcher_; |
48 | 48 |
49 // Callback to set app list widget when it's ready. | 49 // Callback to set app list widget when it's ready. |
50 aura_shell::ShellDelegate::SetWidgetCallback callback_; | 50 aura_shell::ShellDelegate::SetWidgetCallback callback_; |
51 | 51 |
52 DISALLOW_COPY_AND_ASSIGN(AppListWindow); | 52 DISALLOW_COPY_AND_ASSIGN(AppListWindow); |
53 }; | 53 }; |
54 | 54 |
55 #endif // CHROME_BROWSER_UI_VIEWS_AURA_APP_LIST_WINDOW_H_ | 55 #endif // CHROME_BROWSER_UI_VIEWS_AURA_APP_LIST_WINDOW_H_ |
OLD | NEW |