| Index: Source/bindings/core/dart/DartInspectorConsoleMessage.h
 | 
| diff --git a/Source/platform/text/StringTruncator.h b/Source/bindings/core/dart/DartInspectorConsoleMessage.h
 | 
| similarity index 73%
 | 
| copy from Source/platform/text/StringTruncator.h
 | 
| copy to Source/bindings/core/dart/DartInspectorConsoleMessage.h
 | 
| index 5be0cc48c49c5edd9432d52687ce990051c8ff14..b9ccb9d8d42169513f252ff5158b254ffad12ae1 100644
 | 
| --- a/Source/platform/text/StringTruncator.h
 | 
| +++ b/Source/bindings/core/dart/DartInspectorConsoleMessage.h
 | 
| @@ -1,5 +1,5 @@
 | 
|  /*
 | 
| - * Copyright (C) 2005, 2006, 2007 Apple Inc.  All rights reserved.
 | 
| + * Copyright (C) 2014 Google Inc. All rights reserved.
 | 
|   *
 | 
|   * Redistribution and use in source and binary forms, with or without
 | 
|   * modification, are permitted provided that the following conditions
 | 
| @@ -26,23 +26,26 @@
 | 
|   * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 | 
|   */
 | 
|  
 | 
| -#ifndef StringTruncator_h
 | 
| -#define StringTruncator_h
 | 
| +#ifndef DartInspectorConsoleMessage_h
 | 
| +#define DartInspectorConsoleMessage_h
 | 
| +
 | 
| +#include "core/InspectorFrontend.h"
 | 
| +#include "core/inspector/ConsoleAPITypes.h"
 | 
| +#include "core/inspector/InspectorBaseAgent.h"
 | 
|  
 | 
| -#include "platform/PlatformExport.h"
 | 
|  #include "wtf/Forward.h"
 | 
|  
 | 
|  namespace blink {
 | 
|  
 | 
| -class Font;
 | 
| +class ConsoleMessage;
 | 
| +class InjectedScriptManager;
 | 
|  
 | 
| -class PLATFORM_EXPORT StringTruncator {
 | 
| +class DartInspectorConsoleMessage {
 | 
|  public:
 | 
| -    static String centerTruncate(const String&, float maxWidth, const Font&);
 | 
| -    static String rightTruncate(const String&, float maxWidth, const Font&);
 | 
| -    static float width(const String&, const Font&);
 | 
| +    static void addToFrontend(InspectorFrontend::Console*, InjectedScriptManager*, bool generatePreview, ConsoleMessage*, PassRefPtr<TypeBuilder::Console::ConsoleMessage> jsonObj);
 | 
|  };
 | 
|  
 | 
|  } // namespace blink
 | 
|  
 | 
| -#endif // !defined(StringTruncator_h)
 | 
| +
 | 
| +#endif // !defined(DartInspectorConsoleMessage_h)
 | 
| 
 |