Index: extensions/browser/guest_view/surface_worker/surface_worker_guest.h |
diff --git a/extensions/browser/guest_view/surface_worker/surface_worker_guest.h b/extensions/browser/guest_view/surface_worker/surface_worker_guest.h |
deleted file mode 100644 |
index e1db441ccc8583a7e1e14513a6cfcf705fcf5c6e..0000000000000000000000000000000000000000 |
--- a/extensions/browser/guest_view/surface_worker/surface_worker_guest.h |
+++ /dev/null |
@@ -1,49 +0,0 @@ |
-// Copyright 2014 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 EXTENSIONS_BROWSER_GUEST_VIEW_SURFACE_WORKER_SURFACE_WORKER_GUEST_H_ |
-#define EXTENSIONS_BROWSER_GUEST_VIEW_SURFACE_WORKER_SURFACE_WORKER_GUEST_H_ |
- |
-#include "components/guest_view/browser/guest_view.h" |
- |
-namespace extensions { |
-class Extension; |
-class ExtensionHost; |
- |
-// An SurfaceWorkerGuest provides the browser-side implementation of the |
-// prototype <wtframe> API. |
-class SurfaceWorkerGuest : public guest_view::GuestView<SurfaceWorkerGuest> { |
- public: |
- static const char Type[]; |
- |
- static guest_view::GuestViewBase* Create( |
- content::WebContents* owner_web_contents); |
- |
- // content::WebContentsDelegate implementation. |
- bool HandleContextMenu(const content::ContextMenuParams& params) override; |
- |
- // GuestViewBase implementation. |
- const char* GetAPINamespace() const override; |
- int GetTaskPrefix() const override; |
- void CreateWebContents(const base::DictionaryValue& create_params, |
- const WebContentsCreatedCallback& callback) override; |
- void DidAttachToEmbedder() override; |
- |
- private: |
- explicit SurfaceWorkerGuest(content::WebContents* owner_web_contents); |
- |
- ~SurfaceWorkerGuest() override; |
- |
- GURL url_; |
- |
- // This is used to ensure pending tasks will not fire after this object is |
- // destroyed. |
- base::WeakPtrFactory<SurfaceWorkerGuest> weak_ptr_factory_; |
- |
- DISALLOW_COPY_AND_ASSIGN(SurfaceWorkerGuest); |
-}; |
- |
-} // namespace extensions |
- |
-#endif // EXTENSIONS_BROWSER_GUEST_VIEW_SURFACE_WORKER_SURFACE_WORKER_GUEST_H_ |