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

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

Issue 319573008: Navigation transitions: Initiate navigation transition and send serialized markup to Chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@transitions_editing
Patch Set: Created 6 years, 6 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
« public/web/WebFrameClient.h ('K') | « public/web/WebFrameClient.h ('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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 // around a hit test result. The embedder should use platform-specific 311 // around a hit test result. The embedder should use platform-specific
312 // content detectors to analyze the region around the hit test result. 312 // content detectors to analyze the region around the hit test result.
313 virtual WebContentDetectionResult detectContentAround(const WebHitTestResult &) { return WebContentDetectionResult(); } 313 virtual WebContentDetectionResult detectContentAround(const WebHitTestResult &) { return WebContentDetectionResult(); }
314 314
315 // Schedules a new content intent with the provided url. 315 // Schedules a new content intent with the provided url.
316 virtual void scheduleContentIntent(const WebURL&) { } 316 virtual void scheduleContentIntent(const WebURL&) { }
317 317
318 // Cancels any previously scheduled content intents that have not yet launch ed. 318 // Cancels any previously scheduled content intents that have not yet launch ed.
319 virtual void cancelScheduledContentIntents() { } 319 virtual void cancelScheduledContentIntents() { }
320 320
321 // Provides serialized markup of transition elements for use in the followin g navigation.
322 virtual void addNavigationTransitionData(const WebString& origin, const WebS tring& markup) { }
abarth-chromium 2014/06/13 17:18:31 |origin| should likely be a WebSecurityOrigin.
321 323
abarth-chromium 2014/06/13 17:18:31 Two blank lines between sections.
oystein (OOO til 10th of July) 2014/06/18 00:04:09 Done.
322 // Draggable regions ---------------------------------------------------- 324 // Draggable regions ----------------------------------------------------
323 325
324 // Informs the browser that the draggable regions have been updated. 326 // Informs the browser that the draggable regions have been updated.
325 virtual void draggableRegionsChanged() { } 327 virtual void draggableRegionsChanged() { }
326 328
327 protected: 329 protected:
328 ~WebViewClient() { } 330 ~WebViewClient() { }
329 }; 331 };
330 332
331 } // namespace blink 333 } // namespace blink
332 334
333 #endif 335 #endif
OLDNEW
« public/web/WebFrameClient.h ('K') | « public/web/WebFrameClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698