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

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

Issue 8437002: Move BrowserThread to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A few updates. Created 9 years, 1 month 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 (c) 2011 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 "base/values.h" 11 #include "base/values.h"
12 #include "content/browser/renderer_host/render_process_host.h" 12 #include "content/browser/renderer_host/render_process_host.h"
13 #include "content/browser/renderer_host/render_view_host.h" 13 #include "content/browser/renderer_host/render_view_host.h"
14 #include "content/public/browser/browser_thread.h" 14 #include "content/public/browser/browser_thread.h"
15 #include "content/public/browser/notification_service.h" 15 #include "content/public/browser/notification_service.h"
16 #include "content/public/browser/notification_types.h" 16 #include "content/public/browser/notification_types.h"
17 #include "googleurl/src/gurl.h" 17 #include "googleurl/src/gurl.h"
18 #include "net/base/net_util.h" 18 #include "net/base/net_util.h"
19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
20 20
21 using content::BrowserThread;
21 using WebKit::WebView; 22 using WebKit::WebView;
22 23
23 HostZoomMap::HostZoomMap() 24 HostZoomMap::HostZoomMap()
24 : default_zoom_level_(0.0), 25 : default_zoom_level_(0.0),
25 original_(this) { 26 original_(this) {
26 Init(); 27 Init();
27 } 28 }
28 29
29 HostZoomMap::HostZoomMap(HostZoomMap* original) 30 HostZoomMap::HostZoomMap(HostZoomMap* original)
30 : default_zoom_level_(0.0), 31 : default_zoom_level_(0.0),
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 } 139 }
139 break; 140 break;
140 } 141 }
141 default: 142 default:
142 NOTREACHED() << "Unexpected preference observed."; 143 NOTREACHED() << "Unexpected preference observed.";
143 } 144 }
144 } 145 }
145 146
146 HostZoomMap::~HostZoomMap() { 147 HostZoomMap::~HostZoomMap() {
147 } 148 }
OLDNEW
« no previous file with comments | « content/browser/host_zoom_map.h ('k') | content/browser/in_process_webkit/dom_storage_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698