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

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: Fix tests 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 1415 matching lines...) Expand 10 before | Expand all | Expand 10 after
1426 switches::kJavaScriptFlags, 1426 switches::kJavaScriptFlags,
1427 switches::kLoggingLevel, 1427 switches::kLoggingLevel,
1428 switches::kMainFrameResizesAreOrientationChanges, 1428 switches::kMainFrameResizesAreOrientationChanges,
1429 switches::kMaxUntiledLayerWidth, 1429 switches::kMaxUntiledLayerWidth,
1430 switches::kMaxUntiledLayerHeight, 1430 switches::kMaxUntiledLayerHeight,
1431 switches::kMemoryMetrics, 1431 switches::kMemoryMetrics,
1432 switches::kMojoLocalStorage, 1432 switches::kMojoLocalStorage,
1433 switches::kNoReferrers, 1433 switches::kNoReferrers,
1434 switches::kNoSandbox, 1434 switches::kNoSandbox,
1435 switches::kOverridePluginPowerSaverForTesting, 1435 switches::kOverridePluginPowerSaverForTesting,
1436 switches::kPassiveListenersDefault,
1436 switches::kPpapiInProcess, 1437 switches::kPpapiInProcess,
1437 switches::kProfilerTiming, 1438 switches::kProfilerTiming,
1438 switches::kReducedReferrerGranularity, 1439 switches::kReducedReferrerGranularity,
1439 switches::kReduceSecurityForTesting, 1440 switches::kReduceSecurityForTesting,
1440 switches::kRegisterPepperPlugins, 1441 switches::kRegisterPepperPlugins,
1441 switches::kRendererStartupDialog, 1442 switches::kRendererStartupDialog,
1442 switches::kRootLayerScrolls, 1443 switches::kRootLayerScrolls,
1443 switches::kShowPaintRects, 1444 switches::kShowPaintRects,
1444 switches::kSitePerProcess, 1445 switches::kSitePerProcess,
1445 switches::kStatsCollectionController, 1446 switches::kStatsCollectionController,
(...skipping 1315 matching lines...) Expand 10 before | Expand all | Expand 10 after
2761 2762
2762 // Skip widgets in other processes. 2763 // Skip widgets in other processes.
2763 if (rvh->GetProcess()->GetID() != GetID()) 2764 if (rvh->GetProcess()->GetID() != GetID())
2764 continue; 2765 continue;
2765 2766
2766 rvh->OnWebkitPreferencesChanged(); 2767 rvh->OnWebkitPreferencesChanged();
2767 } 2768 }
2768 } 2769 }
2769 2770
2770 } // namespace content 2771 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698