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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 ~FrameHost(); | 62 ~FrameHost(); |
63 | 63 |
64 Page& page(); | 64 Page& page(); |
65 const Page& page() const; | 65 const Page& page() const; |
66 | 66 |
67 BrowserControls& browserControls(); | 67 BrowserControls& browserControls(); |
68 const BrowserControls& browserControls() const; | 68 const BrowserControls& browserControls() const; |
69 | 69 |
70 DECLARE_TRACE(); | 70 DECLARE_TRACE(); |
71 | 71 |
72 void incrementSubframeCount(); | |
73 void decrementSubframeCount(); | |
74 int subframeCount() const; | |
75 | |
76 private: | 72 private: |
77 explicit FrameHost(Page&); | 73 explicit FrameHost(Page&); |
78 | 74 |
79 const Member<Page> m_page; | 75 const Member<Page> m_page; |
80 }; | 76 }; |
81 | 77 |
82 } // namespace blink | 78 } // namespace blink |
83 | 79 |
84 #endif // FrameHost_h | 80 #endif // FrameHost_h |
OLD | NEW |