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

Side by Side Diff: sky/engine/core/html/parser/HTMLElementStack.h

Issue 788113002: Simplify HTMLStyleElement. (Closed) Base URL: git@github.com:domokit/mojo.git@master
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
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 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 void popAll(); 95 void popAll();
96 96
97 #ifndef NDEBUG 97 #ifndef NDEBUG
98 void show(); 98 void show();
99 #endif 99 #endif
100 100
101 private: 101 private:
102 void popUntil(Element*); 102 void popUntil(Element*);
103 void pushCommon(PassRefPtr<ContainerNode>); 103 void pushCommon(PassRefPtr<ContainerNode>);
104 void popCommon(); 104 void popCommon();
105 void removeNonTopCommon(Element*);
106 105
107 OwnPtr<ElementRecord> m_top; 106 OwnPtr<ElementRecord> m_top;
108 107
109 ContainerNode* m_rootNode; 108 ContainerNode* m_rootNode;
110 unsigned m_stackDepth; 109 unsigned m_stackDepth;
111 }; 110 };
112 111
113 } // namespace blink 112 } // namespace blink
114 113
115 #endif // SKY_ENGINE_CORE_HTML_PARSER_HTMLELEMENTSTACK_H_ 114 #endif // SKY_ENGINE_CORE_HTML_PARSER_HTMLELEMENTSTACK_H_
OLDNEW
« no previous file with comments | « sky/engine/core/html/parser/HTMLConstructionSite.cpp ('k') | sky/engine/core/html/parser/HTMLElementStack.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698