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

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

Issue 2854783003: Remove the last references from production code to WebViewImpl. (Closed)
Patch Set: Created 3 years, 7 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
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 1770 matching lines...) Expand 10 before | Expand all | Expand 10 after
1781 WebLocalFrameImpl* WebLocalFrameImpl::FromFrameOwnerElement(Element* element) { 1781 WebLocalFrameImpl* WebLocalFrameImpl::FromFrameOwnerElement(Element* element) {
1782 if (!element->IsFrameOwnerElement()) 1782 if (!element->IsFrameOwnerElement())
1783 return nullptr; 1783 return nullptr;
1784 return FromFrame( 1784 return FromFrame(
1785 ToLocalFrame(ToHTMLFrameOwnerElement(element)->ContentFrame())); 1785 ToLocalFrame(ToHTMLFrameOwnerElement(element)->ContentFrame()));
1786 } 1786 }
1787 1787
1788 WebViewBase* WebLocalFrameImpl::ViewImpl() const { 1788 WebViewBase* WebLocalFrameImpl::ViewImpl() const {
1789 if (!GetFrame()) 1789 if (!GetFrame())
1790 return nullptr; 1790 return nullptr;
1791 return WebViewImpl::FromPage(GetFrame()->GetPage()); 1791 return WebViewBase::FromPage(GetFrame()->GetPage());
1792 } 1792 }
1793 1793
1794 WebDataSourceImpl* WebLocalFrameImpl::DataSourceImpl() const { 1794 WebDataSourceImpl* WebLocalFrameImpl::DataSourceImpl() const {
1795 return static_cast<WebDataSourceImpl*>(DataSource()); 1795 return static_cast<WebDataSourceImpl*>(DataSource());
1796 } 1796 }
1797 1797
1798 WebDataSourceImpl* WebLocalFrameImpl::ProvisionalDataSourceImpl() const { 1798 WebDataSourceImpl* WebLocalFrameImpl::ProvisionalDataSourceImpl() const {
1799 return static_cast<WebDataSourceImpl*>(ProvisionalDataSource()); 1799 return static_cast<WebDataSourceImpl*>(ProvisionalDataSource());
1800 } 1800 }
1801 1801
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after
2573 TextCheckerClient& WebLocalFrameImpl::GetTextCheckerClient() const { 2573 TextCheckerClient& WebLocalFrameImpl::GetTextCheckerClient() const {
2574 return *text_checker_client_; 2574 return *text_checker_client_;
2575 } 2575 }
2576 2576
2577 void WebLocalFrameImpl::SetTextCheckClient( 2577 void WebLocalFrameImpl::SetTextCheckClient(
2578 WebTextCheckClient* text_check_client) { 2578 WebTextCheckClient* text_check_client) {
2579 text_check_client_ = text_check_client; 2579 text_check_client_ = text_check_client;
2580 } 2580 }
2581 2581
2582 } // namespace blink 2582 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698