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

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

Issue 1965493002: Add runtime setting to force passive event listeners. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 1404 matching lines...) Expand 10 before | Expand all | Expand 10 after
1415 switches::kJavaScriptFlags, 1415 switches::kJavaScriptFlags,
1416 switches::kLoggingLevel, 1416 switches::kLoggingLevel,
1417 switches::kMainFrameResizesAreOrientationChanges, 1417 switches::kMainFrameResizesAreOrientationChanges,
1418 switches::kMaxUntiledLayerWidth, 1418 switches::kMaxUntiledLayerWidth,
1419 switches::kMaxUntiledLayerHeight, 1419 switches::kMaxUntiledLayerHeight,
1420 switches::kMemoryMetrics, 1420 switches::kMemoryMetrics,
1421 switches::kMojoLocalStorage, 1421 switches::kMojoLocalStorage,
1422 switches::kNoReferrers, 1422 switches::kNoReferrers,
1423 switches::kNoSandbox, 1423 switches::kNoSandbox,
1424 switches::kOverridePluginPowerSaverForTesting, 1424 switches::kOverridePluginPowerSaverForTesting,
1425 switches::kPassiveListenersDefault,
1425 switches::kPpapiInProcess, 1426 switches::kPpapiInProcess,
1426 switches::kProfilerTiming, 1427 switches::kProfilerTiming,
1427 switches::kReducedReferrerGranularity, 1428 switches::kReducedReferrerGranularity,
1428 switches::kReduceSecurityForTesting, 1429 switches::kReduceSecurityForTesting,
1429 switches::kRegisterPepperPlugins, 1430 switches::kRegisterPepperPlugins,
1430 switches::kRendererStartupDialog, 1431 switches::kRendererStartupDialog,
1431 switches::kRootLayerScrolls, 1432 switches::kRootLayerScrolls,
1432 switches::kShowPaintRects, 1433 switches::kShowPaintRects,
1433 switches::kSitePerProcess, 1434 switches::kSitePerProcess,
1434 switches::kStatsCollectionController, 1435 switches::kStatsCollectionController,
(...skipping 1317 matching lines...) Expand 10 before | Expand all | Expand 10 after
2752 2753
2753 // Skip widgets in other processes. 2754 // Skip widgets in other processes.
2754 if (rvh->GetProcess()->GetID() != GetID()) 2755 if (rvh->GetProcess()->GetID() != GetID())
2755 continue; 2756 continue;
2756 2757
2757 rvh->OnWebkitPreferencesChanged(); 2758 rvh->OnWebkitPreferencesChanged();
2758 } 2759 }
2759 } 2760 }
2760 2761
2761 } // namespace content 2762 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698