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

Side by Side Diff: sky/engine/core/rendering/RenderRemote.h

Issue 682413006: Add a separate call to initialize the bounds for a sky <iframe> element. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: indent Created 6 years, 1 month 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/core/loader/FrameLoaderClient.h ('k') | sky/engine/core/rendering/RenderRemote.cpp » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef RenderRemote_h 5 #ifndef RenderRemote_h
6 #define RenderRemote_h 6 #define RenderRemote_h
7 7
8 #include "core/rendering/RenderReplaced.h" 8 #include "core/rendering/RenderReplaced.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 class HTMLIFrameElement; 12 class HTMLIFrameElement;
13 13
14 class RenderRemote : public RenderReplaced { 14 class RenderRemote : public RenderReplaced {
15 public: 15 public:
16 explicit RenderRemote(HTMLIFrameElement*); 16 explicit RenderRemote(HTMLIFrameElement*);
17 virtual ~RenderRemote(); 17 virtual ~RenderRemote();
18 18
19 protected:
20 void layout() override;
21
19 private: 22 private:
20 virtual LayerType layerTypeRequired() const override { return NormalLayer; } 23 LayerType layerTypeRequired() const override { return NormalLayer; }
21 virtual void paintReplaced(PaintInfo& paintInfo, const LayoutPoint& paintOff set); 24 void paintReplaced(PaintInfo& paintInfo, const LayoutPoint& paintOffset) ove rride;
22 }; 25 };
23 26
24 } // namespace blink 27 } // namespace blink
25 28
26 #endif // RenderRemote_h 29 #endif // RenderRemote_h
OLDNEW
« no previous file with comments | « sky/engine/core/loader/FrameLoaderClient.h ('k') | sky/engine/core/rendering/RenderRemote.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698