| 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 26 matching lines...) Expand all Loading... |
| 37 #include "wtf/OwnPtr.h" | 37 #include "wtf/OwnPtr.h" |
| 38 #include "wtf/PassOwnPtr.h" | 38 #include "wtf/PassOwnPtr.h" |
| 39 | 39 |
| 40 namespace blink { | 40 namespace blink { |
| 41 | 41 |
| 42 class Chrome; | 42 class Chrome; |
| 43 class Page; | 43 class Page; |
| 44 class ServiceProvider; | 44 class ServiceProvider; |
| 45 class Settings; | 45 class Settings; |
| 46 class UseCounter; | 46 class UseCounter; |
| 47 class Visitor; | |
| 48 | 47 |
| 49 // FrameHost is the set of global data shared between multiple frames | 48 // FrameHost is the set of global data shared between multiple frames |
| 50 // and is provided by the embedder to each frame when created. | 49 // and is provided by the embedder to each frame when created. |
| 51 // FrameHost currently corresponds to the Page object in core/page | 50 // FrameHost currently corresponds to the Page object in core/page |
| 52 // however the concept of a Page is moving up out of Blink. | 51 // however the concept of a Page is moving up out of Blink. |
| 53 // In an out-of-process iframe world, a single Page may have | 52 // In an out-of-process iframe world, a single Page may have |
| 54 // multiple frames in different process, thus Page becomes a | 53 // multiple frames in different process, thus Page becomes a |
| 55 // browser-level concept and Blink core/ only knows about its LocalFrame (and Fr
ameHost). | 54 // browser-level concept and Blink core/ only knows about its LocalFrame (and Fr
ameHost). |
| 56 // Separating Page from the rest of core/ through this indirection | 55 // Separating Page from the rest of core/ through this indirection |
| 57 // allows us to slowly refactor Page without breaking the rest of core. | 56 // allows us to slowly refactor Page without breaking the rest of core. |
| (...skipping 19 matching lines...) Expand all Loading... |
| 77 private: | 76 private: |
| 78 FrameHost(Page&, ServiceProvider&); | 77 FrameHost(Page&, ServiceProvider&); |
| 79 | 78 |
| 80 Page* m_page; | 79 Page* m_page; |
| 81 ServiceProvider& m_services; | 80 ServiceProvider& m_services; |
| 82 }; | 81 }; |
| 83 | 82 |
| 84 } | 83 } |
| 85 | 84 |
| 86 #endif // FrameHost_h | 85 #endif // FrameHost_h |
| OLD | NEW |