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 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 virtual void didNavigateWithinPage(WebLocalFrame*, const WebHistoryItem&, We
bHistoryCommitType) { } | 259 virtual void didNavigateWithinPage(WebLocalFrame*, const WebHistoryItem&, We
bHistoryCommitType) { } |
260 | 260 |
261 // Called upon update to scroll position, document state, and other | 261 // Called upon update to scroll position, document state, and other |
262 // non-navigational events related to the data held by WebHistoryItem. | 262 // non-navigational events related to the data held by WebHistoryItem. |
263 // WARNING: This method may be called very frequently. | 263 // WARNING: This method may be called very frequently. |
264 virtual void didUpdateCurrentHistoryItem(WebLocalFrame*) { } | 264 virtual void didUpdateCurrentHistoryItem(WebLocalFrame*) { } |
265 | 265 |
266 // The frame's manifest has changed. | 266 // The frame's manifest has changed. |
267 virtual void didChangeManifest(WebLocalFrame*) { } | 267 virtual void didChangeManifest(WebLocalFrame*) { } |
268 | 268 |
| 269 // The frame's brand color has changed. |
| 270 virtual void didChangeBrandColor(WebLocalFrame*) { } |
| 271 |
269 | 272 |
270 // Misc ---------------------------------------------------------------- | 273 // Misc ---------------------------------------------------------------- |
271 | 274 |
272 // Called to retrieve the provider of desktop notifications. | 275 // Called to retrieve the provider of desktop notifications. |
273 virtual WebNotificationPresenter* notificationPresenter() { return 0; } | 276 virtual WebNotificationPresenter* notificationPresenter() { return 0; } |
274 | 277 |
275 | 278 |
276 // Editing ------------------------------------------------------------- | 279 // Editing ------------------------------------------------------------- |
277 | 280 |
278 // These methods allow the client to intercept and overrule editing | 281 // These methods allow the client to intercept and overrule editing |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
515 // Access the embedder API for (client-based) screen orientation client . | 518 // Access the embedder API for (client-based) screen orientation client . |
516 virtual WebScreenOrientationClient* webScreenOrientationClient() { return 0;
} | 519 virtual WebScreenOrientationClient* webScreenOrientationClient() { return 0;
} |
517 | 520 |
518 protected: | 521 protected: |
519 virtual ~WebFrameClient() { } | 522 virtual ~WebFrameClient() { } |
520 }; | 523 }; |
521 | 524 |
522 } // namespace blink | 525 } // namespace blink |
523 | 526 |
524 #endif | 527 #endif |
OLD | NEW |