OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef SKY_ENGINE_PUBLIC_WEB_WEBLOCALFRAME_H_ | |
6 #define SKY_ENGINE_PUBLIC_WEB_WEBLOCALFRAME_H_ | |
7 | |
8 #include "sky/engine/public/web/WebFrame.h" | |
9 | |
10 namespace blink { | |
11 | |
12 // Interface for interacting with in process frames. This contains methods that | |
13 // require interacting with a frame's document. | |
14 // FIXME: Move lots of methods from WebFrame in here. | |
15 class WebLocalFrame : public WebFrame { | |
16 public: | |
17 // Creates a WebFrame. Delete this WebFrame by calling WebFrame::close(). | |
18 // It is valid to pass a null client pointer. | |
19 BLINK_EXPORT static WebLocalFrame* create(WebFrameClient*); | |
20 }; | |
21 | |
22 } // namespace blink | |
23 | |
24 #endif // SKY_ENGINE_PUBLIC_WEB_WEBLOCALFRAME_H_ | |
OLD | NEW |