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

Unified Diff: apps/app_lifetime_monitor.h

Issue 494033002: Move AppWindow to extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unneeded include in chrome_shell_delegate.cc Created 6 years, 4 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 | « apps/BUILD.gn ('k') | apps/app_lifetime_monitor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/app_lifetime_monitor.h
diff --git a/apps/app_lifetime_monitor.h b/apps/app_lifetime_monitor.h
index bc46e0e992f79db0c9469147f999e8c738992d2d..9dfee75e6c1c16f705e810d57325b467b6321b8a 100644
--- a/apps/app_lifetime_monitor.h
+++ b/apps/app_lifetime_monitor.h
@@ -8,11 +8,11 @@
#include <string>
#include <vector>
-#include "apps/app_window_registry.h"
#include "base/observer_list.h"
#include "components/keyed_service/core/keyed_service.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
+#include "extensions/browser/app_window/app_window_registry.h"
namespace extensions {
class Extension;
@@ -26,7 +26,7 @@ namespace apps {
// events.
class AppLifetimeMonitor : public KeyedService,
public content::NotificationObserver,
- public AppWindowRegistry::Observer {
+ public extensions::AppWindowRegistry::Observer {
public:
class Observer {
public:
@@ -60,15 +60,15 @@ class AppLifetimeMonitor : public KeyedService,
const content::NotificationSource& source,
const content::NotificationDetails& details) OVERRIDE;
- // AppWindowRegistry::Observer overrides:
- virtual void OnAppWindowRemoved(AppWindow* app_window) OVERRIDE;
- virtual void OnAppWindowHidden(apps::AppWindow* app_window) OVERRIDE;
- virtual void OnAppWindowShown(apps::AppWindow* app_window) OVERRIDE;
+ // extensions::AppWindowRegistry::Observer overrides:
+ virtual void OnAppWindowRemoved(extensions::AppWindow* app_window) OVERRIDE;
+ virtual void OnAppWindowHidden(extensions::AppWindow* app_window) OVERRIDE;
+ virtual void OnAppWindowShown(extensions::AppWindow* app_window) OVERRIDE;
// KeyedService overrides:
virtual void Shutdown() OVERRIDE;
- bool HasVisibleAppWindows(apps::AppWindow* app_window) const;
+ bool HasVisibleAppWindows(extensions::AppWindow* app_window) const;
void NotifyAppStart(const std::string& app_id);
void NotifyAppActivated(const std::string& app_id);
« no previous file with comments | « apps/BUILD.gn ('k') | apps/app_lifetime_monitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698