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

Unified Diff: chrome/browser/guest_view/app_view/app_view_guest.h

Issue 353013007: Implement <appview> skeleton. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@app_view_skeleton
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/guest_view/app_view/app_view_guest.h
diff --git a/chrome/browser/guest_view/app_view/app_view_guest.h b/chrome/browser/guest_view/app_view/app_view_guest.h
new file mode 100644
index 0000000000000000000000000000000000000000..33e01972b56ece5c51f86d39e3f6111217251f59
--- /dev/null
+++ b/chrome/browser/guest_view/app_view/app_view_guest.h
@@ -0,0 +1,29 @@
+// 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 CHROME_BROWSER_GUEST_VIEW_APP_VIEW_APP_VIEW_GUEST_H_
+#define CHROME_BROWSER_GUEST_VIEW_APP_VIEW_APP_VIEW_GUEST_H_
+
+#include "chrome/browser/guest_view/guest_view.h"
+
+class AppViewGuest : public GuestView<AppViewGuest> {
+ public:
+ static const char Type[];
+
+ AppViewGuest(content::BrowserContext* browser_context,
+ int guest_instance_id);
+
+ // GuestViewBase implementation.
+ virtual void CreateWebContents(
+ const std::string& embedder_extension_id,
+ int embedder_render_process_id,
+ const base::DictionaryValue& create_params,
+ const WebContentsCreatedCallback& callback) OVERRIDE;
+ virtual void DidAttachToEmbedder() OVERRIDE;
+
+ private:
+ virtual ~AppViewGuest();
+};
+
+#endif // CHROME_BROWSER_GUEST_VIEW_APP_VIEW_APP_VIEW_GUEST_H_

Powered by Google App Engine
This is Rietveld 408576698