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

Side by Side Diff: services/js/js_app_runner_delegate.h

Issue 757703002: Creates a JavaScript Applicaiton (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Do not try to call undefined Application methods. Created 6 years 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 SERVICES_JS_JS_APP_RUNNER_DELEGATE_H_
6 #define SERVICES_JS_JS_APP_RUNNER_DELEGATE_H_
7
8 #include "gin/modules/module_runner_delegate.h"
9 #include "gin/shell_runner.h"
10 #include "gin/try_catch.h"
11
12 namespace mojo {
13 namespace js {
14
15 class JSAppRunnerDelegate : public gin::ModuleRunnerDelegate {
16 public:
17 JSAppRunnerDelegate();
18 ~JSAppRunnerDelegate() override;
19
20 // From ModuleRunnerDelegate:
21 void UnhandledException(gin::ShellRunner* runner,
22 gin::TryCatch& try_catch) override;
23
24 private:
25 DISALLOW_COPY_AND_ASSIGN(JSAppRunnerDelegate);
26 };
27
28
abarth-chromium 2014/11/24 23:47:24 Extra blank line here.
hansmuller 2014/11/25 00:31:55 Done.
29 } // namespace js
30 } // namespace mojo
31
32 #endif // SERVICES_JS_JS_APP_RUNNER_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698