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

Side by Side Diff: chrome/browser/chromeos/first_run/step.cc

Issue 832953002: Cleanup: Update the path to gfx size headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years, 11 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 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/chromeos/first_run/step.h" 5 #include "chrome/browser/chromeos/first_run/step.h"
6 6
7 #include <cctype> 7 #include <cctype>
8 8
9 #include "ash/first_run/first_run_helper.h" 9 #include "ash/first_run/first_run_helper.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/metrics/histogram.h" 11 #include "base/metrics/histogram.h"
12 #include "chrome/browser/ui/webui/chromeos/first_run/first_run_actor.h" 12 #include "chrome/browser/ui/webui/chromeos/first_run/first_run_actor.h"
13 #include "ui/gfx/size.h" 13 #include "ui/gfx/geometry/size.h"
14 #include "ui/views/widget/widget.h" 14 #include "ui/views/widget/widget.h"
15 15
16 namespace { 16 namespace {
17 17
18 // Converts from "with-dashes-names" to "WithDashesNames". 18 // Converts from "with-dashes-names" to "WithDashesNames".
19 std::string ToCamelCase(const std::string& name) { 19 std::string ToCamelCase(const std::string& name) {
20 std::string result; 20 std::string result;
21 bool next_to_upper = true; 21 bool next_to_upper = true;
22 for (size_t i = 0; i < name.length(); ++i) { 22 for (size_t i = 0; i < name.length(); ++i) {
23 if (name[i] == '-') { 23 if (name[i] == '-') {
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 base::TimeDelta::FromMinutes(3), 80 base::TimeDelta::FromMinutes(3),
81 50, 81 50,
82 base::HistogramBase::kUmaTargetedHistogramFlag); 82 base::HistogramBase::kUmaTargetedHistogramFlag);
83 histogram->AddTime(base::Time::Now() - show_time_); 83 histogram->AddTime(base::Time::Now() - show_time_);
84 show_time_ = base::Time(); 84 show_time_ = base::Time();
85 } 85 }
86 86
87 } // namespace first_run 87 } // namespace first_run
88 } // namespace chromeos 88 } // namespace chromeos
89 89
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/bluetooth/bluetooth_pairing_dialog.cc ('k') | chrome/browser/chromeos/first_run/steps/tray_step.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698