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

Unified Diff: chrome/browser/resources/md_bookmarks/types.js

Issue 2731473002: MD Bookmarks: Implement basis for new data-binding system (Closed)
Patch Set: Created 3 years, 10 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
Index: chrome/browser/resources/md_bookmarks/types.js
diff --git a/chrome/browser/resources/md_bookmarks/types.js b/chrome/browser/resources/md_bookmarks/types.js
new file mode 100644
index 0000000000000000000000000000000000000000..50f33f6236eee77965127493fef66a0eca0fbf2b
--- /dev/null
+++ b/chrome/browser/resources/md_bookmarks/types.js
@@ -0,0 +1,19 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+/**
+ * @fileoverview Closure typedefs for MD Bookmarks.
+ */
+
+/** @typedef {!Object} */
+var BookmarksPageState;
+
+/** @typedef {{name: string}} */
+var Action;
+
+/** @interface */
+function StoreObserver(){};
+
+/** @param {BookmarksPageState} state */
+StoreObserver.prototype.onStateChanged = function(state) {};
michaelpg 2017/03/02 09:30:36 nit: newState, as in store_client.js
tsergeant 2017/03/02 23:20:35 Done.

Powered by Google App Engine
This is Rietveld 408576698