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

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

Issue 133263004: Unifies LayerTreeHost::SetNeedsUpdateLayers and SetNeedsAnimate -- V2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mojo build Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | content/renderer/render_widget.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9
10 #include "base/auto_reset.h" 10 #include "base/auto_reset.h"
(...skipping 5927 matching lines...) Expand 10 before | Expand all | Expand 10 after
5938 void RenderViewImpl::cancelScheduledContentIntents() { 5938 void RenderViewImpl::cancelScheduledContentIntents() {
5939 ++expected_content_intent_id_; 5939 ++expected_content_intent_id_;
5940 } 5940 }
5941 5941
5942 void RenderViewImpl::LaunchAndroidContentIntent(const GURL& intent, 5942 void RenderViewImpl::LaunchAndroidContentIntent(const GURL& intent,
5943 size_t request_id) { 5943 size_t request_id) {
5944 if (request_id != expected_content_intent_id_) 5944 if (request_id != expected_content_intent_id_)
5945 return; 5945 return;
5946 5946
5947 // Remove the content highlighting if any. 5947 // Remove the content highlighting if any.
5948 scheduleComposite(); 5948 ScheduleComposite();
5949 5949
5950 if (!intent.is_empty()) 5950 if (!intent.is_empty())
5951 Send(new ViewHostMsg_StartContentIntent(routing_id_, intent)); 5951 Send(new ViewHostMsg_StartContentIntent(routing_id_, intent));
5952 } 5952 }
5953 5953
5954 bool RenderViewImpl::openDateTimeChooser( 5954 bool RenderViewImpl::openDateTimeChooser(
5955 const blink::WebDateTimeChooserParams& params, 5955 const blink::WebDateTimeChooserParams& params,
5956 blink::WebDateTimeChooserCompletion* completion) { 5956 blink::WebDateTimeChooserCompletion* completion) {
5957 // JavaScript may try to open a date time chooser while one is already open. 5957 // JavaScript may try to open a date time chooser while one is already open.
5958 if (date_time_picker_client_) 5958 if (date_time_picker_client_)
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
6261 for (size_t i = 0; i < icon_urls.size(); i++) { 6261 for (size_t i = 0; i < icon_urls.size(); i++) {
6262 WebURL url = icon_urls[i].iconURL(); 6262 WebURL url = icon_urls[i].iconURL();
6263 if (!url.isEmpty()) 6263 if (!url.isEmpty())
6264 urls.push_back(FaviconURL(url, 6264 urls.push_back(FaviconURL(url,
6265 ToFaviconType(icon_urls[i].iconType()))); 6265 ToFaviconType(icon_urls[i].iconType())));
6266 } 6266 }
6267 SendUpdateFaviconURL(urls); 6267 SendUpdateFaviconURL(urls);
6268 } 6268 }
6269 6269
6270 } // namespace content 6270 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | content/renderer/render_widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698