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

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

Issue 2023903003: [WIP] Add WebCore.UseCounter UMA to supercede FeatureObserver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months 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
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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 bool isPageVisible() const; 191 bool isPageVisible() const;
192 192
193 bool isCursorVisible() const; 193 bool isCursorVisible() const;
194 void setIsCursorVisible(bool isVisible) { m_isCursorVisible = isVisible; } 194 void setIsCursorVisible(bool isVisible) { m_isCursorVisible = isVisible; }
195 195
196 #if ENABLE(ASSERT) 196 #if ENABLE(ASSERT)
197 void setIsPainting(bool painting) { m_isPainting = painting; } 197 void setIsPainting(bool painting) { m_isPainting = painting; }
198 bool isPainting() const { return m_isPainting; } 198 bool isPainting() const { return m_isPainting; }
199 #endif 199 #endif
200 200
201 void didCommitLoad(LocalFrame*); 201 // Invoked once when the main load for a page is committed.
202 void didCommitLoad();
203
204 // Loaded a document into the specified frame. May be invoked multiple time s for
205 // a given frame (eg. for each SVG document).
206 void deprecatedDidCommitFrameLoad(LocalFrame*);
202 207
203 void acceptLanguagesChanged(); 208 void acceptLanguagesChanged();
204 209
205 static void networkStateChanged(bool online); 210 static void networkStateChanged(bool online);
206 211
207 MemoryPurgeController& memoryPurgeController(); 212 MemoryPurgeController& memoryPurgeController();
208 213
209 void purgeMemory(DeviceKind) override; 214 void purgeMemory(DeviceKind) override;
210 215
211 DECLARE_TRACE(); 216 DECLARE_TRACE();
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 Member<MemoryPurgeController> m_memoryPurgeController; 287 Member<MemoryPurgeController> m_memoryPurgeController;
283 288
284 Timer<Page> m_timerForCompressStrings; 289 Timer<Page> m_timerForCompressStrings;
285 }; 290 };
286 291
287 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Page>; 292 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Page>;
288 293
289 } // namespace blink 294 } // namespace blink
290 295
291 #endif // Page_h 296 #endif // Page_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698