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

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

Issue 2443613002: Rename classes related to top controls (Closed)
Patch Set: Created 4 years, 2 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 661 matching lines...) Expand 10 before | Expand all | Expand 10 after
672 enabled_bindings_(0), 672 enabled_bindings_(0),
673 send_preferred_size_changes_(false), 673 send_preferred_size_changes_(false),
674 navigation_gesture_(NavigationGestureUnknown), 674 navigation_gesture_(NavigationGestureUnknown),
675 opened_by_user_gesture_(true), 675 opened_by_user_gesture_(true),
676 history_list_offset_(-1), 676 history_list_offset_(-1),
677 history_list_length_(0), 677 history_list_length_(0),
678 frames_in_progress_(0), 678 frames_in_progress_(0),
679 target_url_status_(TARGET_NONE), 679 target_url_status_(TARGET_NONE),
680 uses_temporary_zoom_level_(false), 680 uses_temporary_zoom_level_(false),
681 #if defined(OS_ANDROID) 681 #if defined(OS_ANDROID)
682 top_controls_constraints_(TOP_CONTROLS_STATE_BOTH), 682 top_controls_constraints_(BROWSER_CONTROLS_STATE_BOTH),
683 #endif 683 #endif
684 top_controls_shrink_blink_size_(false), 684 top_controls_shrink_blink_size_(false),
685 top_controls_height_(0.f), 685 top_controls_height_(0.f),
686 webview_(nullptr), 686 webview_(nullptr),
687 has_scrolled_focused_editable_node_into_rect_(false), 687 has_scrolled_focused_editable_node_into_rect_(false),
688 page_zoom_level_(params.page_zoom_level), 688 page_zoom_level_(params.page_zoom_level),
689 main_render_frame_(nullptr), 689 main_render_frame_(nullptr),
690 frame_widget_(nullptr), 690 frame_widget_(nullptr),
691 speech_recognition_dispatcher_(NULL), 691 speech_recognition_dispatcher_(NULL),
692 #if defined(OS_ANDROID) 692 #if defined(OS_ANDROID)
(...skipping 2335 matching lines...) Expand 10 before | Expand all | Expand 10 after
3028 if (IsUseZoomForDSFEnabled()) { 3028 if (IsUseZoomForDSFEnabled()) {
3029 webview()->setZoomFactorForDeviceScaleFactor(device_scale_factor_); 3029 webview()->setZoomFactorForDeviceScaleFactor(device_scale_factor_);
3030 } else { 3030 } else {
3031 webview()->setDeviceScaleFactor(device_scale_factor_); 3031 webview()->setDeviceScaleFactor(device_scale_factor_);
3032 } 3032 }
3033 webview()->settings()->setPreferCompositingToLCDTextEnabled( 3033 webview()->settings()->setPreferCompositingToLCDTextEnabled(
3034 PreferCompositingToLCDText(compositor_deps_, device_scale_factor_)); 3034 PreferCompositingToLCDText(compositor_deps_, device_scale_factor_));
3035 } 3035 }
3036 3036
3037 } // namespace content 3037 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698