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

Side by Side Diff: chrome/browser/resources/options/browser_options.js

Issue 152303003: [Hotword] Fix function name typo. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options/browser_options_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 cr.define('options', function() { 5 cr.define('options', function() {
6 var OptionsPage = options.OptionsPage; 6 var OptionsPage = options.OptionsPage;
7 var ArrayDataModel = cr.ui.ArrayDataModel; 7 var ArrayDataModel = cr.ui.ArrayDataModel;
8 var RepeatingButton = cr.ui.RepeatingButton; 8 var RepeatingButton = cr.ui.RepeatingButton;
9 9
10 // 10 //
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 121
122 Preferences.getInstance().addEventListener('homepage', 122 Preferences.getInstance().addEventListener('homepage',
123 this.onHomePageChanged_.bind(this)); 123 this.onHomePageChanged_.bind(this));
124 Preferences.getInstance().addEventListener('homepage_is_newtabpage', 124 Preferences.getInstance().addEventListener('homepage_is_newtabpage',
125 this.onHomePageIsNtpChanged_.bind(this)); 125 this.onHomePageIsNtpChanged_.bind(this));
126 126
127 $('change-home-page').onclick = function(event) { 127 $('change-home-page').onclick = function(event) {
128 OptionsPage.navigateToPage('homePageOverlay'); 128 OptionsPage.navigateToPage('homePageOverlay');
129 }; 129 };
130 130
131 chrome.send('requestHotwordAvailabile'); 131 chrome.send('requestHotwordAvailable');
132 132
133 if ($('set-wallpaper')) { 133 if ($('set-wallpaper')) {
134 $('set-wallpaper').onclick = function(event) { 134 $('set-wallpaper').onclick = function(event) {
135 chrome.send('openWallpaperManager'); 135 chrome.send('openWallpaperManager');
136 }; 136 };
137 } 137 }
138 138
139 $('themes-gallery').onclick = function(event) { 139 $('themes-gallery').onclick = function(event) {
140 window.open(loadTimeData.getString('themesGalleryURL')); 140 window.open(loadTimeData.getString('themesGalleryURL'));
141 }; 141 };
(...skipping 1467 matching lines...) Expand 10 before | Expand all | Expand 10 after
1609 BrowserOptions.getLoggedInUsername = function() { 1609 BrowserOptions.getLoggedInUsername = function() {
1610 return BrowserOptions.getInstance().username_; 1610 return BrowserOptions.getInstance().username_;
1611 }; 1611 };
1612 } 1612 }
1613 1613
1614 // Export 1614 // Export
1615 return { 1615 return {
1616 BrowserOptions: BrowserOptions 1616 BrowserOptions: BrowserOptions
1617 }; 1617 };
1618 }); 1618 });
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options/browser_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698