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

Side by Side Diff: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp

Issue 2787843003: Add Accessibility Object Model to content features, and add a browser test. (Closed)
Patch Set: Update webexposed 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 } 57 }
58 58
59 void WebRuntimeFeatures::enableTestOnlyFeatures(bool enable) { 59 void WebRuntimeFeatures::enableTestOnlyFeatures(bool enable) {
60 RuntimeEnabledFeatures::setTestFeaturesEnabled(enable); 60 RuntimeEnabledFeatures::setTestFeaturesEnabled(enable);
61 } 61 }
62 62
63 void WebRuntimeFeatures::enableAccelerated2dCanvas(bool enable) { 63 void WebRuntimeFeatures::enableAccelerated2dCanvas(bool enable) {
64 RuntimeEnabledFeatures::setAccelerated2dCanvasEnabled(enable); 64 RuntimeEnabledFeatures::setAccelerated2dCanvasEnabled(enable);
65 } 65 }
66 66
67 void WebRuntimeFeatures::enableAccessibilityObjectModel(bool enable) {
68 RuntimeEnabledFeatures::setAccessibilityObjectModelEnabled(enable);
69 }
70
67 void WebRuntimeFeatures::enableAudioOutputDevices(bool enable) { 71 void WebRuntimeFeatures::enableAudioOutputDevices(bool enable) {
68 RuntimeEnabledFeatures::setAudioOutputDevicesEnabled(enable); 72 RuntimeEnabledFeatures::setAudioOutputDevicesEnabled(enable);
69 } 73 }
70 74
71 void WebRuntimeFeatures::enableCanvas2dImageChromium(bool enable) { 75 void WebRuntimeFeatures::enableCanvas2dImageChromium(bool enable) {
72 RuntimeEnabledFeatures::setCanvas2dImageChromiumEnabled(enable); 76 RuntimeEnabledFeatures::setCanvas2dImageChromiumEnabled(enable);
73 } 77 }
74 78
75 void WebRuntimeFeatures::enableColorCorrectRendering(bool enable) { 79 void WebRuntimeFeatures::enableColorCorrectRendering(bool enable) {
76 RuntimeEnabledFeatures::setColorCorrectRenderingEnabled(enable); 80 RuntimeEnabledFeatures::setColorCorrectRenderingEnabled(enable);
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 386
383 void WebRuntimeFeatures::enableVideoFullscreenDetection(bool enable) { 387 void WebRuntimeFeatures::enableVideoFullscreenDetection(bool enable) {
384 RuntimeEnabledFeatures::setVideoFullscreenDetectionEnabled(enable); 388 RuntimeEnabledFeatures::setVideoFullscreenDetectionEnabled(enable);
385 } 389 }
386 390
387 void WebRuntimeFeatures::enableMediaControlsOverlayPlayButton(bool enable) { 391 void WebRuntimeFeatures::enableMediaControlsOverlayPlayButton(bool enable) {
388 RuntimeEnabledFeatures::setMediaControlsOverlayPlayButtonEnabled(enable); 392 RuntimeEnabledFeatures::setMediaControlsOverlayPlayButtonEnabled(enable);
389 } 393 }
390 394
391 } // namespace blink 395 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698