| OLD | NEW |
| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 | 103 |
| 104 VisualViewport& visualViewport(); | 104 VisualViewport& visualViewport(); |
| 105 const VisualViewport& visualViewport() const; | 105 const VisualViewport& visualViewport() const; |
| 106 | 106 |
| 107 PageScaleConstraintsSet& pageScaleConstraintsSet(); | 107 PageScaleConstraintsSet& pageScaleConstraintsSet(); |
| 108 const PageScaleConstraintsSet& pageScaleConstraintsSet() const; | 108 const PageScaleConstraintsSet& pageScaleConstraintsSet() const; |
| 109 | 109 |
| 110 EventHandlerRegistry& eventHandlerRegistry(); | 110 EventHandlerRegistry& eventHandlerRegistry(); |
| 111 const EventHandlerRegistry& eventHandlerRegistry() const; | 111 const EventHandlerRegistry& eventHandlerRegistry() const; |
| 112 | 112 |
| 113 const AtomicString& overrideEncoding() const { return m_overrideEncoding; } | |
| 114 void setOverrideEncoding(const AtomicString& encoding) { m_overrideEncoding
= encoding; } | |
| 115 | |
| 116 ConsoleMessageStorage& consoleMessageStorage(); | 113 ConsoleMessageStorage& consoleMessageStorage(); |
| 117 const ConsoleMessageStorage& consoleMessageStorage() const; | 114 const ConsoleMessageStorage& consoleMessageStorage() const; |
| 118 | 115 |
| 119 DECLARE_TRACE(); | 116 DECLARE_TRACE(); |
| 120 | 117 |
| 121 // Don't allow more than a certain number of frames in a page. | 118 // Don't allow more than a certain number of frames in a page. |
| 122 // This seems like a reasonable upper bound, and otherwise mutually | 119 // This seems like a reasonable upper bound, and otherwise mutually |
| 123 // recursive frameset pages can quickly bring the program to its knees | 120 // recursive frameset pages can quickly bring the program to its knees |
| 124 // with exponential growth in the number of frames. | 121 // with exponential growth in the number of frames. |
| 125 static const int maxNumberOfFrames = 1000; | 122 static const int maxNumberOfFrames = 1000; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 141 const Member<EventHandlerRegistry> m_eventHandlerRegistry; | 138 const Member<EventHandlerRegistry> m_eventHandlerRegistry; |
| 142 const Member<ConsoleMessageStorage> m_consoleMessageStorage; | 139 const Member<ConsoleMessageStorage> m_consoleMessageStorage; |
| 143 | 140 |
| 144 AtomicString m_overrideEncoding; | 141 AtomicString m_overrideEncoding; |
| 145 int m_subframeCount; | 142 int m_subframeCount; |
| 146 }; | 143 }; |
| 147 | 144 |
| 148 } // namespace blink | 145 } // namespace blink |
| 149 | 146 |
| 150 #endif // FrameHost_h | 147 #endif // FrameHost_h |
| OLD | NEW |