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

Side by Side Diff: sky/engine/bindings/exception_messages.cc

Issue 915293003: Rename sky/engine/bindings2 to sky/engine/bindings (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: more better Created 5 years, 10 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
« no previous file with comments | « sky/engine/bindings/exception_messages.h ('k') | sky/engine/bindings/exception_state.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 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 "sky/engine/config.h" 5 #include "sky/engine/config.h"
6 #include "sky/engine/bindings2/exception_messages.h" 6 #include "sky/engine/bindings/exception_messages.h"
7 7
8 #include "sky/engine/platform/Decimal.h" 8 #include "sky/engine/platform/Decimal.h"
9 #include "sky/engine/wtf/MathExtras.h" 9 #include "sky/engine/wtf/MathExtras.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 String ExceptionMessages::failedToConstruct(const char* type, 13 String ExceptionMessages::failedToConstruct(const char* type,
14 const String& detail) { 14 const String& detail) {
15 return "Failed to construct '" + String(type) + 15 return "Failed to construct '" + String(type) +
16 (!detail.isEmpty() ? String("': " + detail) : String("'")); 16 (!detail.isEmpty() ? String("': " + detail) : String("'"));
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 String ExceptionMessages::formatNumber<float>(float number) { 157 String ExceptionMessages::formatNumber<float>(float number) {
158 return formatPotentiallyNonFiniteNumber(number); 158 return formatPotentiallyNonFiniteNumber(number);
159 } 159 }
160 160
161 template <> 161 template <>
162 String ExceptionMessages::formatNumber<double>(double number) { 162 String ExceptionMessages::formatNumber<double>(double number) {
163 return formatPotentiallyNonFiniteNumber(number); 163 return formatPotentiallyNonFiniteNumber(number);
164 } 164 }
165 165
166 } // namespace blink 166 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/bindings/exception_messages.h ('k') | sky/engine/bindings/exception_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698