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

Unified Diff: extensions/browser/guest_view/surface_worker/surface_worker_guest.h

Issue 1290013003: This patch removes all files, directories, flags, and code related to SurfaceWorker, which is now d… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: One more deletion. Created 5 years, 4 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: 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_

Powered by Google App Engine
This is Rietveld 408576698