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

Side by Side Diff: third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.cpp

Issue 1602663003: Framelet Prototype 2016 using Mojo IPC Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Disabled oilpan Created 4 years, 10 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) 2010 Google, Inc. All Rights Reserved. 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved.
3 * Copyright (C) 2011, 2014 Apple Inc. All rights reserved. 3 * Copyright (C) 2011, 2014 Apple Inc. All rights reserved.
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 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 818 matching lines...) Expand 10 before | Expand all | Expand 10 after
829 setInsertionMode(TextMode); 829 setInsertionMode(TextMode);
830 return; 830 return;
831 } 831 }
832 if (token->name() == xmpTag) { 832 if (token->name() == xmpTag) {
833 processFakePEndTagIfPInButtonScope(); 833 processFakePEndTagIfPInButtonScope();
834 m_tree.reconstructTheActiveFormattingElements(); 834 m_tree.reconstructTheActiveFormattingElements();
835 m_framesetOk = false; 835 m_framesetOk = false;
836 processGenericRawTextStartTag(token); 836 processGenericRawTextStartTag(token);
837 return; 837 return;
838 } 838 }
839 if (token->name() == frameletTag) {
840 m_framesetOk = false;
841 processGenericRawTextStartTag(token);
842 return;
843 }
839 if (token->name() == iframeTag) { 844 if (token->name() == iframeTag) {
840 m_framesetOk = false; 845 m_framesetOk = false;
841 processGenericRawTextStartTag(token); 846 processGenericRawTextStartTag(token);
842 return; 847 return;
843 } 848 }
844 if (token->name() == noembedTag && m_options.pluginsEnabled) { 849 if (token->name() == noembedTag && m_options.pluginsEnabled) {
845 processGenericRawTextStartTag(token); 850 processGenericRawTextStartTag(token);
846 return; 851 return;
847 } 852 }
848 if (token->name() == noscriptTag && m_options.scriptEnabled) { 853 if (token->name() == noscriptTag && m_options.scriptEnabled) {
(...skipping 1963 matching lines...) Expand 10 before | Expand all | Expand 10 after
2812 ASSERT(m_isAttached); 2817 ASSERT(m_isAttached);
2813 // Warning, this may detach the parser. Do not do anything else after this. 2818 // Warning, this may detach the parser. Do not do anything else after this.
2814 m_tree.finishedParsing(); 2819 m_tree.finishedParsing();
2815 } 2820 }
2816 2821
2817 void HTMLTreeBuilder::parseError(AtomicHTMLToken*) 2822 void HTMLTreeBuilder::parseError(AtomicHTMLToken*)
2818 { 2823 {
2819 } 2824 }
2820 2825
2821 } // namespace blink 2826 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698