// Copyright 2024 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. module ntp.calendar.mojom; import "chrome/browser/new_tab_page/modules/v2/calendar/calendar_data.mojom"; // Browser-side handler for requests from NTP Module UI. interface OutlookCalendarPageHandler { // Returns a list of the events on the user's Outlook Calendar for today. // May return an empty list of events after `DismissModule()` has been // recently called. GetEvents() => (array events); // Dismisses module for a fixed amount of time. DismissModule(); // Restores the module immediately. RestoreModule(); };