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

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

Issue 1797363002: "Top Document Isolation" mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing override Created 4 years, 9 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 1500 matching lines...) Expand 10 before | Expand all | Expand 10 after
1511 switches::kProfilerTiming, 1511 switches::kProfilerTiming,
1512 switches::kReducedReferrerGranularity, 1512 switches::kReducedReferrerGranularity,
1513 switches::kReduceSecurityForTesting, 1513 switches::kReduceSecurityForTesting,
1514 switches::kRegisterPepperPlugins, 1514 switches::kRegisterPepperPlugins,
1515 switches::kRendererStartupDialog, 1515 switches::kRendererStartupDialog,
1516 switches::kRootLayerScrolls, 1516 switches::kRootLayerScrolls,
1517 switches::kShowPaintRects, 1517 switches::kShowPaintRects,
1518 switches::kSitePerProcess, 1518 switches::kSitePerProcess,
1519 switches::kStatsCollectionController, 1519 switches::kStatsCollectionController,
1520 switches::kTestType, 1520 switches::kTestType,
1521 switches::kTopDocumentIsolation,
Charlie Reis 2016/03/25 19:47:13 Ah yes. I was wondering why we need this in the r
ncarter (slow) 2016/03/28 22:00:29 Exactly right. Hilarious things happen if you forg
1521 switches::kTouchEvents, 1522 switches::kTouchEvents,
1522 switches::kTouchTextSelectionStrategy, 1523 switches::kTouchTextSelectionStrategy,
1523 switches::kTraceConfigFile, 1524 switches::kTraceConfigFile,
1524 switches::kTraceToConsole, 1525 switches::kTraceToConsole,
1525 switches::kUseCrossProcessFramesForGuests, 1526 switches::kUseCrossProcessFramesForGuests,
1526 switches::kUseFakeUIForMediaStream, 1527 switches::kUseFakeUIForMediaStream,
1527 // This flag needs to be propagated to the renderer process for 1528 // This flag needs to be propagated to the renderer process for
1528 // --in-process-webgl. 1529 // --in-process-webgl.
1529 switches::kUseGL, 1530 switches::kUseGL,
1530 switches::kUseMobileUserAgent, 1531 switches::kUseMobileUserAgent,
(...skipping 1288 matching lines...) Expand 10 before | Expand all | Expand 10 after
2819 2820
2820 // Skip widgets in other processes. 2821 // Skip widgets in other processes.
2821 if (rvh->GetProcess()->GetID() != GetID()) 2822 if (rvh->GetProcess()->GetID() != GetID())
2822 continue; 2823 continue;
2823 2824
2824 rvh->OnWebkitPreferencesChanged(); 2825 rvh->OnWebkitPreferencesChanged();
2825 } 2826 }
2826 } 2827 }
2827 2828
2828 } // namespace content 2829 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698