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

Side by Side Diff: sky/engine/web/WebFrame.cpp

Issue 1210153009: Remove (almost all of) //sky/engine/web (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 months 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/web/WebFontImpl.cpp ('k') | sky/engine/web/WebLocalFrameImpl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 #include "sky/engine/public/web/WebFrame.h"
6
7 #include <algorithm>
8 #include "sky/engine/web/WebLocalFrameImpl.h"
9
10 namespace blink {
11
12 Frame* toCoreFrame(const WebFrame* frame)
13 {
14 if (!frame)
15 return 0;
16
17 return static_cast<Frame*>(toWebLocalFrameImpl(frame)->frame());
18 }
19
20 WebFrame* WebFrame::fromFrame(Frame* frame)
21 {
22 if (!frame)
23 return 0;
24 return WebLocalFrameImpl::fromFrame(toLocalFrame(*frame));
25 }
26
27 WebFrame::WebFrame()
28 {
29 }
30
31 WebFrame::~WebFrame()
32 {
33 }
34
35 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/web/WebFontImpl.cpp ('k') | sky/engine/web/WebLocalFrameImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698