/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* 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/. */
namespace dom { struct WindowsJumpListShortcutDescription;
} // namespace dom
namespace widget {
/** * This is an abstract class for a backend to write to the Windows Jump List. * * It has a 1-to-1 method mapping with ICustomDestinationList. The abtract * class allows us to implement a "fake" backend for automated testing.
*/ class JumpListBackend {
NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING
/** * JumpListBuilder is a component that can be used to manage the Windows * Jump List off of the main thread.
*/ class JumpListBuilder : public nsIJumpListBuilder, public nsIObserver { virtual ~JumpListBuilder();
// This is written to once during construction on the main thread before the // lazy helper thread is created. After that, the lazy helper thread might // read from it.
nsString mAppUserModelId;
// This is only accessed by the lazy helper thread.
RefPtr<JumpListBackend> mJumpListBackend;
// This is only accessed by the main thread.
RefPtr<LazyIdleThread> mIOThread;
};
} // namespace widget
} // namespace mozilla
#endif/* __JumpListBuilder_h__ */
¤ Dauer der Verarbeitung: 0.13 Sekunden
(vorverarbeitet)
¤
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.