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

Side by Side Diff: chrome/browser/guest_view/app_view/app_view_guest.cc

Issue 353013007: Implement <appview> skeleton. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@app_view_skeleton
Patch Set: Fixed PermissionsTest unit test Created 6 years, 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/guest_view/app_view/app_view_guest.h"
6
7 // static
8 const char AppViewGuest::Type[] = "appview";
9
10 AppViewGuest::AppViewGuest(content::BrowserContext* browser_context,
11 int guest_instance_id)
12 : GuestView<AppViewGuest>(browser_context, guest_instance_id) {
13 }
14
15 AppViewGuest::~AppViewGuest() {
16 }
17
18 void AppViewGuest::CreateWebContents(
19 const std::string& embedder_extension_id,
20 int embedder_render_process_id,
21 const base::DictionaryValue& create_params,
22 const WebContentsCreatedCallback& callback) {
23 // TODO(fsamuel): Create a WebContents with the appropriate SiteInstance here.
24 // After the WebContents has been created, call the |callback|.
25 // callback.Run(new_web_contents);
26 }
27
28 void AppViewGuest::DidAttachToEmbedder() {
29 // This is called after the guest process has been attached to a host
30 // element. This means that the host element knows how to route input
31 // events to the guest, and the guest knows how to get frames to the
32 // embedder.
33 // TODO(fsamuel): Perform the initial navigation here.
34 }
OLDNEW
« no previous file with comments | « chrome/browser/guest_view/app_view/app_view_guest.h ('k') | chrome/browser/guest_view/guest_view_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698