Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(971)

Side by Side Diff: Source/core/page/Page.h

Issue 804873003: Clear matched properties cache for theme color changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/dom/StyleEngine.cpp ('k') | Source/core/page/Page.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights reserv ed. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights reserv ed.
3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 typedef uint64_t LinkHash; 69 typedef uint64_t LinkHash;
70 70
71 float deviceScaleFactor(LocalFrame*); 71 float deviceScaleFactor(LocalFrame*);
72 72
73 class Page final : public NoBaseWillBeGarbageCollectedFinalized<Page>, public Wi llBeHeapSupplementable<Page>, public LifecycleContext<Page>, public SettingsDele gate { 73 class Page final : public NoBaseWillBeGarbageCollectedFinalized<Page>, public Wi llBeHeapSupplementable<Page>, public LifecycleContext<Page>, public SettingsDele gate {
74 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Page); 74 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Page);
75 WTF_MAKE_NONCOPYABLE(Page); 75 WTF_MAKE_NONCOPYABLE(Page);
76 friend class Settings; 76 friend class Settings;
77 public: 77 public:
78 static void scheduleForcedStyleRecalcForAllPages(); 78 static void platformColorsChanged();
79 79
80 // It is up to the platform to ensure that non-null clients are provided whe re required. 80 // It is up to the platform to ensure that non-null clients are provided whe re required.
81 struct PageClients { 81 struct PageClients {
82 WTF_MAKE_NONCOPYABLE(PageClients); WTF_MAKE_FAST_ALLOCATED; 82 WTF_MAKE_NONCOPYABLE(PageClients); WTF_MAKE_FAST_ALLOCATED;
83 public: 83 public:
84 PageClients(); 84 PageClients();
85 ~PageClients(); 85 ~PageClients();
86 86
87 ChromeClient* chromeClient; 87 ChromeClient* chromeClient;
88 ContextMenuClient* contextMenuClient; 88 ContextMenuClient* contextMenuClient;
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 WillBeHeapHashSet<RawPtrWillBeWeakMember<MultisamplingChangedObserver>> m_mu ltisamplingChangedObservers; 279 WillBeHeapHashSet<RawPtrWillBeWeakMember<MultisamplingChangedObserver>> m_mu ltisamplingChangedObservers;
280 280
281 // A pointer to all the interfaces provided to in-process Frames for this Pa ge. 281 // A pointer to all the interfaces provided to in-process Frames for this Pa ge.
282 // FIXME: Most of the members of Page should move onto FrameHost. 282 // FIXME: Most of the members of Page should move onto FrameHost.
283 OwnPtrWillBeMember<FrameHost> m_frameHost; 283 OwnPtrWillBeMember<FrameHost> m_frameHost;
284 }; 284 };
285 285
286 } // namespace blink 286 } // namespace blink
287 287
288 #endif // Page_h 288 #endif // Page_h
OLDNEW
« no previous file with comments | « Source/core/dom/StyleEngine.cpp ('k') | Source/core/page/Page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698