Chromium Code Reviews| Index: sky/engine/core/rendering/RenderRemote.h |
| diff --git a/sky/engine/core/inspector/IdentifiersFactory.h b/sky/engine/core/rendering/RenderRemote.h |
| similarity index 73% |
| copy from sky/engine/core/inspector/IdentifiersFactory.h |
| copy to sky/engine/core/rendering/RenderRemote.h |
| index ae4308a1aa9b5aaef96f82e80ef9971dcd186c5d..46688b2cb8f70dbcdd5bd40cfb418c0e27b89694 100644 |
| --- a/sky/engine/core/inspector/IdentifiersFactory.h |
| +++ b/sky/engine/core/rendering/RenderRemote.h |
| @@ -1,5 +1,5 @@ |
| /* |
| - * Copyright (C) 2011 Google Inc. All rights reserved. |
| + * Copyright (C) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. |
| * |
| * Redistribution and use in source and binary forms, with or without |
|
esprehn
2014/11/06 22:40:28
All the files should use the google 3 line copyrig
Matt Perry
2014/11/06 23:38:50
Done.
|
| * modification, are permitted provided that the following conditions |
| @@ -23,25 +23,25 @@ |
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| */ |
| -#ifndef IdentifiersFactory_h |
| -#define IdentifiersFactory_h |
| +#ifndef RenderRemote_h |
| +#define RenderRemote_h |
| -#include "wtf/text/WTFString.h" |
| +#include "core/rendering/RenderReplaced.h" |
| namespace blink { |
| -class IdentifiersFactory { |
| +class HTMLViewElement; |
| + |
| +class RenderRemote : public RenderReplaced { |
| public: |
| - static void setProcessId(long processId) { s_processId = processId; } |
| - static String createIdentifier(); |
| - static String requestId(unsigned long identifier); |
| -private: |
| - static String addProcessIdPrefixTo(const String& id); |
| + explicit RenderRemote(HTMLViewElement*); |
| + virtual ~RenderRemote(); |
| - static long s_processId; |
| +private: |
| + virtual LayerType layerTypeRequired() const override { return NormalLayer; } |
| + virtual void paintReplaced(PaintInfo& paintInfo, const LayoutPoint& paintOffset); |
| }; |
| } // namespace blink |
| - |
| -#endif // IdentifiersFactory_h |
| +#endif // RenderRemote_h |