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

Unified Diff: chrome/test/data/extensions/api_test/notification_provider/test_app/app.js

Issue 461403005: add a test app using notification provider API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add copyright headers Created 6 years, 4 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
« no previous file with comments | « no previous file | chrome/test/data/extensions/api_test/notification_provider/test_app/main.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/notification_provider/test_app/app.js
diff --git a/ui/native_theme/native_theme_observer.cc b/chrome/test/data/extensions/api_test/notification_provider/test_app/app.js
similarity index 50%
copy from ui/native_theme/native_theme_observer.cc
copy to chrome/test/data/extensions/api_test/notification_provider/test_app/app.js
index f516a762027fccab32d569f2466d82c65252c104..f7cef878f9f49c9fc5c7e12f8241569be96e16db 100644
--- a/ui/native_theme/native_theme_observer.cc
+++ b/chrome/test/data/extensions/api_test/notification_provider/test_app/app.js
@@ -2,10 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/native_theme/native_theme_observer.h"
-
-namespace ui {
-
-NativeThemeObserver::~NativeThemeObserver() {}
-
-} // namespace ui
+chrome.app.runtime.onLaunched.addListener(function () {
+ chrome.app.window.create("window.html", {
+ id: "mainwin",
+ bounds: {width:600, height:1000}
+ });
+});
« no previous file with comments | « no previous file | chrome/test/data/extensions/api_test/notification_provider/test_app/main.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698