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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 733293002: [Android] Add a flag to disable the pull-to-refresh effect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 1 month 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 // Represents the browser side of the browser <--> renderer communication 5 // Represents the browser side of the browser <--> renderer communication
6 // channel. There will be one RenderProcessHost per renderer process. 6 // channel. There will be one RenderProcessHost per renderer process.
7 7
8 #include "content/browser/renderer_host/render_process_host_impl.h" 8 #include "content/browser/renderer_host/render_process_host_impl.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 1129 matching lines...) Expand 10 before | Expand all | Expand 10 after
1140 switches::kEnableLowResTiling, 1140 switches::kEnableLowResTiling,
1141 switches::kEnableInbandTextTracks, 1141 switches::kEnableInbandTextTracks,
1142 switches::kEnableLCDText, 1142 switches::kEnableLCDText,
1143 switches::kEnableLayerSquashing, 1143 switches::kEnableLayerSquashing,
1144 switches::kEnableLogging, 1144 switches::kEnableLogging,
1145 switches::kEnableMemoryBenchmarking, 1145 switches::kEnableMemoryBenchmarking,
1146 switches::kEnableNetworkInformation, 1146 switches::kEnableNetworkInformation,
1147 switches::kEnableOneCopy, 1147 switches::kEnableOneCopy,
1148 switches::kEnableOverlayFullscreenVideo, 1148 switches::kEnableOverlayFullscreenVideo,
1149 switches::kEnableOverlayScrollbar, 1149 switches::kEnableOverlayScrollbar,
1150 switches::kEnableOverscrollNotifications,
1151 switches::kEnablePinch, 1150 switches::kEnablePinch,
1152 switches::kEnablePreciseMemoryInfo, 1151 switches::kEnablePreciseMemoryInfo,
1153 switches::kEnableRendererMojoChannel, 1152 switches::kEnableRendererMojoChannel,
1154 switches::kEnableSeccompFilterSandbox, 1153 switches::kEnableSeccompFilterSandbox,
1155 switches::kEnableSkiaBenchmarking, 1154 switches::kEnableSkiaBenchmarking,
1156 switches::kEnableSmoothScrolling, 1155 switches::kEnableSmoothScrolling,
1157 switches::kEnableStatsTable, 1156 switches::kEnableStatsTable,
1158 switches::kEnableStrictSiteIsolation, 1157 switches::kEnableStrictSiteIsolation,
1159 switches::kEnableThreadedCompositing, 1158 switches::kEnableThreadedCompositing,
1160 switches::kEnableTouchDragDrop, 1159 switches::kEnableTouchDragDrop,
(...skipping 1087 matching lines...) Expand 10 before | Expand all | Expand 10 after
2248 2247
2249 void RenderProcessHostImpl::DecrementWorkerRefCount() { 2248 void RenderProcessHostImpl::DecrementWorkerRefCount() {
2250 DCHECK_CURRENTLY_ON(BrowserThread::UI); 2249 DCHECK_CURRENTLY_ON(BrowserThread::UI);
2251 DCHECK_GT(worker_ref_count_, 0); 2250 DCHECK_GT(worker_ref_count_, 0);
2252 --worker_ref_count_; 2251 --worker_ref_count_;
2253 if (worker_ref_count_ == 0) 2252 if (worker_ref_count_ == 0)
2254 Cleanup(); 2253 Cleanup();
2255 } 2254 }
2256 2255
2257 } // namespace content 2256 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/android/overscroll_glow.cc ('k') | content/browser/renderer_host/render_widget_host_view_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698