
Change log:95336cb92b..191d55580e
Full diff:95336cb92b..191d55580e
Roll chromium third_party 4e16929f46..3a8f2a9e1e Change log:4e16929f46..3a8f2a9e1e
Changed dependencies: * src/tools:c44a3f5eca..f524a53b81
DEPS diff:95336cb92b..191d55580e
/DEPS No update to Clang. TBR=titovartem@google.com, BUG=None CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal Change-Id: Ic9c4a62b050383646e9fcf5cc07a5653c14ac06e Reviewed-on: https://webrtc-review.googlesource.com/76120 Reviewed-by: Patrik Höglund <phoglund@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Artem Titov <titovartem@webrtc.org> Commit-Queue: Artem Titov <titovartem@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23205}
67 lines
2.3 KiB
JavaScript
67 lines
2.3 KiB
JavaScript
// Copyright 2016 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
// This file was generated by:
|
|
// tools/json_schema_compiler/compiler.py.
|
|
|
|
/** @fileoverview Interface for settingsPrivate that can be overriden. */
|
|
|
|
assertNotReached('Interface file for Closure Compiler should not be executed.');
|
|
|
|
/** @interface */
|
|
function SettingsPrivate() {}
|
|
|
|
SettingsPrivate.prototype = {
|
|
/**
|
|
* Sets a settings value.
|
|
* @param {string} name The name of the pref.
|
|
* @param {*} value The new value of the pref.
|
|
* @param {string} pageId The user metrics identifier or null.
|
|
* @param {function(boolean):void} callback The callback for whether the pref
|
|
* was set or not.
|
|
* @see https://developer.chrome.com/extensions/settingsPrivate#method-setPref
|
|
*/
|
|
setPref: assertNotReached,
|
|
|
|
/**
|
|
* Gets an array of all the prefs.
|
|
* @param {function(!Array<!chrome.settingsPrivate.PrefObject>):void} callback
|
|
* @see https://developer.chrome.com/extensions/settingsPrivate#method-getAllPrefs
|
|
*/
|
|
getAllPrefs: assertNotReached,
|
|
|
|
/**
|
|
* Gets the value of a specific pref.
|
|
* @param {string} name
|
|
* @param {function(!chrome.settingsPrivate.PrefObject):void} callback
|
|
* @see https://developer.chrome.com/extensions/settingsPrivate#method-getPref
|
|
*/
|
|
getPref: assertNotReached,
|
|
|
|
/**
|
|
* Gets the default page zoom factor. Possible values are currently between
|
|
* 0.25 and 5. For a full list, see zoom::kPresetZoomFactors.
|
|
* @param {function(number):void} callback
|
|
* @see https://developer.chrome.com/extensions/settingsPrivate#method-getDefaultZoom
|
|
*/
|
|
getDefaultZoom: assertNotReached,
|
|
|
|
/**
|
|
* Sets the page zoom factor. Must be less than 0.001 different than a value
|
|
* in zoom::kPresetZoomFactors.
|
|
* @param {number} zoom
|
|
* @param {function(boolean):void=} callback
|
|
* @see https://developer.chrome.com/extensions/settingsPrivate#method-setDefaultZoom
|
|
*/
|
|
setDefaultZoom: assertNotReached,
|
|
};
|
|
|
|
/**
|
|
* <p>Fired when a set of prefs has changed.</p><p>|prefs| The prefs that
|
|
* changed.</p>
|
|
* @type {!ChromeEvent}
|
|
* @see https://developer.chrome.com/extensions/settingsPrivate#event-onPrefsChanged
|
|
*/
|
|
SettingsPrivate.prototype.onPrefsChanged;
|