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

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

Issue 2873213003: Move WebFrame to use WebLocalFrameBase instead of WebLocalFrameImpl. (Closed)
Patch Set: rebase 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
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1613 matching lines...) Expand 10 before | Expand all | Expand 10 after
1624 } 1624 }
1625 1625
1626 DEFINE_TRACE(WebLocalFrameImpl) { 1626 DEFINE_TRACE(WebLocalFrameImpl) {
1627 visitor->Trace(local_frame_client_impl_); 1627 visitor->Trace(local_frame_client_impl_);
1628 visitor->Trace(frame_); 1628 visitor->Trace(frame_);
1629 visitor->Trace(dev_tools_agent_); 1629 visitor->Trace(dev_tools_agent_);
1630 visitor->Trace(text_finder_); 1630 visitor->Trace(text_finder_);
1631 visitor->Trace(print_context_); 1631 visitor->Trace(print_context_);
1632 visitor->Trace(context_menu_node_); 1632 visitor->Trace(context_menu_node_);
1633 visitor->Trace(text_checker_client_); 1633 visitor->Trace(text_checker_client_);
1634 WebLocalFrameBase::Trace(visitor);
1635 // TODO(slangley): Call this from WebLocalFrameBase, once WebFrame is in core.
1634 WebFrame::TraceFrames(visitor, this); 1636 WebFrame::TraceFrames(visitor, this);
1635 } 1637 }
1636 1638
1637 void WebLocalFrameImpl::SetCoreFrame(LocalFrame* frame) { 1639 void WebLocalFrameImpl::SetCoreFrame(LocalFrame* frame) {
1638 frame_ = frame; 1640 frame_ = frame;
1639 } 1641 }
1640 1642
1641 void WebLocalFrameImpl::InitializeCoreFrame(Page& page, 1643 void WebLocalFrameImpl::InitializeCoreFrame(Page& page,
1642 FrameOwner* owner, 1644 FrameOwner* owner,
1643 const AtomicString& name) { 1645 const AtomicString& name) {
(...skipping 944 matching lines...) Expand 10 before | Expand all | Expand 10 after
2588 TextCheckerClient& WebLocalFrameImpl::GetTextCheckerClient() const { 2590 TextCheckerClient& WebLocalFrameImpl::GetTextCheckerClient() const {
2589 return *text_checker_client_; 2591 return *text_checker_client_;
2590 } 2592 }
2591 2593
2592 void WebLocalFrameImpl::SetTextCheckClient( 2594 void WebLocalFrameImpl::SetTextCheckClient(
2593 WebTextCheckClient* text_check_client) { 2595 WebTextCheckClient* text_check_client) {
2594 text_check_client_ = text_check_client; 2596 text_check_client_ = text_check_client;
2595 } 2597 }
2596 2598
2597 } // namespace blink 2599 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698