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

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

Issue 1508673002: Oilpan: remove unnecessary MultisamplingChangedObserver unregistration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: only provide removeMultisamplingChangedObserver non-Oilpan Created 5 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 | « no previous file | third_party/WebKit/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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 void setIsPainting(bool painting) { m_isPainting = painting; } 186 void setIsPainting(bool painting) { m_isPainting = painting; }
187 bool isPainting() const { return m_isPainting; } 187 bool isPainting() const { return m_isPainting; }
188 #endif 188 #endif
189 189
190 class CORE_EXPORT MultisamplingChangedObserver : public WillBeGarbageCollect edMixin { 190 class CORE_EXPORT MultisamplingChangedObserver : public WillBeGarbageCollect edMixin {
191 public: 191 public:
192 virtual void multisamplingChanged(bool) = 0; 192 virtual void multisamplingChanged(bool) = 0;
193 }; 193 };
194 194
195 void addMultisamplingChangedObserver(MultisamplingChangedObserver*); 195 void addMultisamplingChangedObserver(MultisamplingChangedObserver*);
196 #if !ENABLE(OILPAN)
196 void removeMultisamplingChangedObserver(MultisamplingChangedObserver*); 197 void removeMultisamplingChangedObserver(MultisamplingChangedObserver*);
198 #endif
197 199
198 void didCommitLoad(LocalFrame*); 200 void didCommitLoad(LocalFrame*);
199 201
200 void acceptLanguagesChanged(); 202 void acceptLanguagesChanged();
201 203
202 static void networkStateChanged(bool online); 204 static void networkStateChanged(bool online);
203 205
204 MemoryPurgeController& memoryPurgeController(); 206 MemoryPurgeController& memoryPurgeController();
205 207
206 void purgeMemory(DeviceKind) override; 208 void purgeMemory(DeviceKind) override;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 OwnPtrWillBeMember<FrameHost> m_frameHost; 278 OwnPtrWillBeMember<FrameHost> m_frameHost;
277 279
278 OwnPtrWillBeMember<MemoryPurgeController> m_memoryPurgeController; 280 OwnPtrWillBeMember<MemoryPurgeController> m_memoryPurgeController;
279 }; 281 };
280 282
281 extern template class CORE_EXTERN_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; 283 extern template class CORE_EXTERN_TEMPLATE_EXPORT WillBeHeapSupplement<Page>;
282 284
283 } // namespace blink 285 } // namespace blink
284 286
285 #endif // Page_h 287 #endif // Page_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/page/Page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698