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

Unified Diff: chrome/browser/extensions/api/app_window/app_window_api.h

Issue 11238055: Re-open DevTools windows for PackagedApps if they are reloaded with DevTools open. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: before unit test Created 8 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
Index: chrome/browser/extensions/api/app_window/app_window_api.h
diff --git a/chrome/browser/extensions/api/app_window/app_window_api.h b/chrome/browser/extensions/api/app_window/app_window_api.h
index 70b0e4ac80dcbdb807af390936160a66e1826260..cb37e1540a4b194da62e688150764bccd6102753 100644
--- a/chrome/browser/extensions/api/app_window/app_window_api.h
+++ b/chrome/browser/extensions/api/app_window/app_window_api.h
@@ -9,13 +9,18 @@
namespace extensions {
-class AppWindowCreateFunction : public SyncExtensionFunction {
+class AppWindowCreateFunction : public AsyncExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION_NAME("app.window.create");
+ AppWindowCreateFunction();
protected:
- virtual ~AppWindowCreateFunction() {}
+ virtual ~AppWindowCreateFunction();
virtual bool RunImpl() OVERRIDE;
+
+ private:
+ class DelayedResponseForDevTools;
+ scoped_ptr<DelayedResponseForDevTools> delay_response_;
};
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698