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

Unified Diff: trunk/src/chrome/browser/ui/webui/ntp/new_tab_ui.h

Issue 264543002: Revert 267095 "Remove WebUI NTP on Android." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 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: trunk/src/chrome/browser/ui/webui/ntp/new_tab_ui.h
===================================================================
--- trunk/src/chrome/browser/ui/webui/ntp/new_tab_ui.h (revision 267099)
+++ trunk/src/chrome/browser/ui/webui/ntp/new_tab_ui.h (working copy)
@@ -39,6 +39,14 @@
static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
+ // Returns whether or not this browser process might ever need to show apps
+ // on the NTP. With Win8 running in immersive mode, for example, apps are
+ // displayed on a ChromeOS-style apps bar and not on the NTP. In desktop,
+ // however, apps are displayed on the NTP. Since they both share the same
+ // browser process instance, a different decision is necessary for whether
+ // or not to register app message handlers versus whether to show it on NTP.
+ static bool MightShowApps();
+
// Returns whether or not to show apps pages.
static bool ShouldShowApps();
« no previous file with comments | « trunk/src/chrome/browser/ui/webui/ntp/most_visited_handler.cc ('k') | trunk/src/chrome/browser/ui/webui/ntp/new_tab_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698