mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This CL introduces an HTMLViewElement which, when inserted into a document, causes a mojo::View to be created and navigated to the provided URL. No compositing is done, but the view manager handles the rendering (as I understand it). R=abarth@chromium.org Review URL: https://codereview.chromium.org/708903002
27 lines
659 B
C++
27 lines
659 B
C++
// Copyright 2014 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef RenderRemote_h
|
|
#define RenderRemote_h
|
|
|
|
#include "core/rendering/RenderReplaced.h"
|
|
|
|
namespace blink {
|
|
|
|
class HTMLIFrameElement;
|
|
|
|
class RenderRemote : public RenderReplaced {
|
|
public:
|
|
explicit RenderRemote(HTMLIFrameElement*);
|
|
virtual ~RenderRemote();
|
|
|
|
private:
|
|
virtual LayerType layerTypeRequired() const override { return NormalLayer; }
|
|
virtual void paintReplaced(PaintInfo& paintInfo, const LayoutPoint& paintOffset);
|
|
};
|
|
|
|
} // namespace blink
|
|
|
|
#endif // RenderRemote_h
|