Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(647)

Side by Side Diff: public/web/WebFrameClient.h

Issue 249633002: Detect <link rel='manifest'> and notify embedder. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/web/tests/data/link-manifest-change.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 // The navigation resulted in no change to the documents within the page. 255 // The navigation resulted in no change to the documents within the page.
256 // For example, the navigation may have just resulted in scrolling to a 256 // For example, the navigation may have just resulted in scrolling to a
257 // named anchor or a PopState event may have been dispatched. 257 // named anchor or a PopState event may have been dispatched.
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.
266 virtual void didChangeManifest(WebLocalFrame*) { }
267
268
265 // Misc ---------------------------------------------------------------- 269 // Misc ----------------------------------------------------------------
266 270
267 // Called to retrieve the provider of desktop notifications. 271 // Called to retrieve the provider of desktop notifications.
268 virtual WebNotificationPresenter* notificationPresenter() { return 0; } 272 virtual WebNotificationPresenter* notificationPresenter() { return 0; }
269 273
270 274
271 // Editing ------------------------------------------------------------- 275 // Editing -------------------------------------------------------------
272 276
273 // These methods allow the client to intercept and overrule editing 277 // These methods allow the client to intercept and overrule editing
274 // operations. 278 // operations.
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 // Send initial drawing parameters to a child frame that is being rendered o ut of process. 495 // Send initial drawing parameters to a child frame that is being rendered o ut of process.
492 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto r) { } 496 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto r) { }
493 497
494 protected: 498 protected:
495 ~WebFrameClient() { } 499 ~WebFrameClient() { }
496 }; 500 };
497 501
498 } // namespace blink 502 } // namespace blink
499 503
500 #endif 504 #endif
OLDNEW
« no previous file with comments | « Source/web/tests/data/link-manifest-change.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698