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

Side by Side Diff: Source/web/RemoteFrameClient.cpp

Issue 462353003: Cleanup namespace usage in Source/web[A-V]*.cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Minor updates Created 6 years, 4 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 | « Source/web/PrerendererClientImpl.cpp ('k') | Source/web/ScrollbarGroup.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 #include "config.h" 5 #include "config.h"
6 #include "web/RemoteFrameClient.h" 6 #include "web/RemoteFrameClient.h"
7 7
8 #include "web/WebRemoteFrameImpl.h" 8 #include "web/WebRemoteFrameImpl.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 RemoteFrameClient::RemoteFrameClient(WebRemoteFrameImpl* webFrame) 12 RemoteFrameClient::RemoteFrameClient(WebRemoteFrameImpl* webFrame)
13 : m_webFrame(webFrame) 13 : m_webFrame(webFrame)
14 { 14 {
15 } 15 }
16 16
17 blink::Frame* RemoteFrameClient::opener() const 17 Frame* RemoteFrameClient::opener() const
18 { 18 {
19 return toWebCoreFrame(m_webFrame->opener()); 19 return toWebCoreFrame(m_webFrame->opener());
20 } 20 }
21 21
22 void RemoteFrameClient::setOpener(blink::Frame*) 22 void RemoteFrameClient::setOpener(Frame*)
23 { 23 {
24 // FIXME: Implement. 24 // FIXME: Implement.
25 } 25 }
26 26
27 blink::Frame* RemoteFrameClient::parent() const 27 Frame* RemoteFrameClient::parent() const
28 { 28 {
29 return toWebCoreFrame(m_webFrame->parent()); 29 return toWebCoreFrame(m_webFrame->parent());
30 } 30 }
31 31
32 blink::Frame* RemoteFrameClient::top() const 32 Frame* RemoteFrameClient::top() const
33 { 33 {
34 return toWebCoreFrame(m_webFrame->top()); 34 return toWebCoreFrame(m_webFrame->top());
35 } 35 }
36 36
37 blink::Frame* RemoteFrameClient::previousSibling() const 37 Frame* RemoteFrameClient::previousSibling() const
38 { 38 {
39 return toWebCoreFrame(m_webFrame->previousSibling()); 39 return toWebCoreFrame(m_webFrame->previousSibling());
40 } 40 }
41 41
42 blink::Frame* RemoteFrameClient::nextSibling() const 42 Frame* RemoteFrameClient::nextSibling() const
43 { 43 {
44 return toWebCoreFrame(m_webFrame->nextSibling()); 44 return toWebCoreFrame(m_webFrame->nextSibling());
45 } 45 }
46 46
47 blink::Frame* RemoteFrameClient::firstChild() const 47 Frame* RemoteFrameClient::firstChild() const
48 { 48 {
49 return toWebCoreFrame(m_webFrame->firstChild()); 49 return toWebCoreFrame(m_webFrame->firstChild());
50 } 50 }
51 51
52 blink::Frame* RemoteFrameClient::lastChild() const 52 Frame* RemoteFrameClient::lastChild() const
53 { 53 {
54 return toWebCoreFrame(m_webFrame->lastChild()); 54 return toWebCoreFrame(m_webFrame->lastChild());
55 } 55 }
56 56
57 } // namespace blink 57 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/PrerendererClientImpl.cpp ('k') | Source/web/ScrollbarGroup.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698