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

Side by Side Diff: chrome/renderer/chrome_content_renderer_client.cc

Issue 2873503002: NOT YET READY: Improve granularity of window namespaces in Blink.
Patch Set: Rebasing... Created 3 years, 6 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 (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 #include "chrome/renderer/chrome_content_renderer_client.h" 5 #include "chrome/renderer/chrome_content_renderer_client.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 1580 matching lines...) Expand 10 before | Expand all | Expand 10 after
1591 1591
1592 RecordYouTubeRewriteUMA(result); 1592 RecordYouTubeRewriteUMA(result);
1593 return corrected_url.ReplaceComponents(r); 1593 return corrected_url.ReplaceComponents(r);
1594 } 1594 }
1595 1595
1596 std::unique_ptr<base::TaskScheduler::InitParams> 1596 std::unique_ptr<base::TaskScheduler::InitParams>
1597 ChromeContentRendererClient::GetTaskSchedulerInitParams() { 1597 ChromeContentRendererClient::GetTaskSchedulerInitParams() {
1598 return task_scheduler_util:: 1598 return task_scheduler_util::
1599 GetRendererTaskSchedulerInitParamsFromCommandLine(); 1599 GetRendererTaskSchedulerInitParamsFromCommandLine();
1600 } 1600 }
1601
1602 blink::WebFrame* ChromeContentRendererClient::FindFrame(
1603 blink::WebLocalFrame* relative_to_frame,
1604 const std::string& name) {
1605 #if BUILDFLAG(ENABLE_EXTENSIONS)
1606 return ChromeExtensionsRendererClient::FindFrame(relative_to_frame, name);
1607 #else
1608 return nullptr;
1609 #endif // BUILDFLAG(ENABLE_EXTENSIONS)
1610 }
OLDNEW
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.h ('k') | chrome/renderer/extensions/chrome_extensions_renderer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698