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

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

Issue 152763002: DO NOT REVIEW Bindings and plumbing for push messaging API. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Address some review comments. Created 6 years, 9 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 | « public/platform/WebPushRegistration.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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 class WebGeolocationClient; 62 class WebGeolocationClient;
63 class WebGeolocationService; 63 class WebGeolocationService;
64 class WebGestureEvent; 64 class WebGestureEvent;
65 class WebHitTestResult; 65 class WebHitTestResult;
66 class WebImage; 66 class WebImage;
67 class WebInputElement; 67 class WebInputElement;
68 class WebKeyboardEvent; 68 class WebKeyboardEvent;
69 class WebMIDIClient; 69 class WebMIDIClient;
70 class WebNode; 70 class WebNode;
71 class WebNotificationPresenter; 71 class WebNotificationPresenter;
72 class WebPushClient;
72 class WebRange; 73 class WebRange;
73 class WebSpeechInputController; 74 class WebSpeechInputController;
74 class WebSpeechInputListener; 75 class WebSpeechInputListener;
75 class WebSpeechRecognizer; 76 class WebSpeechRecognizer;
76 class WebStorageNamespace; 77 class WebStorageNamespace;
77 class WebURL; 78 class WebURL;
78 class WebURLRequest; 79 class WebURLRequest;
79 class WebUserMediaClient; 80 class WebUserMediaClient;
80 class WebView; 81 class WebView;
81 class WebWidget; 82 class WebWidget;
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 } 388 }
388 389
389 // Media Streams ------------------------------------------------------- 390 // Media Streams -------------------------------------------------------
390 391
391 virtual WebUserMediaClient* userMediaClient() { return 0; } 392 virtual WebUserMediaClient* userMediaClient() { return 0; }
392 393
393 // Web MIDI ------------------------------------------------------------- 394 // Web MIDI -------------------------------------------------------------
394 395
395 virtual WebMIDIClient* webMIDIClient() { return 0; } 396 virtual WebMIDIClient* webMIDIClient() { return 0; }
396 397
398 // Push Messaging -------------------------------------------------------
399
400 virtual WebPushClient* webPushClient() { return 0; }
401
397 402
398 // Content detection ---------------------------------------------------- 403 // Content detection ----------------------------------------------------
399 404
400 // Retrieves detectable content (e.g., email addresses, phone numbers) 405 // Retrieves detectable content (e.g., email addresses, phone numbers)
401 // around a hit test result. The embedder should use platform-specific 406 // around a hit test result. The embedder should use platform-specific
402 // content detectors to analyze the region around the hit test result. 407 // content detectors to analyze the region around the hit test result.
403 virtual WebContentDetectionResult detectContentAround(const WebHitTestResult &) { return WebContentDetectionResult(); } 408 virtual WebContentDetectionResult detectContentAround(const WebHitTestResult &) { return WebContentDetectionResult(); }
404 409
405 // Schedules a new content intent with the provided url. 410 // Schedules a new content intent with the provided url.
406 virtual void scheduleContentIntent(const WebURL&) { } 411 virtual void scheduleContentIntent(const WebURL&) { }
407 412
408 // Cancels any previously scheduled content intents that have not yet launch ed. 413 // Cancels any previously scheduled content intents that have not yet launch ed.
409 virtual void cancelScheduledContentIntents() { } 414 virtual void cancelScheduledContentIntents() { }
410 415
411 // Draggable regions ---------------------------------------------------- 416 // Draggable regions ----------------------------------------------------
412 417
413 // Informs the browser that the draggable regions have been updated. 418 // Informs the browser that the draggable regions have been updated.
414 virtual void draggableRegionsChanged() { } 419 virtual void draggableRegionsChanged() { }
415 420
416 protected: 421 protected:
417 ~WebViewClient() { } 422 ~WebViewClient() { }
418 }; 423 };
419 424
420 } // namespace blink 425 } // namespace blink
421 426
422 #endif 427 #endif
OLDNEW
« no previous file with comments | « public/platform/WebPushRegistration.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698