Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5377)

Unified Diff: chrome/browser/ui/panels/panel.h

Issue 1376063005: Cleanup: Pull some browser keep alive functions into its own file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/panels/panel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/panel.h
diff --git a/chrome/browser/ui/panels/panel.h b/chrome/browser/ui/panels/panel.h
index a9bd1b3305281a78600b73388fdbfc0b7abeca26..113ce8753301e19eb48fffa522634f5c315f279b 100644
--- a/chrome/browser/ui/panels/panel.h
+++ b/chrome/browser/ui/panels/panel.h
@@ -30,6 +30,10 @@ class PanelManager;
class Profile;
class StackedPanelCollection;
+namespace browser_lifetime {
+class ScopedKeepAlive;
+}
+
namespace content {
class WebContents;
struct NativeWebKeyboardEvent;
@@ -403,6 +407,10 @@ class Panel : public ui::BaseWindow,
scoped_ptr<extensions::WindowController> extension_window_controller_;
scoped_ptr<PanelHost> panel_host_;
+#if !defined(USE_AURA)
+ scoped_ptr<browser_lifetime::ScopedKeepAlive> keep_alive_;
+#endif
+
// Icon showed in the task bar.
gfx::Image app_icon_;
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/panels/panel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698