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

Side by Side 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: more encapsulation, self-nit unit test code, add expected FAILS_ for debug builds 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_EXTENSIONS_API_APP_WINDOW_APP_WINDOW_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_APP_WINDOW_APP_WINDOW_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_APP_WINDOW_APP_WINDOW_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_APP_WINDOW_APP_WINDOW_API_H_
7 7
8 #include "chrome/browser/extensions/extension_function.h" 8 #include "chrome/browser/extensions/extension_function.h"
9 9
10 namespace extensions { 10 namespace extensions {
11 11
12 class AppWindowCreateFunction : public SyncExtensionFunction { 12 class AppWindowCreateFunction : public AsyncExtensionFunction {
13 public: 13 public:
14 DECLARE_EXTENSION_FUNCTION_NAME("app.window.create"); 14 DECLARE_EXTENSION_FUNCTION_NAME("app.window.create");
15 15
16 void SendDelayedResponse();
tapted 2012/10/23 23:41:15 tossed this up for a while.. `SendResponse` is pro
17
16 protected: 18 protected:
17 virtual ~AppWindowCreateFunction() {} 19 virtual ~AppWindowCreateFunction() {}
18 virtual bool RunImpl() OVERRIDE; 20 virtual bool RunImpl() OVERRIDE;
19 }; 21 };
20 22
21 } // namespace extensions 23 } // namespace extensions
22 24
23 #endif // CHROME_BROWSER_EXTENSIONS_API_APP_WINDOW_APP_WINDOW_API_H_ 25 #endif // CHROME_BROWSER_EXTENSIONS_API_APP_WINDOW_APP_WINDOW_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698