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

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 comments 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
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1419 matching lines...) Expand 10 before | Expand all | Expand 10 after
1430 switches::kJavaScriptFlags, 1430 switches::kJavaScriptFlags,
1431 switches::kLoggingLevel, 1431 switches::kLoggingLevel,
1432 switches::kMainFrameResizesAreOrientationChanges, 1432 switches::kMainFrameResizesAreOrientationChanges,
1433 switches::kMaxUntiledLayerWidth, 1433 switches::kMaxUntiledLayerWidth,
1434 switches::kMaxUntiledLayerHeight, 1434 switches::kMaxUntiledLayerHeight,
1435 switches::kMemoryMetrics, 1435 switches::kMemoryMetrics,
1436 switches::kMojoLocalStorage, 1436 switches::kMojoLocalStorage,
1437 switches::kNoReferrers, 1437 switches::kNoReferrers,
1438 switches::kNoSandbox, 1438 switches::kNoSandbox,
1439 switches::kOverridePluginPowerSaverForTesting, 1439 switches::kOverridePluginPowerSaverForTesting,
1440 switches::kPassiveListenersDefault,
1440 switches::kPpapiInProcess, 1441 switches::kPpapiInProcess,
1441 switches::kProfilerTiming, 1442 switches::kProfilerTiming,
1442 switches::kReducedReferrerGranularity, 1443 switches::kReducedReferrerGranularity,
1443 switches::kReduceSecurityForTesting, 1444 switches::kReduceSecurityForTesting,
1444 switches::kRegisterPepperPlugins, 1445 switches::kRegisterPepperPlugins,
1445 switches::kRendererStartupDialog, 1446 switches::kRendererStartupDialog,
1446 switches::kRootLayerScrolls, 1447 switches::kRootLayerScrolls,
1447 switches::kShowPaintRects, 1448 switches::kShowPaintRects,
1448 switches::kSitePerProcess, 1449 switches::kSitePerProcess,
1449 switches::kStatsCollectionController, 1450 switches::kStatsCollectionController,
(...skipping 1316 matching lines...) Expand 10 before | Expand all | Expand 10 after
2766 2767
2767 // Skip widgets in other processes. 2768 // Skip widgets in other processes.
2768 if (rvh->GetProcess()->GetID() != GetID()) 2769 if (rvh->GetProcess()->GetID() != GetID())
2769 continue; 2770 continue;
2770 2771
2771 rvh->OnWebkitPreferencesChanged(); 2772 rvh->OnWebkitPreferencesChanged();
2772 } 2773 }
2773 } 2774 }
2774 2775
2775 } // namespace content 2776 } // namespace content
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698