OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2011, 2012 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 // frameDetached(). | 123 // frameDetached(). |
124 virtual WebFrame* createChildFrame(WebFrame* parent, const WebString& frameN
ame) { return 0; } | 124 virtual WebFrame* createChildFrame(WebFrame* parent, const WebString& frameN
ame) { return 0; } |
125 | 125 |
126 // This frame set its opener to null, disowning it. | 126 // This frame set its opener to null, disowning it. |
127 // See http://html.spec.whatwg.org/#dom-opener. | 127 // See http://html.spec.whatwg.org/#dom-opener. |
128 virtual void didDisownOpener(WebFrame*) { } | 128 virtual void didDisownOpener(WebFrame*) { } |
129 | 129 |
130 // This frame has been detached from the view, but has not been closed yet. | 130 // This frame has been detached from the view, but has not been closed yet. |
131 virtual void frameDetached(WebFrame*) { } | 131 virtual void frameDetached(WebFrame*) { } |
132 | 132 |
| 133 // This frame has become focused.. |
| 134 virtual void frameFocused() { } |
| 135 |
133 // This frame is about to be closed. This is called after frameDetached, | 136 // This frame is about to be closed. This is called after frameDetached, |
134 // when the document is being unloaded, due to new one committing. | 137 // when the document is being unloaded, due to new one committing. |
135 virtual void willClose(WebFrame*) { } | 138 virtual void willClose(WebFrame*) { } |
136 | 139 |
137 // This frame's name has changed. | 140 // This frame's name has changed. |
138 virtual void didChangeName(WebFrame*, const WebString&) { } | 141 virtual void didChangeName(WebFrame*, const WebString&) { } |
139 | 142 |
140 // Called when a watched CSS selector matches or stops matching. | 143 // Called when a watched CSS selector matches or stops matching. |
141 virtual void didMatchCSS(WebFrame*, const WebVector<WebString>& newlyMatchin
gSelectors, const WebVector<WebString>& stoppedMatchingSelectors) { } | 144 virtual void didMatchCSS(WebFrame*, const WebVector<WebString>& newlyMatchin
gSelectors, const WebVector<WebString>& stoppedMatchingSelectors) { } |
142 | 145 |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 // Send initial drawing parameters to a child frame that is being rendered o
ut of process. | 392 // Send initial drawing parameters to a child frame that is being rendered o
ut of process. |
390 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto
r) { } | 393 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto
r) { } |
391 | 394 |
392 protected: | 395 protected: |
393 ~WebFrameClient() { } | 396 ~WebFrameClient() { } |
394 }; | 397 }; |
395 | 398 |
396 } // namespace blink | 399 } // namespace blink |
397 | 400 |
398 #endif | 401 #endif |
OLD | NEW |