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

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

Issue 2488573002: Refactor getInstalledRelatedApps code and add manifest logic and tests. (Closed)
Patch Set: Use SecurityOrigin, not WebSecurityOrigin. Created 3 years, 10 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 | « third_party/WebKit/public/platform/modules/installedapp/WebRelatedAppsFetcher.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) 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 class WebApplicationCacheHostClient; 72 class WebApplicationCacheHostClient;
73 class WebColorChooser; 73 class WebColorChooser;
74 class WebColorChooserClient; 74 class WebColorChooserClient;
75 class WebContentDecryptionModule; 75 class WebContentDecryptionModule;
76 class WebCookieJar; 76 class WebCookieJar;
77 class WebDataSource; 77 class WebDataSource;
78 class WebEncryptedMediaClient; 78 class WebEncryptedMediaClient;
79 class WebExternalPopupMenu; 79 class WebExternalPopupMenu;
80 class WebExternalPopupMenuClient; 80 class WebExternalPopupMenuClient;
81 class WebFileChooserCompletion; 81 class WebFileChooserCompletion;
82 class WebInstalledAppClient;
83 class WebLocalFrame; 82 class WebLocalFrame;
84 class WebMediaPlayer; 83 class WebMediaPlayer;
85 class WebMediaPlayerClient; 84 class WebMediaPlayerClient;
86 class WebMediaPlayerEncryptedMediaClient; 85 class WebMediaPlayerEncryptedMediaClient;
87 class WebMediaPlayerSource; 86 class WebMediaPlayerSource;
88 class WebMediaSession; 87 class WebMediaSession;
89 class WebServiceWorkerProvider; 88 class WebServiceWorkerProvider;
90 class WebPlugin; 89 class WebPlugin;
91 class WebPresentationClient; 90 class WebPresentationClient;
92 class WebPushClient; 91 class WebPushClient;
93 class WebRTCPeerConnectionHandler; 92 class WebRTCPeerConnectionHandler;
93 class WebRelatedAppsFetcher;
94 class WebScreenOrientationClient; 94 class WebScreenOrientationClient;
95 class WebString; 95 class WebString;
96 class WebURL; 96 class WebURL;
97 class WebURLResponse; 97 class WebURLResponse;
98 class WebUserMediaClient; 98 class WebUserMediaClient;
99 class WebWorkerContentSettingsClientProxy; 99 class WebWorkerContentSettingsClientProxy;
100 struct WebColorSuggestion; 100 struct WebColorSuggestion;
101 struct WebConsoleMessage; 101 struct WebConsoleMessage;
102 struct WebContextMenuData; 102 struct WebContextMenuData;
103 struct WebPluginParams; 103 struct WebPluginParams;
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 virtual WebPushClient* pushClient() { return 0; } 442 virtual WebPushClient* pushClient() { return 0; }
443 443
444 // Presentation API ---------------------------------------------------- 444 // Presentation API ----------------------------------------------------
445 445
446 // Used to access the embedder for the Presentation API. 446 // Used to access the embedder for the Presentation API.
447 virtual WebPresentationClient* presentationClient() { return 0; } 447 virtual WebPresentationClient* presentationClient() { return 0; }
448 448
449 // InstalledApp API ---------------------------------------------------- 449 // InstalledApp API ----------------------------------------------------
450 450
451 // Used to access the embedder for the InstalledApp API. 451 // Used to access the embedder for the InstalledApp API.
452 virtual WebInstalledAppClient* installedAppClient() { return nullptr; } 452 virtual WebRelatedAppsFetcher* relatedAppsFetcher() { return nullptr; }
453 453
454 // Editing ------------------------------------------------------------- 454 // Editing -------------------------------------------------------------
455 455
456 // These methods allow the client to intercept and overrule editing 456 // These methods allow the client to intercept and overrule editing
457 // operations. 457 // operations.
458 virtual void didChangeSelection(bool isSelectionEmpty) {} 458 virtual void didChangeSelection(bool isSelectionEmpty) {}
459 459
460 // This method is called in response to handleInputEvent() when the 460 // This method is called in response to handleInputEvent() when the
461 // default action for the current keyboard event is not suppressed by the 461 // default action for the current keyboard event is not suppressed by the
462 // page, to give the embedder a chance to handle the keyboard event 462 // page, to give the embedder a chance to handle the keyboard event
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
752 // Overwrites the given URL to use an HTML5 embed if possible. 752 // Overwrites the given URL to use an HTML5 embed if possible.
753 // An empty URL is returned if the URL is not overriden. 753 // An empty URL is returned if the URL is not overriden.
754 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { 754 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) {
755 return WebURL(); 755 return WebURL();
756 } 756 }
757 }; 757 };
758 758
759 } // namespace blink 759 } // namespace blink
760 760
761 #endif 761 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/modules/installedapp/WebRelatedAppsFetcher.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698