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

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

Issue 2795113002: Move ownership of TextCheckerClientImpl to WebLocalFrameImpl (Closed)
Patch Set: Rebased Created 3 years, 8 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, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 1018 matching lines...) Expand 10 before | Expand all | Expand 10 after
1029 void LocalFrameClientImpl::setHasReceivedUserGesture() { 1029 void LocalFrameClientImpl::setHasReceivedUserGesture() {
1030 if (m_webFrame->client()) 1030 if (m_webFrame->client())
1031 m_webFrame->client()->setHasReceivedUserGesture(); 1031 m_webFrame->client()->setHasReceivedUserGesture();
1032 } 1032 }
1033 1033
1034 void LocalFrameClientImpl::abortClientNavigation() { 1034 void LocalFrameClientImpl::abortClientNavigation() {
1035 if (m_webFrame->client()) 1035 if (m_webFrame->client())
1036 m_webFrame->client()->abortClientNavigation(); 1036 m_webFrame->client()->abortClientNavigation();
1037 } 1037 }
1038 1038
1039 TextCheckerClient& LocalFrameClientImpl::textCheckerClient() const {
1040 return m_webFrame->textCheckerClient();
1041 }
1042
1039 } // namespace blink 1043 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/LocalFrameClientImpl.h ('k') | third_party/WebKit/Source/web/SpellCheckerClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698