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

Unified Diff: chrome/browser/resources/uber/uber_frame.js

Issue 9693032: [uber page] Split up initialization of handlers from initialization of webui pages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: kevers rebase Created 8 years, 9 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 | « chrome/browser/resources/uber/uber_frame.css ('k') | chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/uber/uber_frame.js
diff --git a/chrome/browser/resources/uber/uber_frame.js b/chrome/browser/resources/uber/uber_frame.js
index 0326c357f670b8d58b170c4e73a84b83fb233f5d..86d20e4159c84103a19eb97a07e95ae411da6d9f 100644
--- a/chrome/browser/resources/uber/uber_frame.js
+++ b/chrome/browser/resources/uber/uber_frame.js
@@ -34,6 +34,8 @@ cr.define('uber_frame', function() {
* @param {Event} e The click event.
*/
function onNavItemClicked(e) {
+ assert(!e.target.classList.contains('selected'));
Evan Stade 2012/03/14 21:12:25 seems like it will still be clickable when we impl
Dan Beam 2012/03/14 22:59:44 Done.
+
uber.invokeMethodOnParent('showPage',
{pageId: e.currentTarget.getAttribute('controls')});
« no previous file with comments | « chrome/browser/resources/uber/uber_frame.css ('k') | chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698