| 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();
|
|
|
|
|