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

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

Issue 6979020: When --disable-gpu-vsync, run requestAnimFrame callbacks at top speed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Simplify the vsync delay code. Created 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/renderer/render_widget.h » ('j') | content/renderer/render_widget.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/browser_render_process_host.h" 8 #include "content/browser/renderer_host/browser_render_process_host.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 switches::kDisableAudio, 520 switches::kDisableAudio,
521 switches::kDisableBreakpad, 521 switches::kDisableBreakpad,
522 switches::kDisableDataTransferItems, 522 switches::kDisableDataTransferItems,
523 switches::kDisableDatabases, 523 switches::kDisableDatabases,
524 switches::kDisableDesktopNotifications, 524 switches::kDisableDesktopNotifications,
525 switches::kDisableDeviceOrientation, 525 switches::kDisableDeviceOrientation,
526 switches::kDisableFileSystem, 526 switches::kDisableFileSystem,
527 switches::kDisableGeolocation, 527 switches::kDisableGeolocation,
528 switches::kDisableGLMultisampling, 528 switches::kDisableGLMultisampling,
529 switches::kDisableGLSLTranslator, 529 switches::kDisableGLSLTranslator,
530 switches::kDisableGpuVsync,
530 switches::kDisableIndexedDatabase, 531 switches::kDisableIndexedDatabase,
531 switches::kDisableJavaScriptI18NAPI, 532 switches::kDisableJavaScriptI18NAPI,
532 switches::kDisableLocalStorage, 533 switches::kDisableLocalStorage,
533 switches::kDisableLogging, 534 switches::kDisableLogging,
534 #if defined(GOOGLE_CHROME_BUILD) && !defined(OS_CHROMEOS) 535 #if defined(GOOGLE_CHROME_BUILD) && !defined(OS_CHROMEOS)
535 // Enabled by default in Google Chrome builds, except on CrOS. 536 // Enabled by default in Google Chrome builds, except on CrOS.
536 switches::kDisablePrintPreview, 537 switches::kDisablePrintPreview,
537 #else 538 #else
538 // Disabled by default in Chromium builds and on CrOS. 539 // Disabled by default in Chromium builds and on CrOS.
539 switches::kEnablePrintPreview, 540 switches::kEnablePrintPreview,
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
958 while (!queued_messages_.empty()) { 959 while (!queued_messages_.empty()) {
959 Send(queued_messages_.front()); 960 Send(queued_messages_.front());
960 queued_messages_.pop(); 961 queued_messages_.pop();
961 } 962 }
962 } 963 }
963 964
964 void BrowserRenderProcessHost::OnUserMetricsRecordAction( 965 void BrowserRenderProcessHost::OnUserMetricsRecordAction(
965 const std::string& action) { 966 const std::string& action) {
966 UserMetrics::RecordComputedAction(action); 967 UserMetrics::RecordComputedAction(action);
967 } 968 }
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_widget.h » ('j') | content/renderer/render_widget.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698