public PageContext(HttpContext context, string owaVersion)
 {
     this.UserAgent = OwaUserAgentUtilities.CreateUserAgentWithLayoutOverride(context);
     this.IsAppCacheEnabledClient = (context == null || context.Request.QueryString["appcacheclient"] == "1");
     this.ManifestType            = (DefaultPageBase.IsPalEnabled(context, this.UserAgent.RawString) ? SlabManifestType.Pal : SlabManifestType.Standard);
     this.Theme = ThemeManagerFactory.GetInstance(owaVersion).GetThemeFolderName(this.UserAgent, context);
 }
        // Token: 0x0600286F RID: 10351 RVA: 0x00095A70 File Offset: 0x00093C70
        public static ThemeStyleResource[] GetUserDataEmbededStylesLinks(Slab bootSlab, string owaVersion)
        {
            List <ThemeStyleResource> list = new List <ThemeStyleResource>();

            foreach (SlabStyleFile style in bootSlab.Styles)
            {
                list.Add(ThemeStyleResource.FromSlabStyle(style, owaVersion, ThemeManagerFactory.GetInstance(owaVersion).ShouldSkipThemeFolder));
            }
            return(list.ToArray());
        }
 protected override bool ShouldSkipThemeFolder()
 {
     return(ThemeManagerFactory.GetInstance(this.VersionString).ShouldSkipThemeFolder);
 }
		// Token: 0x060026AF RID: 9903 RVA: 0x0008C236 File Offset: 0x0008A436
		protected override string GetThemeFolder()
		{
			return ThemeManagerFactory.GetInstance(this.VersionString).GetThemeFolderName(this.UserAgent, this.Context);
		}