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

Unified Diff: chrome/test/data/instant_extended.html

Issue 16413002: Moved theme related state from BrowserInstantController to InstantService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 6 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/renderer/searchbox/searchbox.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/instant_extended.html
diff --git a/chrome/test/data/instant_extended.html b/chrome/test/data/instant_extended.html
index acff3da4714399ce2ecd8624969cca9bbebcd7d8..ecf58217dfca98527a9ec8ad000a0ee90e4e4a55 100644
--- a/chrome/test/data/instant_extended.html
+++ b/chrome/test/data/instant_extended.html
@@ -21,6 +21,7 @@ var onFocusChangedCalls = 0;
var onToggleVoiceSearchCalls = 0;
var isFocused = false;
var onvisibilitycalls = 0;
+var onThemeChangedCalls = 0;
function getApiHandle() {
if (window.navigator && window.navigator.searchBox)
@@ -117,6 +118,10 @@ function handleToggleVoiceSearch() {
onToggleVoiceSearchCalls++;
}
+function handleThemeChange() {
+ onThemeChangedCalls++;
+}
+
function setUp() {
apiHandle = getApiHandle();
if (!apiHandle)
@@ -130,6 +135,7 @@ function setUp() {
apiHandle.onfocuschange = handleFocusChange;
apiHandle.ontogglevoicesearch = handleToggleVoiceSearch;
newTabPageHandle.onmostvisitedchange = handleMostVisitedChange;
+ newTabPageHandle.onthemechange = handleThemeChange;
if (apiHandle.value) {
handleNativeSuggestions();
handleOnChange();
« no previous file with comments | « chrome/renderer/searchbox/searchbox.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698