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

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

Issue 1636083003: H264 HW encode using VideoToolbox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: jfroy@ comments. 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 1551 matching lines...) Expand 10 before | Expand all | Expand 10 after
1562 switches::kEnableLowEndDeviceMode, 1562 switches::kEnableLowEndDeviceMode,
1563 switches::kDisableLowEndDeviceMode, 1563 switches::kDisableLowEndDeviceMode,
1564 #if defined(OS_ANDROID) 1564 #if defined(OS_ANDROID)
1565 switches::kEnableUnifiedMediaPipeline, 1565 switches::kEnableUnifiedMediaPipeline,
1566 switches::kIPCSyncCompositing, 1566 switches::kIPCSyncCompositing,
1567 switches::kRendererWaitForJavaDebugger, 1567 switches::kRendererWaitForJavaDebugger,
1568 switches::kEnableImeThread, 1568 switches::kEnableImeThread,
1569 switches::kDisableImeThread, 1569 switches::kDisableImeThread,
1570 #endif 1570 #endif
1571 #if defined(OS_MACOSX) 1571 #if defined(OS_MACOSX)
1572 switches::kDisableVTAcceleratedVideoEncode,
1572 // Allow this to be set when invoking the browser and relayed along. 1573 // Allow this to be set when invoking the browser and relayed along.
1573 switches::kEnableSandboxLogging, 1574 switches::kEnableSandboxLogging,
1574 #endif 1575 #endif
1575 #if defined(OS_WIN) 1576 #if defined(OS_WIN)
1576 switches::kDisableDirectWrite, 1577 switches::kDisableDirectWrite,
1577 switches::kDisableWin32kRendererLockDown, 1578 switches::kDisableWin32kRendererLockDown,
1578 switches::kTraceExportEventsToETW, 1579 switches::kTraceExportEventsToETW,
1579 #endif 1580 #endif
1580 #if defined(USE_OZONE) 1581 #if defined(USE_OZONE)
1581 switches::kOzonePlatform, 1582 switches::kOzonePlatform,
(...skipping 1221 matching lines...) Expand 10 before | Expand all | Expand 10 after
2803 2804
2804 // Skip widgets in other processes. 2805 // Skip widgets in other processes.
2805 if (rvh->GetProcess()->GetID() != GetID()) 2806 if (rvh->GetProcess()->GetID() != GetID())
2806 continue; 2807 continue;
2807 2808
2808 rvh->OnWebkitPreferencesChanged(); 2809 rvh->OnWebkitPreferencesChanged();
2809 } 2810 }
2810 } 2811 }
2811 2812
2812 } // namespace content 2813 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698