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

Unified Diff: apps/app_shim/extension_app_shim_handler_mac.h

Issue 166573005: Rename apps::ShellWindow to apps::AppWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, nits (rename) Created 6 years, 10 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/app_shim/app_shim_handler_mac.cc ('k') | apps/app_shim/extension_app_shim_handler_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/app_shim/extension_app_shim_handler_mac.h
diff --git a/apps/app_shim/extension_app_shim_handler_mac.h b/apps/app_shim/extension_app_shim_handler_mac.h
index c8069ce23b8c81b741ba8d2af4eb897aeb5dd892..0fc8a84394faf67bc2484f7b3610a0312bb1b188 100644
--- a/apps/app_shim/extension_app_shim_handler_mac.h
+++ b/apps/app_shim/extension_app_shim_handler_mac.h
@@ -11,7 +11,7 @@
#include "apps/app_lifetime_monitor.h"
#include "apps/app_shim/app_shim_handler_mac.h"
-#include "apps/shell_window_registry.h"
+#include "apps/app_window_registry.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "content/public/browser/notification_observer.h"
@@ -33,7 +33,7 @@ class Extension;
namespace apps {
-class ShellWindow;
+class AppWindow;
// This app shim handler that handles events for app shims that correspond to an
// extension.
@@ -50,8 +50,9 @@ class ExtensionAppShimHandler : public AppShimHandler,
virtual void LoadProfileAsync(const base::FilePath& path,
base::Callback<void(Profile*)> callback);
- virtual ShellWindowRegistry::ShellWindowList GetWindows(
- Profile* profile, const std::string& extension_id);
+ virtual AppWindowRegistry::AppWindowList GetWindows(
+ Profile* profile,
+ const std::string& extension_id);
virtual const extensions::Extension* GetAppExtension(
Profile* profile, const std::string& extension_id);
@@ -72,15 +73,15 @@ class ExtensionAppShimHandler : public AppShimHandler,
AppShimHandler::Host* FindHost(Profile* profile, const std::string& app_id);
- static void QuitAppForWindow(ShellWindow* shell_window);
+ static void QuitAppForWindow(AppWindow* app_window);
- static void HideAppForWindow(ShellWindow* shell_window);
+ static void HideAppForWindow(AppWindow* app_window);
- static void FocusAppForWindow(ShellWindow* shell_window);
+ static void FocusAppForWindow(AppWindow* app_window);
// Brings the window to the front without showing it and instructs the shim to
// request user attention. Returns false if there is no shim for this window.
- static bool RequestUserAttentionForWindow(ShellWindow* shell_window);
+ static bool RequestUserAttentionForWindow(AppWindow* app_window);
// AppShimHandler overrides:
virtual void OnShimLaunch(Host* host,
« no previous file with comments | « apps/app_shim/app_shim_handler_mac.cc ('k') | apps/app_shim/extension_app_shim_handler_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698