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

Side by Side Diff: Source/core/loader/FrameLoader.cpp

Issue 19641006: Cancel vibration when frame load is committed. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 5 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 | « no previous file | Source/core/page/Page.h » ('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 Apple Inc. All rights reserv ed. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserv ed.
3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
4 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 4 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
5 * Copyright (C) 2008 Alp Toker <alp@atoker.com> 5 * Copyright (C) 2008 Alp Toker <alp@atoker.com>
6 * Copyright (C) Research In Motion Limited 2009. All rights reserved. 6 * Copyright (C) Research In Motion Limited 2009. All rights reserved.
7 * Copyright (C) 2011 Kris Jordan <krisjordan@gmail.com> 7 * Copyright (C) 2011 Kris Jordan <krisjordan@gmail.com>
8 * Copyright (C) 2011 Google Inc. All rights reserved. 8 * Copyright (C) 2011 Google Inc. All rights reserved.
9 * 9 *
10 * Redistribution and use in source and binary forms, with or without 10 * Redistribution and use in source and binary forms, with or without
(...skipping 2252 matching lines...) Expand 10 before | Expand all | Expand 10 after
2263 2263
2264 void FrameLoader::dispatchDidCommitLoad() 2264 void FrameLoader::dispatchDidCommitLoad()
2265 { 2265 {
2266 if (m_stateMachine.creatingInitialEmptyDocument()) 2266 if (m_stateMachine.creatingInitialEmptyDocument())
2267 return; 2267 return;
2268 2268
2269 m_client->dispatchDidCommitLoad(); 2269 m_client->dispatchDidCommitLoad();
2270 2270
2271 InspectorInstrumentation::didCommitLoad(m_frame, m_documentLoader.get()); 2271 InspectorInstrumentation::didCommitLoad(m_frame, m_documentLoader.get());
2272 2272
2273 m_frame->page()->didCommitLoad(m_frame);
2274
2273 if (m_frame->page()->mainFrame() == m_frame) 2275 if (m_frame->page()->mainFrame() == m_frame)
2274 m_frame->page()->useCounter()->didCommitLoad(); 2276 m_frame->page()->useCounter()->didCommitLoad();
2275 2277
2276 } 2278 }
2277 2279
2278 } // namespace WebCore 2280 } // namespace WebCore
OLDNEW
« no previous file with comments | « no previous file | Source/core/page/Page.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698