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

Side by Side Diff: extensions/browser/api/app_view/app_view_internal_api.h

Issue 354483004: Implement <appview> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@app_view_skeleton
Patch Set: Fixed formatting Created 6 years, 5 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
(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 EXTENSIONS_BROWSER_API_APP_VIEW_APP_VIEW_INTERNAL_API_H_
6 #define EXTENSIONS_BROWSER_API_APP_VIEW_APP_VIEW_INTERNAL_API_H_
7
8 #include "extensions/browser/extension_function.h"
9
10 namespace extensions {
11
12 class AppViewInternalAttachFrameFunction : public AsyncExtensionFunction {
13 public:
14 DECLARE_EXTENSION_FUNCTION("appViewInternal.attachFrame",
15 APPVIEWINTERNAL_ATTACHFRAME);
16 AppViewInternalAttachFrameFunction();
17
18 protected:
19 virtual ~AppViewInternalAttachFrameFunction() {}
20 virtual bool RunAsync() OVERRIDE FINAL;
21
22 private:
23 DISALLOW_COPY_AND_ASSIGN(AppViewInternalAttachFrameFunction);
24 };
25
26 class AppViewInternalDenyRequestFunction : public AsyncExtensionFunction {
27 public:
28 DECLARE_EXTENSION_FUNCTION("appViewInternal.denyRequest",
29 APPVIEWINTERNAL_DENYREQUEST);
30 AppViewInternalDenyRequestFunction();
31
32 protected:
33 virtual ~AppViewInternalDenyRequestFunction() {}
34 virtual bool RunAsync() OVERRIDE FINAL;
35
36 private:
37 DISALLOW_COPY_AND_ASSIGN(AppViewInternalDenyRequestFunction);
38 };
39
40 } // namespace extensions
41
42 #endif // EXTENSIONS_BROWSER_API_APP_VIEW_APP_VIEW_INTERNAL_API_H_
OLDNEW
« no previous file with comments | « extensions/browser/api/app_runtime/app_runtime_api.cc ('k') | extensions/browser/api/app_view/app_view_internal_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698