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 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_H_ | 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_H_ |
6 #define CHROME_BROWSER_UI_PANELS_PANEL_H_ | 6 #define CHROME_BROWSER_UI_PANELS_PANEL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 #include "ui/base/base_window.h" | 22 #include "ui/base/base_window.h" |
23 #include "ui/gfx/geometry/rect.h" | 23 #include "ui/gfx/geometry/rect.h" |
24 #include "ui/gfx/image/image.h" | 24 #include "ui/gfx/image/image.h" |
25 | 25 |
26 class GURL; | 26 class GURL; |
27 class NativePanel; | 27 class NativePanel; |
28 class PanelCollection; | 28 class PanelCollection; |
29 class PanelHost; | 29 class PanelHost; |
30 class PanelManager; | 30 class PanelManager; |
31 class Profile; | 31 class Profile; |
| 32 class ScopedKeepAlive; |
32 class StackedPanelCollection; | 33 class StackedPanelCollection; |
33 | 34 |
34 namespace content { | 35 namespace content { |
35 class SiteInstance; | 36 class SiteInstance; |
36 class WebContents; | 37 class WebContents; |
37 struct NativeWebKeyboardEvent; | 38 struct NativeWebKeyboardEvent; |
38 } | 39 } |
39 | 40 |
40 namespace extensions { | 41 namespace extensions { |
41 class Extension; | 42 class Extension; |
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 | 405 |
405 content::NotificationRegistrar registrar_; | 406 content::NotificationRegistrar registrar_; |
406 extensions::ExtensionRegistry* extension_registry_; | 407 extensions::ExtensionRegistry* extension_registry_; |
407 const SessionID session_id_; | 408 const SessionID session_id_; |
408 scoped_ptr<extensions::WindowController> extension_window_controller_; | 409 scoped_ptr<extensions::WindowController> extension_window_controller_; |
409 scoped_ptr<PanelHost> panel_host_; | 410 scoped_ptr<PanelHost> panel_host_; |
410 | 411 |
411 // Icon showed in the task bar. | 412 // Icon showed in the task bar. |
412 gfx::Image app_icon_; | 413 gfx::Image app_icon_; |
413 | 414 |
| 415 scoped_ptr<ScopedKeepAlive> keep_alive_; |
| 416 |
414 base::WeakPtrFactory<Panel> image_loader_ptr_factory_; | 417 base::WeakPtrFactory<Panel> image_loader_ptr_factory_; |
415 | 418 |
416 DISALLOW_COPY_AND_ASSIGN(Panel); | 419 DISALLOW_COPY_AND_ASSIGN(Panel); |
417 }; | 420 }; |
418 | 421 |
419 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ | 422 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ |
OLD | NEW |