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

Side by Side Diff: components/ui/zoom/page_zoom.cc

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/ui/zoom/page_zoom.h" 5 #include "components/ui/zoom/page_zoom.h"
6 6
7 #include <stddef.h>
8
7 #include <algorithm> 9 #include <algorithm>
8 #include <cmath> 10 #include <cmath>
9 11
10 #include "base/prefs/pref_service.h" 12 #include "base/prefs/pref_service.h"
11 #include "components/ui/zoom/page_zoom_constants.h" 13 #include "components/ui/zoom/page_zoom_constants.h"
12 #include "components/ui/zoom/zoom_controller.h" 14 #include "components/ui/zoom/zoom_controller.h"
13 #include "content/public/browser/host_zoom_map.h" 15 #include "content/public/browser/host_zoom_map.h"
14 #include "content/public/browser/render_view_host.h" 16 #include "content/public/browser/render_view_host.h"
15 #include "content/public/browser/user_metrics.h" 17 #include "content/public/browser/user_metrics.h"
16 #include "content/public/browser/web_contents.h" 18 #include "content/public/browser/web_contents.h"
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 zoom_controller->SetZoomLevel(zoom_level); 121 zoom_controller->SetZoomLevel(zoom_level);
120 content::RecordAction(UserMetricsAction("ZoomPlus")); 122 content::RecordAction(UserMetricsAction("ZoomPlus"));
121 return; 123 return;
122 } 124 }
123 } 125 }
124 content::RecordAction(UserMetricsAction("ZoomPlus_AtMaximum")); 126 content::RecordAction(UserMetricsAction("ZoomPlus_AtMaximum"));
125 } 127 }
126 } 128 }
127 129
128 } // namespace ui_zoom 130 } // namespace ui_zoom
OLDNEW
« no previous file with comments | « components/translate/ios/browser/js_language_detection_manager.h ('k') | components/ui/zoom/page_zoom_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698