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

Side by Side Diff: sky/engine/core/html/imports/HTMLImport.h

Issue 709203002: Remove more oilpan. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 // until all of its children are loaded. 87 // until all of its children are loaded.
88 // Note that dynamically added import won't block the parser. 88 // Note that dynamically added import won't block the parser.
89 // 89 //
90 // - An import under loading also blocks imported documents that follow from bei ng created. 90 // - An import under loading also blocks imported documents that follow from bei ng created.
91 // This is because an import can include another import that has same URLs of following ones. 91 // This is because an import can include another import that has same URLs of following ones.
92 // In such case, the preceding import should be loaded and following ones shou ld be de-duped. 92 // In such case, the preceding import should be loaded and following ones shou ld be de-duped.
93 // 93 //
94 94
95 // The superclass of HTMLImportTreeRoot and HTMLImportChild 95 // The superclass of HTMLImportTreeRoot and HTMLImportChild
96 // This represents the import tree data structure. 96 // This represents the import tree data structure.
97 class HTMLImport : public DummyBase<HTMLImport>, public TreeNode<HTMLImport> { 97 class HTMLImport : public TreeNode<HTMLImport> {
98 public: 98 public:
99 enum SyncMode { 99 enum SyncMode {
100 Sync = 0, 100 Sync = 0,
101 Async = 1 101 Async = 1
102 }; 102 };
103 103
104 virtual ~HTMLImport() { } 104 virtual ~HTMLImport() { }
105 105
106 // FIXME: Consider returning HTMLImportTreeRoot. 106 // FIXME: Consider returning HTMLImportTreeRoot.
107 HTMLImport* root(); 107 HTMLImport* root();
(...skipping 29 matching lines...) Expand all
137 #endif 137 #endif
138 138
139 private: 139 private:
140 HTMLImportState m_state; 140 HTMLImportState m_state;
141 unsigned m_sync : 1; 141 unsigned m_sync : 1;
142 }; 142 };
143 143
144 } // namespace blink 144 } // namespace blink
145 145
146 #endif // HTMLImport_h 146 #endif // HTMLImport_h
OLDNEW
« no previous file with comments | « sky/engine/core/html/ime/InputMethodContext.h ('k') | sky/engine/core/html/imports/HTMLImportChildClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698