Index: content/common/gpu/gpu_channel_manager_delegate.h |
diff --git a/content/common/gpu/gpu_channel_manager_delegate.h b/content/common/gpu/gpu_channel_manager_delegate.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ee39eaeb9d30b6796bd59de03890229bc33124f6 |
--- /dev/null |
+++ b/content/common/gpu/gpu_channel_manager_delegate.h |
@@ -0,0 +1,21 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CONTENT_COMMON_GPU_GPU_CHANNEL_MANAGER_DELEGATE_H_ |
+#define CONTENT_COMMON_GPU_GPU_CHANNEL_MANAGER_DELEGATE_H_ |
+ |
+namespace content { |
+ |
+class GpuChannelManagerDelegate { |
+ public: |
+ // Notifies the delegate of a change in the active URL. |
+ virtual void SetActiveURL(const std::string& url) = 0; |
+ |
+ protected: |
+ virtual ~GpuChannelManagerDelegate() {} |
+}; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_COMMON_GPU_GPU_CHANNEL_MANAGER_DELEGATE_H_ |