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

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

Issue 268753003: Allow the user to tap the selected editable again after rotation to trigger another zoom/center ani… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed authors file because name is already added in authors file Created 6 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
« no previous file with comments | « no previous file | 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 // 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 2852 matching lines...) Expand 10 before | Expand all | Expand 10 after
2863 } 2863 }
2864 } 2864 }
2865 2865
2866 void RenderViewImpl::OnMediaPlayerActionAt(const gfx::Point& location, 2866 void RenderViewImpl::OnMediaPlayerActionAt(const gfx::Point& location,
2867 const WebMediaPlayerAction& action) { 2867 const WebMediaPlayerAction& action) {
2868 if (webview()) 2868 if (webview())
2869 webview()->performMediaPlayerAction(action, location); 2869 webview()->performMediaPlayerAction(action, location);
2870 } 2870 }
2871 2871
2872 void RenderViewImpl::OnOrientationChange() { 2872 void RenderViewImpl::OnOrientationChange() {
2873 // TODO(mlamouri): consumers of that event should be using DisplayObserver. 2873 // TODO(mlamouri): consumers of that event should be using DisplayObserver.
jamesr 2014/06/19 17:53:58 you've split the TODO and the line it refers to. p
2874 has_scrolled_focused_editable_node_into_rect_ = false;
jamesr 2014/06/19 17:53:58 it's not at all clear why this line is here. could
2874 FOR_EACH_OBSERVER(RenderViewObserver, 2875 FOR_EACH_OBSERVER(RenderViewObserver,
2875 observers_, 2876 observers_,
2876 OrientationChangeEvent()); 2877 OrientationChangeEvent());
2877 2878
2878 webview()->mainFrame()->sendOrientationChangeEvent(); 2879 webview()->mainFrame()->sendOrientationChangeEvent();
2879 } 2880 }
2880 2881
2881 void RenderViewImpl::OnPluginActionAt(const gfx::Point& location, 2882 void RenderViewImpl::OnPluginActionAt(const gfx::Point& location,
2882 const WebPluginAction& action) { 2883 const WebPluginAction& action) {
2883 if (webview()) 2884 if (webview())
(...skipping 1115 matching lines...) Expand 10 before | Expand all | Expand 10 after
3999 std::vector<gfx::Size> sizes; 4000 std::vector<gfx::Size> sizes;
4000 ConvertToFaviconSizes(icon_urls[i].sizes(), &sizes); 4001 ConvertToFaviconSizes(icon_urls[i].sizes(), &sizes);
4001 if (!url.isEmpty()) 4002 if (!url.isEmpty())
4002 urls.push_back( 4003 urls.push_back(
4003 FaviconURL(url, ToFaviconType(icon_urls[i].iconType()), sizes)); 4004 FaviconURL(url, ToFaviconType(icon_urls[i].iconType()), sizes));
4004 } 4005 }
4005 SendUpdateFaviconURL(urls); 4006 SendUpdateFaviconURL(urls);
4006 } 4007 }
4007 4008
4008 } // namespace content 4009 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698