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

Side by Side Diff: sky/engine/core/html/HTMLIFrameElement.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: 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
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 HTMLIFrameElement_h 5 #ifndef HTMLIFrameElement_h
6 #define HTMLIFrameElement_h 6 #define HTMLIFrameElement_h
7 7
8 #include "core/HTMLNames.h" 8 #include "core/HTMLNames.h"
9 #include "core/dom/DOMURLUtils.h" 9 #include "core/dom/DOMURLUtils.h"
10 #include "core/dom/Document.h" 10 #include "core/dom/Document.h"
11 #include "core/html/HTMLElement.h" 11 #include "core/html/HTMLElement.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 class HTMLIFrameElement : public HTMLElement { 15 class HTMLIFrameElement : public HTMLElement {
16 DEFINE_WRAPPERTYPEINFO(); 16 DEFINE_WRAPPERTYPEINFO();
17 public: 17 public:
18 static PassRefPtr<HTMLIFrameElement> create(Document&); 18 static PassRefPtr<HTMLIFrameElement> create(Document&);
19 19
20 virtual ~HTMLIFrameElement(); 20 virtual ~HTMLIFrameElement();
21 21
22 uint32_t frame_id() const { return frame_id_; }
23
22 private: 24 private:
23 explicit HTMLIFrameElement(Document&); 25 explicit HTMLIFrameElement(Document&);
24 26
25 virtual RenderObject* createRenderer(RenderStyle* style) override; 27 virtual RenderObject* createRenderer(RenderStyle* style) override;
26 28
27 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; 29 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override;
28 virtual void removedFrom(ContainerNode*) override; 30 virtual void removedFrom(ContainerNode*) override;
29 31
30 private: 32 private:
31 void createView(); 33 void createView();
34
35 uint32_t frame_id_;
32 }; 36 };
33 37
34 } // namespace blink 38 } // namespace blink
35 39
36 #endif // HTMLIFrameElement_h 40 #endif // HTMLIFrameElement_h
OLDNEW
« no previous file with comments | « no previous file | sky/engine/core/html/HTMLIFrameElement.cpp » ('j') | sky/engine/core/loader/EmptyClients.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698