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

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

Issue 256843004: Get the WebGeolocationClient from WebFrameClient instead of WebViewClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix layouttest, fix webkit_unit_tests crash, remove obsolete layout test 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
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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 class WebApplicationCacheHost; 56 class WebApplicationCacheHost;
57 class WebApplicationCacheHostClient; 57 class WebApplicationCacheHostClient;
58 class WebCachedURLRequest; 58 class WebCachedURLRequest;
59 class WebColorChooser; 59 class WebColorChooser;
60 class WebColorChooserClient; 60 class WebColorChooserClient;
61 class WebContentDecryptionModule; 61 class WebContentDecryptionModule;
62 class WebCookieJar; 62 class WebCookieJar;
63 class WebDataSource; 63 class WebDataSource;
64 class WebDOMEvent; 64 class WebDOMEvent;
65 class WebFormElement; 65 class WebFormElement;
66 class WebGeolocationClient;
66 class WebInputEvent; 67 class WebInputEvent;
67 class WebMediaPlayer; 68 class WebMediaPlayer;
68 class WebMediaPlayerClient; 69 class WebMediaPlayerClient;
69 class WebNotificationPresenter; 70 class WebNotificationPresenter;
70 class WebServiceWorkerProvider; 71 class WebServiceWorkerProvider;
71 class WebServiceWorkerProviderClient; 72 class WebServiceWorkerProviderClient;
72 class WebNode; 73 class WebNode;
73 class WebPlugin; 74 class WebPlugin;
74 class WebRTCPeerConnectionHandler; 75 class WebRTCPeerConnectionHandler;
75 class WebSharedWorker; 76 class WebSharedWorker;
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 WebLocalFrame*, WebStorageQuotaType, 433 WebLocalFrame*, WebStorageQuotaType,
433 unsigned long long newQuotaInBytes, 434 unsigned long long newQuotaInBytes,
434 WebStorageQuotaCallbacks) { } 435 WebStorageQuotaCallbacks) { }
435 436
436 // WebSocket ----------------------------------------------------- 437 // WebSocket -----------------------------------------------------
437 438
438 // A WebSocket object is going to open new stream connection. 439 // A WebSocket object is going to open new stream connection.
439 virtual void willOpenSocketStream(WebSocketStreamHandle*) { } 440 virtual void willOpenSocketStream(WebSocketStreamHandle*) { }
440 441
441 442
443 // Geolocation ---------------------------------------------------------
444
445 // Access the embedder API for (client-based) geolocation client .
446 virtual WebGeolocationClient* geolocationClient() { return 0; }
447
448
442 // MediaStream ----------------------------------------------------- 449 // MediaStream -----------------------------------------------------
443 450
444 // A new WebRTCPeerConnectionHandler is created. 451 // A new WebRTCPeerConnectionHandler is created.
445 virtual void willStartUsingPeerConnectionHandler(WebLocalFrame*, WebRTCPeerC onnectionHandler*) { } 452 virtual void willStartUsingPeerConnectionHandler(WebLocalFrame*, WebRTCPeerC onnectionHandler*) { }
446 453
447 virtual WebUserMediaClient* userMediaClient() { return 0; } 454 virtual WebUserMediaClient* userMediaClient() { return 0; }
448 455
449 456
450 // Messages ------------------------------------------------------ 457 // Messages ------------------------------------------------------
451 458
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 // 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.
489 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto r) { } 496 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto r) { }
490 497
491 protected: 498 protected:
492 ~WebFrameClient() { } 499 ~WebFrameClient() { }
493 }; 500 };
494 501
495 } // namespace blink 502 } // namespace blink
496 503
497 #endif 504 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698