SSL RemoteLookAndFeel.h
Interaktion und PortierbarkeitC
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- * vim: sw=2 ts=8 et :
*/ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** * A LookAndFeel implementation whose native values are provided by the * parent process.
*/ class RemoteLookAndFeel final : public nsXPLookAndFeel { public: explicit RemoteLookAndFeel(FullLookAndFeel&& aTables);
// Sets the LookAndFeel data to be used by this content process' singleton // RemoteLookAndFeel object. void SetDataImpl(FullLookAndFeel&& aTables) override;
// Extracts the data from the platform's default LookAndFeel implementation. // // This is called in the parent process to obtain the data to send down to // content processes when they are created (and when the OS theme changes). // // Note that the pointer returned from here is only valid until the next time // ClearCachedData is called. staticconst FullLookAndFeel* ExtractData();
// Clears any cached extracted data from the platform's default LookAndFeel // implementation. // // This is called in the parent process when the default LookAndFeel is // refreshed, to invalidate sCachedLookAndFeelData. staticvoid ClearCachedData();
private:
LookAndFeelTables mTables;
};
} // namespace mozilla::widget
#endif// mozilla_widget_RemoteLookAndFeel_h__
¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.30Angebot
Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.