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

Side by Side Diff: third_party/WebKit/Source/core/testing/InternalSettings.cpp

Issue 2329463004: ABANDONED CL: Changes needed to make things compile after running rewrite_to_chrome_style tool. (Closed)
Patch Set: More fixes - things build fine at this point. Created 3 years, 8 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 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2013 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 } 363 }
364 364
365 void InternalSettings::setDefaultVideoPosterURL( 365 void InternalSettings::setDefaultVideoPosterURL(
366 const String& url, 366 const String& url,
367 ExceptionState& exceptionState) { 367 ExceptionState& exceptionState) {
368 InternalSettingsGuardForSettings(); 368 InternalSettingsGuardForSettings();
369 settings()->setDefaultVideoPosterURL(url); 369 settings()->setDefaultVideoPosterURL(url);
370 } 370 }
371 371
372 DEFINE_TRACE(InternalSettings) { 372 DEFINE_TRACE(InternalSettings) {
373 InternalSettingsGenerated::trace(visitor); 373 InternalSettingsGenerated::Trace(visitor);
374 Supplement<Page>::trace(visitor); 374 Supplement<Page>::Trace(visitor);
375 } 375 }
376 376
377 void InternalSettings::setAvailablePointerTypes( 377 void InternalSettings::setAvailablePointerTypes(
378 const String& pointers, 378 const String& pointers,
379 ExceptionState& exceptionState) { 379 ExceptionState& exceptionState) {
380 InternalSettingsGuardForSettings(); 380 InternalSettingsGuardForSettings();
381 381
382 // Allow setting multiple pointer types by passing comma seperated list 382 // Allow setting multiple pointer types by passing comma seperated list
383 // ("coarse,fine"). 383 // ("coarse,fine").
384 Vector<String> tokens; 384 Vector<String> tokens;
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 RuntimeEnabledFeatures::setCompositorWorkerEnabled(enabled); 522 RuntimeEnabledFeatures::setCompositorWorkerEnabled(enabled);
523 } 523 }
524 524
525 void InternalSettings::setPresentationReceiver(bool enabled, 525 void InternalSettings::setPresentationReceiver(bool enabled,
526 ExceptionState& exceptionState) { 526 ExceptionState& exceptionState) {
527 InternalSettingsGuardForSettings(); 527 InternalSettingsGuardForSettings();
528 settings()->setPresentationReceiver(enabled); 528 settings()->setPresentationReceiver(enabled);
529 } 529 }
530 530
531 } // namespace blink 531 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698