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

Side by Side Diff: apps/shell/browser/shell_app_window_api.h

Issue 284393002: Remove unused shell_app_window_api.h/cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | apps/shell/browser/shell_app_window_api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef APPS_SHELL_BROWSER_SHELL_APP_WINDOW_API_H_
6 #define APPS_SHELL_BROWSER_SHELL_APP_WINDOW_API_H_
7
8 #include "base/compiler_specific.h"
9 #include "extensions/browser/extension_function.h"
10
11 namespace extensions {
12
13 // A simplified implementation of the chrome.app.window.create() function for
14 // app_shell. Opens a fullscreen window and invokes the window callback. Most
15 // of the response is stub data, but the JS contentWindow is valid.
16 class ShellAppWindowCreateFunction : public AsyncExtensionFunction {
17 public:
18 ShellAppWindowCreateFunction();
19
20 // Don't use the APP_WINDOW_CREATE histogram so we don't pollute the
21 // statistics for the real Chrome implementation.
22 DECLARE_EXTENSION_FUNCTION("app.window.create", UNKNOWN);
23
24 private:
25 virtual ~ShellAppWindowCreateFunction();
26 virtual bool RunAsync() OVERRIDE;
27 };
28
29 } // namespace extensions
30
31 #endif // APPS_SHELL_BROWSER_SHELL_APP_WINDOW_API_H_
OLDNEW
« no previous file with comments | « no previous file | apps/shell/browser/shell_app_window_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698