| OLD | NEW |
| 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 #include "config.h" | 5 #include "sky/engine/config.h" |
| 6 #include "public/web/WebFrame.h" | 6 #include "sky/engine/public/web/WebFrame.h" |
| 7 | 7 |
| 8 #include "platform/UserGestureIndicator.h" | |
| 9 #include "web/WebLocalFrameImpl.h" | |
| 10 #include <algorithm> | 8 #include <algorithm> |
| 9 #include "sky/engine/platform/UserGestureIndicator.h" |
| 10 #include "sky/engine/web/WebLocalFrameImpl.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 Frame* toCoreFrame(const WebFrame* frame) | 14 Frame* toCoreFrame(const WebFrame* frame) |
| 15 { | 15 { |
| 16 if (!frame) | 16 if (!frame) |
| 17 return 0; | 17 return 0; |
| 18 | 18 |
| 19 return static_cast<Frame*>(toWebLocalFrameImpl(frame)->frame()); | 19 return static_cast<Frame*>(toWebLocalFrameImpl(frame)->frame()); |
| 20 } | 20 } |
| (...skipping 17 matching lines...) Expand all Loading... |
| 38 | 38 |
| 39 WebFrame::WebFrame() | 39 WebFrame::WebFrame() |
| 40 { | 40 { |
| 41 } | 41 } |
| 42 | 42 |
| 43 WebFrame::~WebFrame() | 43 WebFrame::~WebFrame() |
| 44 { | 44 { |
| 45 } | 45 } |
| 46 | 46 |
| 47 } // namespace blink | 47 } // namespace blink |
| OLD | NEW |