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

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

Issue 2929493003: Move handling of DraggableRegionsChanged notification from "view" to "frame". (Closed)
Patch Set: Removing the CHECK used to find test coverage [found in LaunchWebAuthFlowFunctionTest]. Created 3 years, 6 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 1034 matching lines...) Expand 10 before | Expand all | Expand 10 after
1045 } 1045 }
1046 1046
1047 TextCheckerClient& LocalFrameClientImpl::GetTextCheckerClient() const { 1047 TextCheckerClient& LocalFrameClientImpl::GetTextCheckerClient() const {
1048 return web_frame_->GetTextCheckerClient(); 1048 return web_frame_->GetTextCheckerClient();
1049 } 1049 }
1050 1050
1051 std::unique_ptr<blink::WebURLLoader> LocalFrameClientImpl::CreateURLLoader() { 1051 std::unique_ptr<blink::WebURLLoader> LocalFrameClientImpl::CreateURLLoader() {
1052 return web_frame_->CreateURLLoader(); 1052 return web_frame_->CreateURLLoader();
1053 } 1053 }
1054 1054
1055 void LocalFrameClientImpl::AnnotatedRegionsChanged() {
1056 if (web_frame_->Client())
dcheng 2017/06/07 20:22:35 Nit: no null check needed here, if LocalFrameClien
Łukasz Anforowicz 2017/06/08 16:29:24 Done - thanks for pointing this out (I was just ca
1057 web_frame_->Client()->DraggableRegionsChanged();
1058 }
1059
1055 } // namespace blink 1060 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698