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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
258 virtual void didNavigateWithinPage(WebLocalFrame*, const WebHistoryItem&, We bHistoryCommitType) { } | 258 virtual void didNavigateWithinPage(WebLocalFrame*, const WebHistoryItem&, We bHistoryCommitType) { } |
259 | 259 |
260 // Called upon update to scroll position, document state, and other | 260 // Called upon update to scroll position, document state, and other |
261 // non-navigational events related to the data held by WebHistoryItem. | 261 // non-navigational events related to the data held by WebHistoryItem. |
262 // WARNING: This method may be called very frequently. | 262 // WARNING: This method may be called very frequently. |
263 virtual void didUpdateCurrentHistoryItem(WebLocalFrame*) { } | 263 virtual void didUpdateCurrentHistoryItem(WebLocalFrame*) { } |
264 | 264 |
265 // The frame's manifest has changed. | 265 // The frame's manifest has changed. |
266 virtual void didChangeManifest(WebLocalFrame*) { } | 266 virtual void didChangeManifest(WebLocalFrame*) { } |
267 | 267 |
268 // The frame's brand color has changed. | |
269 virtual void didChangeBrandColor(WebLocalFrame*) { } | |
268 | 270 |
abarth-chromium
2014/06/13 05:40:41
Two blank lines between sections please.
michaelbai
2014/06/13 19:56:51
Done.
| |
269 // Misc ---------------------------------------------------------------- | 271 // Misc ---------------------------------------------------------------- |
270 | 272 |
271 // Called to retrieve the provider of desktop notifications. | 273 // Called to retrieve the provider of desktop notifications. |
272 virtual WebNotificationPresenter* notificationPresenter() { return 0; } | 274 virtual WebNotificationPresenter* notificationPresenter() { return 0; } |
273 | 275 |
274 | 276 |
275 // Editing ------------------------------------------------------------- | 277 // Editing ------------------------------------------------------------- |
276 | 278 |
277 // These methods allow the client to intercept and overrule editing | 279 // These methods allow the client to intercept and overrule editing |
278 // operations. | 280 // operations. |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
511 // Send initial drawing parameters to a child frame that is being rendered o ut of process. | 513 // Send initial drawing parameters to a child frame that is being rendered o ut of process. |
512 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto r) { } | 514 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto r) { } |
513 | 515 |
514 protected: | 516 protected: |
515 virtual ~WebFrameClient() { } | 517 virtual ~WebFrameClient() { } |
516 }; | 518 }; |
517 | 519 |
518 } // namespace blink | 520 } // namespace blink |
519 | 521 |
520 #endif | 522 #endif |
OLD | NEW |