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

Side by Side Diff: Source/web/ChromeClientImpl.cpp

Issue 1313013005: Add a test that we resume commits after inserting the body. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove extra incs. Created 5 years, 3 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 971 matching lines...) Expand 10 before | Expand all | Expand 10 after
982 m_popupOpeningObservers.remove(index); 982 m_popupOpeningObservers.remove(index);
983 } 983 }
984 984
985 void ChromeClientImpl::notifyPopupOpeningObservers() const 985 void ChromeClientImpl::notifyPopupOpeningObservers() const
986 { 986 {
987 const Vector<PopupOpeningObserver*> observers(m_popupOpeningObservers); 987 const Vector<PopupOpeningObserver*> observers(m_popupOpeningObservers);
988 for (const auto& observer : observers) 988 for (const auto& observer : observers)
989 observer->willOpenPopup(); 989 observer->willOpenPopup();
990 } 990 }
991 991
992 bool ChromeClientImpl::disableThreadedParsingForUnitTests() const
993 {
994 return m_webView->client() && m_webView->client()->disableThreadedParsingFor UnitTests();
995 }
996
992 FloatSize ChromeClientImpl::elasticOverscroll() const 997 FloatSize ChromeClientImpl::elasticOverscroll() const
993 { 998 {
994 return m_webView->elasticOverscroll(); 999 return m_webView->elasticOverscroll();
995 } 1000 }
996 1001
997 } // namespace blink 1002 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698