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

Side by Side Diff: chrome/browser/history/top_sites.cc

Issue 773103004: Remove NOTIFICATION_HISTORY_URLS_DELETED (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to tip Created 5 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 | « chrome/browser/history/top_sites.h ('k') | chrome/browser/history/top_sites_impl.h » ('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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/history/top_sites.h" 5 #include "chrome/browser/history/top_sites.h"
6 6
7 #include "base/strings/string_util.h" 7 #include "base/strings/string_util.h"
8 #include "chrome/browser/history/top_sites_impl.h" 8 #include "chrome/browser/history/top_sites_impl.h"
9 #include "chrome/grit/chromium_strings.h" 9 #include "chrome/grit/chromium_strings.h"
10 #include "chrome/grit/generated_resources.h" 10 #include "chrome/grit/generated_resources.h"
11 #include "chrome/grit/locale_settings.h" 11 #include "chrome/grit/locale_settings.h"
12 #include "components/history/core/browser/top_sites_observer.h"
12 #include "grit/theme_resources.h" 13 #include "grit/theme_resources.h"
13 14
14 namespace history { 15 namespace history {
15 16
16 const TopSites::PrepopulatedPage kPrepopulatedPages[] = { 17 const TopSites::PrepopulatedPage kPrepopulatedPages[] = {
17 #if !defined(OS_ANDROID) 18 #if !defined(OS_ANDROID)
18 { IDS_CHROME_WELCOME_URL, IDS_NEW_TAB_CHROME_WELCOME_PAGE_TITLE, 19 { IDS_CHROME_WELCOME_URL, IDS_NEW_TAB_CHROME_WELCOME_PAGE_TITLE,
19 IDR_PRODUCT_LOGO_16, IDR_NEWTAB_CHROME_WELCOME_PAGE_THUMBNAIL, 20 IDR_PRODUCT_LOGO_16, IDR_NEWTAB_CHROME_WELCOME_PAGE_THUMBNAIL,
20 SkColorSetRGB(0, 147, 60) }, 21 SkColorSetRGB(0, 147, 60) },
21 { IDS_WEBSTORE_URL, IDS_EXTENSION_WEB_STORE_TITLE, 22 { IDS_WEBSTORE_URL, IDS_EXTENSION_WEB_STORE_TITLE,
(...skipping 25 matching lines...) Expand all
47 48
48 void TopSites::NotifyTopSitesLoaded() { 49 void TopSites::NotifyTopSitesLoaded() {
49 FOR_EACH_OBSERVER(TopSitesObserver, observer_list_, TopSitesLoaded(this)); 50 FOR_EACH_OBSERVER(TopSitesObserver, observer_list_, TopSitesLoaded(this));
50 } 51 }
51 52
52 void TopSites::NotifyTopSitesChanged() { 53 void TopSites::NotifyTopSitesChanged() {
53 FOR_EACH_OBSERVER(TopSitesObserver, observer_list_, TopSitesChanged(this)); 54 FOR_EACH_OBSERVER(TopSitesObserver, observer_list_, TopSitesChanged(this));
54 } 55 }
55 56
56 } // namespace history 57 } // namespace history
OLDNEW
« no previous file with comments | « chrome/browser/history/top_sites.h ('k') | chrome/browser/history/top_sites_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698