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

Side by Side Diff: sky/engine/core/page/Page.cpp

Issue 867903002: Remove UseCounter (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « sky/engine/core/page/Page.h ('k') | sky/engine/core/rendering/RenderFlexibleBox.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, 2011, 2012, 2013 Apple Inc. All R ights Reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All R ights Reserved.
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 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 if (mainFrame()->document()) 233 if (mainFrame()->document())
234 mainFrame()->document()->mediaQueryAffectingValueChanged(); 234 mainFrame()->document()->mediaQueryAffectingValueChanged();
235 setNeedsRecalcStyleInAllFrames(); 235 setNeedsRecalcStyleInAllFrames();
236 break; 236 break;
237 } 237 }
238 } 238 }
239 239
240 void Page::didCommitLoad(LocalFrame* frame) 240 void Page::didCommitLoad(LocalFrame* frame)
241 { 241 {
242 lifecycleNotifier().notifyDidCommitLoad(frame); 242 lifecycleNotifier().notifyDidCommitLoad(frame);
243 if (m_mainFrame == frame) { 243 if (m_mainFrame == frame)
244 frame->console().clearMessages(); 244 frame->console().clearMessages();
245 useCounter().didCommitLoad();
246 }
247 } 245 }
248 246
249 void Page::acceptLanguagesChanged() 247 void Page::acceptLanguagesChanged()
250 { 248 {
251 mainFrame()->domWindow()->acceptLanguagesChanged(); 249 mainFrame()->domWindow()->acceptLanguagesChanged();
252 } 250 }
253 251
254 PageLifecycleNotifier& Page::lifecycleNotifier() 252 PageLifecycleNotifier& Page::lifecycleNotifier()
255 { 253 {
256 return static_cast<PageLifecycleNotifier&>(LifecycleContext<Page>::lifecycle Notifier()); 254 return static_cast<PageLifecycleNotifier&>(LifecycleContext<Page>::lifecycle Notifier());
(...skipping 24 matching lines...) Expand all
281 , editorClient(0) 279 , editorClient(0)
282 , spellCheckerClient(0) 280 , spellCheckerClient(0)
283 { 281 {
284 } 282 }
285 283
286 Page::PageClients::~PageClients() 284 Page::PageClients::~PageClients()
287 { 285 {
288 } 286 }
289 287
290 } // namespace blink 288 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/page/Page.h ('k') | sky/engine/core/rendering/RenderFlexibleBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698