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

Side by Side Diff: chrome/browser/search/instant_service.cc

Issue 18644007: Update some includes of chrome_notification_types.h (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix deps Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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/search/instant_service.h" 5 #include "chrome/browser/search/instant_service.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
11 #include "chrome/browser/chrome_notification_types.h"
11 #include "chrome/browser/history/history_notifications.h" 12 #include "chrome/browser/history/history_notifications.h"
12 #include "chrome/browser/history/top_sites.h" 13 #include "chrome/browser/history/top_sites.h"
13 #include "chrome/browser/profiles/profile.h" 14 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/browser/search/instant_io_context.h" 15 #include "chrome/browser/search/instant_io_context.h"
15 #include "chrome/browser/search/instant_service_factory.h" 16 #include "chrome/browser/search/instant_service_factory.h"
16 #include "chrome/browser/search/instant_service_observer.h" 17 #include "chrome/browser/search/instant_service_observer.h"
17 #include "chrome/browser/search/local_ntp_source.h" 18 #include "chrome/browser/search/local_ntp_source.h"
18 #include "chrome/browser/search/most_visited_iframe_source.h" 19 #include "chrome/browser/search/most_visited_iframe_source.h"
19 #include "chrome/browser/search/search.h" 20 #include "chrome/browser/search/search.h"
20 #include "chrome/browser/themes/theme_properties.h" 21 #include "chrome/browser/themes/theme_properties.h"
21 #include "chrome/browser/themes/theme_service.h" 22 #include "chrome/browser/themes/theme_service.h"
22 #include "chrome/browser/themes/theme_service_factory.h" 23 #include "chrome/browser/themes/theme_service_factory.h"
23 #include "chrome/browser/ui/webui/favicon_source.h" 24 #include "chrome/browser/ui/webui/favicon_source.h"
24 #include "chrome/browser/ui/webui/ntp/thumbnail_source.h" 25 #include "chrome/browser/ui/webui/ntp/thumbnail_source.h"
25 #include "chrome/browser/ui/webui/theme_source.h" 26 #include "chrome/browser/ui/webui/theme_source.h"
26 #include "chrome/common/chrome_notification_types.h"
27 #include "content/public/browser/browser_thread.h" 27 #include "content/public/browser/browser_thread.h"
28 #include "content/public/browser/notification_service.h" 28 #include "content/public/browser/notification_service.h"
29 #include "content/public/browser/notification_types.h" 29 #include "content/public/browser/notification_types.h"
30 #include "content/public/browser/render_process_host.h" 30 #include "content/public/browser/render_process_host.h"
31 #include "content/public/browser/url_data_source.h" 31 #include "content/public/browser/url_data_source.h"
32 #include "grit/theme_resources.h" 32 #include "grit/theme_resources.h"
33 #include "net/url_request/url_request.h" 33 #include "net/url_request/url_request.h"
34 #include "ui/gfx/color_utils.h" 34 #include "ui/gfx/color_utils.h"
35 #include "ui/gfx/image/image_skia.h" 35 #include "ui/gfx/image/image_skia.h"
36 #include "ui/gfx/sys_color_change_listener.h" 36 #include "ui/gfx/sys_color_change_listener.h"
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 DCHECK(image); 290 DCHECK(image);
291 theme_info_->image_height = image->height(); 291 theme_info_->image_height = image->height();
292 292
293 theme_info_->has_attribution = 293 theme_info_->has_attribution =
294 theme_service->HasCustomImage(IDR_THEME_NTP_ATTRIBUTION); 294 theme_service->HasCustomImage(IDR_THEME_NTP_ATTRIBUTION);
295 } 295 }
296 296
297 FOR_EACH_OBSERVER(InstantServiceObserver, observers_, 297 FOR_EACH_OBSERVER(InstantServiceObserver, observers_,
298 ThemeInfoChanged(*theme_info_)); 298 ThemeInfoChanged(*theme_info_));
299 } 299 }
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_test.cc ('k') | chrome/browser/search_engines/search_provider_install_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698