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

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 linking errors 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
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 WebSocketHandle; 73 class WebSocketHandle;
73 class WebNode; 74 class WebNode;
74 class WebPlugin; 75 class WebPlugin;
75 class WebRTCPeerConnectionHandler; 76 class WebRTCPeerConnectionHandler;
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 443
443 // A WebSocket object is going to open a new socket stream connection. Used 444 // A WebSocket object is going to open a new socket stream connection. Used
444 // by the old WebSocket implementation. 445 // by the old WebSocket implementation.
445 virtual void willOpenSocketStream(WebSocketStreamHandle*) { } 446 virtual void willOpenSocketStream(WebSocketStreamHandle*) { }
446 447
447 // A WebSocket object is going to open a new WebSocket connection. Used by 448 // A WebSocket object is going to open a new WebSocket connection. Used by
448 // the new WebSocket implementation. 449 // the new WebSocket implementation.
449 virtual void willOpenWebSocket(WebSocketHandle*) { } 450 virtual void willOpenWebSocket(WebSocketHandle*) { }
450 451
451 452
453 // Geolocation ---------------------------------------------------------
454
455 // Access the embedder API for (client-based) geolocation client .
456 virtual WebGeolocationClient* geolocationClient() { return 0; }
457
458
452 // MediaStream ----------------------------------------------------- 459 // MediaStream -----------------------------------------------------
453 460
454 // A new WebRTCPeerConnectionHandler is created. 461 // A new WebRTCPeerConnectionHandler is created.
455 virtual void willStartUsingPeerConnectionHandler(WebLocalFrame*, WebRTCPeerC onnectionHandler*) { } 462 virtual void willStartUsingPeerConnectionHandler(WebLocalFrame*, WebRTCPeerC onnectionHandler*) { }
456 463
457 virtual WebUserMediaClient* userMediaClient() { return 0; } 464 virtual WebUserMediaClient* userMediaClient() { return 0; }
458 465
459 466
460 // Messages ------------------------------------------------------ 467 // Messages ------------------------------------------------------
461 468
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 // Send initial drawing parameters to a child frame that is being rendered o ut of process. 505 // Send initial drawing parameters to a child frame that is being rendered o ut of process.
499 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto r) { } 506 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto r) { }
500 507
501 protected: 508 protected:
502 ~WebFrameClient() { } 509 ~WebFrameClient() { }
503 }; 510 };
504 511
505 } // namespace blink 512 } // namespace blink
506 513
507 #endif 514 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698