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

Side by Side Diff: content/renderer/render_view_impl.cc

Issue 2101943004: content: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase/update Created 4 years, 5 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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/renderer/render_view_impl.h" 5 #include "content/renderer/render_view_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cmath> 8 #include <cmath>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 2798 matching lines...) Expand 10 before | Expand all | Expand 10 after
2809 FOR_EACH_OBSERVER( 2809 FOR_EACH_OBSERVER(
2810 RenderViewObserver, 2810 RenderViewObserver,
2811 observers_, 2811 observers_,
2812 DraggableRegionsChanged(webview()->mainFrame())); 2812 DraggableRegionsChanged(webview()->mainFrame()));
2813 } 2813 }
2814 2814
2815 void RenderViewImpl::pageImportanceSignalsChanged() { 2815 void RenderViewImpl::pageImportanceSignalsChanged() {
2816 if (!webview() || !main_render_frame_) 2816 if (!webview() || !main_render_frame_)
2817 return; 2817 return;
2818 2818
2819 const auto& web_signals = webview()->pageImportanceSignals(); 2819 auto* web_signals = webview()->pageImportanceSignals();
2820 2820
2821 PageImportanceSignals signals; 2821 PageImportanceSignals signals;
2822 signals.had_form_interaction = web_signals->hadFormInteraction(); 2822 signals.had_form_interaction = web_signals->hadFormInteraction();
2823 2823
2824 main_render_frame_->Send(new FrameHostMsg_UpdatePageImportanceSignals( 2824 main_render_frame_->Send(new FrameHostMsg_UpdatePageImportanceSignals(
2825 main_render_frame_->GetRoutingID(), signals)); 2825 main_render_frame_->GetRoutingID(), signals));
2826 } 2826 }
2827 2827
2828 #if defined(OS_ANDROID) 2828 #if defined(OS_ANDROID)
2829 WebContentDetectionResult RenderViewImpl::detectContentAround( 2829 WebContentDetectionResult RenderViewImpl::detectContentAround(
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
3101 return render_frame->focused_pepper_plugin(); 3101 return render_frame->focused_pepper_plugin();
3102 } 3102 }
3103 frame = frame->traverseNext(false); 3103 frame = frame->traverseNext(false);
3104 } 3104 }
3105 3105
3106 return nullptr; 3106 return nullptr;
3107 } 3107 }
3108 #endif 3108 #endif
3109 3109
3110 } // namespace content 3110 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/presentation/presentation_dispatcher.cc ('k') | content/renderer/renderer_main_platform_delegate_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698