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

Side by Side Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp

Issue 1461193003: Revert of [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make patch applicable Created 5 years 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 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 1818 matching lines...) Expand 10 before | Expand all | Expand 10 after
1829 return fromFrame(toLocalFrame(toHTMLFrameElementBase(element)->contentFrame( ))); 1829 return fromFrame(toLocalFrame(toHTMLFrameElementBase(element)->contentFrame( )));
1830 } 1830 }
1831 1831
1832 WebViewImpl* WebLocalFrameImpl::viewImpl() const 1832 WebViewImpl* WebLocalFrameImpl::viewImpl() const
1833 { 1833 {
1834 if (!frame()) 1834 if (!frame())
1835 return 0; 1835 return 0;
1836 return WebViewImpl::fromPage(frame()->page()); 1836 return WebViewImpl::fromPage(frame()->page());
1837 } 1837 }
1838 1838
1839 WebDevToolsAgentImpl* WebLocalFrameImpl::devToolsAgentImpl() const
1840 {
1841 return m_devToolsAgent.get();
1842 }
1843
1844 WebDataSourceImpl* WebLocalFrameImpl::dataSourceImpl() const 1839 WebDataSourceImpl* WebLocalFrameImpl::dataSourceImpl() const
1845 { 1840 {
1846 return static_cast<WebDataSourceImpl*>(dataSource()); 1841 return static_cast<WebDataSourceImpl*>(dataSource());
1847 } 1842 }
1848 1843
1849 WebDataSourceImpl* WebLocalFrameImpl::provisionalDataSourceImpl() const 1844 WebDataSourceImpl* WebLocalFrameImpl::provisionalDataSourceImpl() const
1850 { 1845 {
1851 return static_cast<WebDataSourceImpl*>(provisionalDataSource()); 1846 return static_cast<WebDataSourceImpl*>(provisionalDataSource());
1852 } 1847 }
1853 1848
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
2217 } 2212 }
2218 2213
2219 WebSandboxFlags WebLocalFrameImpl::effectiveSandboxFlags() const 2214 WebSandboxFlags WebLocalFrameImpl::effectiveSandboxFlags() const
2220 { 2215 {
2221 if (!frame()) 2216 if (!frame())
2222 return WebSandboxFlags::None; 2217 return WebSandboxFlags::None;
2223 return static_cast<WebSandboxFlags>(frame()->loader().effectiveSandboxFlags( )); 2218 return static_cast<WebSandboxFlags>(frame()->loader().effectiveSandboxFlags( ));
2224 } 2219 }
2225 2220
2226 } // namespace blink 2221 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.h ('k') | third_party/WebKit/Source/web/WebPluginLoadObserver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698