OLD | NEW |
(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 #ifndef CHROME_BROWSER_GUEST_VIEW_APP_VIEW_APP_VIEW_GUEST_H_ |
| 6 #define CHROME_BROWSER_GUEST_VIEW_APP_VIEW_APP_VIEW_GUEST_H_ |
| 7 |
| 8 #include "chrome/browser/guest_view/guest_view.h" |
| 9 |
| 10 class AppViewGuest : public GuestView<AppViewGuest> { |
| 11 public: |
| 12 static const char Type[]; |
| 13 |
| 14 AppViewGuest(content::BrowserContext* browser_context, |
| 15 int guest_instance_id); |
| 16 |
| 17 // GuestViewBase implementation. |
| 18 virtual void CreateWebContents( |
| 19 const std::string& embedder_extension_id, |
| 20 int embedder_render_process_id, |
| 21 const base::DictionaryValue& create_params, |
| 22 const WebContentsCreatedCallback& callback) OVERRIDE; |
| 23 virtual void DidAttachToEmbedder() OVERRIDE; |
| 24 |
| 25 private: |
| 26 virtual ~AppViewGuest(); |
| 27 }; |
| 28 |
| 29 #endif // CHROME_BROWSER_GUEST_VIEW_APP_VIEW_APP_VIEW_GUEST_H_ |
OLD | NEW |