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

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

Issue 792003002: Remove unused nodes argument to createMarkup() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/WebLocalFrameImpl.cpp ('k') | no next file » | 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) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 3782 matching lines...) Expand 10 before | Expand all | Expand 10 after
3793 Position endPosition = endVisiblePosition.deepEquivalent(); 3793 Position endPosition = endVisiblePosition.deepEquivalent();
3794 3794
3795 // document() will return null if -webkit-user-select is set to none. 3795 // document() will return null if -webkit-user-select is set to none.
3796 if (!startPosition.document() || !endPosition.document()) 3796 if (!startPosition.document() || !endPosition.document())
3797 return; 3797 return;
3798 3798
3799 RefPtrWillBeRawPtr<Range> range = Range::create(*startPosition.document(), s tartPosition, endPosition); 3799 RefPtrWillBeRawPtr<Range> range = Range::create(*startPosition.document(), s tartPosition, endPosition);
3800 if (!range) 3800 if (!range)
3801 return; 3801 return;
3802 3802
3803 clipHtml = createMarkup(range.get(), 0, AnnotateForInterchange, false, Resol veNonLocalURLs); 3803 clipHtml = createMarkup(range.get(), AnnotateForInterchange, false, ResolveN onLocalURLs);
3804 } 3804 }
3805 3805
3806 void WebViewImpl::hidePopups() 3806 void WebViewImpl::hidePopups()
3807 { 3807 {
3808 hideSelectPopup(); 3808 hideSelectPopup();
3809 if (m_pagePopup) 3809 if (m_pagePopup)
3810 closePagePopup(m_pagePopup.get()); 3810 closePagePopup(m_pagePopup.get());
3811 } 3811 }
3812 3812
3813 void WebViewImpl::setIsTransparent(bool isTransparent) 3813 void WebViewImpl::setIsTransparent(bool isTransparent)
(...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after
4525 return mainFrameImpl()->frameView()->layoutSize().width() == m_size.width 4525 return mainFrameImpl()->frameView()->layoutSize().width() == m_size.width
4526 || (constraints.minimumScale == constraints.maximumScale && constraints. minimumScale != -1); 4526 || (constraints.minimumScale == constraints.maximumScale && constraints. minimumScale != -1);
4527 } 4527 }
4528 4528
4529 void WebViewImpl::forceNextWebGLContextCreationToFail() 4529 void WebViewImpl::forceNextWebGLContextCreationToFail()
4530 { 4530 {
4531 WebGLRenderingContext::forceNextWebGLContextCreationToFail(); 4531 WebGLRenderingContext::forceNextWebGLContextCreationToFail();
4532 } 4532 }
4533 4533
4534 } // namespace blink 4534 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/WebLocalFrameImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698