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

Unified Diff: content/public/browser/presentation_service_delegate.h

Issue 887563006: [Reland] Support listening for available screens for multiple (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed non_export_base from RenderFrameObserver Created 5 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 side-by-side diff with in-line comments
Download patch
Index: content/public/browser/presentation_service_delegate.h
diff --git a/content/public/browser/presentation_service_delegate.h b/content/public/browser/presentation_service_delegate.h
index c527bf0383cbc44d3aebe129c31fa9cd13d73bbb..2929c47c5d9f5e4869ba1b1e1713453ad8fdd2b7 100644
--- a/content/public/browser/presentation_service_delegate.h
+++ b/content/public/browser/presentation_service_delegate.h
@@ -5,16 +5,18 @@
#ifndef CONTENT_PUBLIC_BROWSER_PRESENTATION_SERVICE_DELEGATE_H_
#define CONTENT_PUBLIC_BROWSER_PRESENTATION_SERVICE_DELEGATE_H_
+#include "content/common/content_export.h"
+
namespace content {
class PresentationScreenAvailabilityListener;
// An interface implemented by embedders to handle presentation API calls
// forwarded from PresentationServiceImpl.
-class PresentationServiceDelegate {
+class CONTENT_EXPORT PresentationServiceDelegate {
public:
// Observer interface to listen for changes to PresentationServiceDelegate.
- class Observer {
+ class CONTENT_EXPORT Observer {
public:
// Called when the PresentationServiceDelegate is being destroyed.
virtual void OnDelegateDestroyed() = 0;
@@ -23,6 +25,8 @@ class PresentationServiceDelegate {
virtual ~Observer() {}
};
+ virtual ~PresentationServiceDelegate() {}
+
// Registers an observer with this class to listen for updates to this class.
// This class does not own the observer.
// It is an error to add an observer if it has already been added before.
@@ -55,9 +59,6 @@ class PresentationServiceDelegate {
virtual void RemoveAllScreenAvailabilityListeners(
int render_process_id,
int render_frame_id) = 0;
-
- protected:
- virtual ~PresentationServiceDelegate() {}
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698