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

Side by Side Diff: chrome/browser/ui/webui/app_launcher_login_handler.cc

Issue 1756503003: NTP4: remove unused promo C++ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bubble-promo-ui
Patch Set: check Created 4 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 unified diff | Download patch
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 #include "chrome/browser/ui/webui/app_launcher_login_handler.h" 5 #include "chrome/browser/ui/webui/app_launcher_login_handler.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 18 matching lines...) Expand all
29 #include "chrome/browser/ui/chrome_pages.h" 29 #include "chrome/browser/ui/chrome_pages.h"
30 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h" 30 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h"
31 #include "chrome/browser/ui/webui/profile_info_watcher.h" 31 #include "chrome/browser/ui/webui/profile_info_watcher.h"
32 #include "chrome/common/pref_names.h" 32 #include "chrome/common/pref_names.h"
33 #include "chrome/common/url_constants.h" 33 #include "chrome/common/url_constants.h"
34 #include "chrome/grit/chromium_strings.h" 34 #include "chrome/grit/chromium_strings.h"
35 #include "chrome/grit/generated_resources.h" 35 #include "chrome/grit/generated_resources.h"
36 #include "components/browser_sync/browser/profile_sync_service.h" 36 #include "components/browser_sync/browser/profile_sync_service.h"
37 #include "components/prefs/pref_service.h" 37 #include "components/prefs/pref_service.h"
38 #include "components/signin/core/browser/signin_manager.h" 38 #include "components/signin/core/browser/signin_manager.h"
39 #include "components/web_resource/promo_resource_service.h"
40 #include "content/public/browser/host_zoom_map.h" 39 #include "content/public/browser/host_zoom_map.h"
41 #include "content/public/browser/user_metrics.h" 40 #include "content/public/browser/user_metrics.h"
42 #include "content/public/browser/web_contents.h" 41 #include "content/public/browser/web_contents.h"
43 #include "content/public/browser/web_ui.h" 42 #include "content/public/browser/web_ui.h"
44 #include "content/public/common/page_zoom.h" 43 #include "content/public/common/page_zoom.h"
45 #include "net/base/escape.h" 44 #include "net/base/escape.h"
46 #include "skia/ext/image_operations.h" 45 #include "skia/ext/image_operations.h"
47 #include "ui/base/l10n/l10n_util.h" 46 #include "ui/base/l10n/l10n_util.h"
48 #include "ui/base/webui/web_ui_util.h" 47 #include "ui/base/webui/web_ui_util.h"
49 #include "ui/gfx/canvas.h" 48 #include "ui/gfx/canvas.h"
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 values->SetString("login_status_message", message); 258 values->SetString("login_status_message", message);
260 values->SetString("login_status_url", 259 values->SetString("login_status_url",
261 hide_sync ? std::string() : chrome::kSyncLearnMoreURL); 260 hide_sync ? std::string() : chrome::kSyncLearnMoreURL);
262 values->SetString("login_status_advanced", 261 values->SetString("login_status_advanced",
263 hide_sync ? base::string16() : 262 hide_sync ? base::string16() :
264 l10n_util::GetStringUTF16(IDS_SYNC_PROMO_NTP_BUBBLE_ADVANCED)); 263 l10n_util::GetStringUTF16(IDS_SYNC_PROMO_NTP_BUBBLE_ADVANCED));
265 values->SetString("login_status_dismiss", 264 values->SetString("login_status_dismiss",
266 hide_sync ? base::string16() : 265 hide_sync ? base::string16() :
267 l10n_util::GetStringUTF16(IDS_SYNC_PROMO_NTP_BUBBLE_OK)); 266 l10n_util::GetStringUTF16(IDS_SYNC_PROMO_NTP_BUBBLE_OK));
268 } 267 }
OLDNEW
« no previous file with comments | « chrome/browser/chrome_notification_types.h ('k') | chrome/browser/ui/webui/ntp/new_tab_page_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698