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

Side by Side Diff: content/browser/host_zoom_map.cc

Issue 6657003: Update a bunch of files to the new location of notification files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 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 | Annotate | Revision Log
« no previous file with comments | « content/browser/host_zoom_map.h ('k') | content/browser/modal_html_dialog_delegate.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <cmath> 5 #include <cmath>
6 6
7 #include "content/browser/host_zoom_map.h" 7 #include "content/browser/host_zoom_map.h"
8 8
9 #include "base/string_piece.h" 9 #include "base/string_piece.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
11 #include "chrome/browser/prefs/pref_service.h" 11 #include "chrome/browser/prefs/pref_service.h"
12 #include "chrome/browser/prefs/scoped_user_pref_update.h" 12 #include "chrome/browser/prefs/scoped_user_pref_update.h"
13 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/common/notification_details.h"
15 #include "chrome/common/notification_service.h"
16 #include "chrome/common/notification_source.h"
17 #include "chrome/common/notification_type.h"
18 #include "chrome/common/pref_names.h" 14 #include "chrome/common/pref_names.h"
19 #include "content/browser/browser_thread.h" 15 #include "content/browser/browser_thread.h"
20 #include "content/browser/renderer_host/render_process_host.h" 16 #include "content/browser/renderer_host/render_process_host.h"
21 #include "content/browser/renderer_host/render_view_host.h" 17 #include "content/browser/renderer_host/render_view_host.h"
18 #include "content/common/notification_details.h"
19 #include "content/common/notification_service.h"
20 #include "content/common/notification_source.h"
21 #include "content/common/notification_type.h"
22 #include "googleurl/src/gurl.h" 22 #include "googleurl/src/gurl.h"
23 #include "net/base/net_util.h" 23 #include "net/base/net_util.h"
24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
25 25
26 using WebKit::WebView; 26 using WebKit::WebView;
27 27
28 HostZoomMap::HostZoomMap(Profile* profile) 28 HostZoomMap::HostZoomMap(Profile* profile)
29 : profile_(profile), 29 : profile_(profile),
30 updating_preferences_(false) { 30 updating_preferences_(false) {
31 Load(); 31 Load();
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 break; 252 break;
253 } 253 }
254 default: 254 default:
255 NOTREACHED() << "Unexpected preference observed."; 255 NOTREACHED() << "Unexpected preference observed.";
256 } 256 }
257 } 257 }
258 258
259 HostZoomMap::~HostZoomMap() { 259 HostZoomMap::~HostZoomMap() {
260 Shutdown(); 260 Shutdown();
261 } 261 }
OLDNEW
« no previous file with comments | « content/browser/host_zoom_map.h ('k') | content/browser/modal_html_dialog_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698