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

Unified Diff: apps/ui/apps_client.h

Issue 494483006: Remove chrome dependencies from app_window_api.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « no previous file | chrome/browser/extensions/api/app_window/app_window_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/ui/apps_client.h
diff --git a/apps/ui/apps_client.h b/apps/ui/apps_client.h
index da4b2bf8d1fe4ca48f1532f3f58a0815105d512c..f601e679a9f6dba2ff410a74f91640b68e71b7f2 100644
--- a/apps/ui/apps_client.h
+++ b/apps/ui/apps_client.h
@@ -8,9 +8,11 @@
#include <vector>
#include "apps/app_window.h"
+#include "base/callback_forward.h"
namespace content {
class BrowserContext;
+class WebContents;
}
namespace extensions {
@@ -43,6 +45,13 @@ class AppsClient {
virtual void IncrementKeepAliveCount() = 0;
virtual void DecrementKeepAliveCount() = 0;
+ // Opens DevTools window and runs the callback.
+ virtual void OpenDevToolsWindow(content::WebContents* web_contents,
+ const base::Closure& callback) = 0;
+
+ // Returns true if the current channel is older than dev.
+ virtual bool IsCurrentChannelOlderThanDev() = 0;
+
// Return the apps client.
static AppsClient* Get();
« no previous file with comments | « no previous file | chrome/browser/extensions/api/app_window/app_window_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698