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

Side by Side Diff: chrome/browser/guest_view/extension_options/extension_options_guest.h

Issue 378783002: Initial implementation of the <extensionoptions> GuestView tag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_GUEST_VIEW_APP_VIEW_APP_VIEW_GUEST_H_ 5 #ifndef CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUEST_H_
6 #define CHROME_BROWSER_GUEST_VIEW_APP_VIEW_APP_VIEW_GUEST_H_ 6 #define CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUEST_H_
7 7
8 #include "chrome/browser/guest_view/guest_view.h" 8 #include "chrome/browser/guest_view/guest_view.h"
9 9
10 class AppViewGuest : public GuestView<AppViewGuest> { 10 class ExtensionOptionsGuest : public GuestView<ExtensionOptionsGuest> {
11 public: 11 public:
12 static const char Type[]; 12 static const char Type[];
13 13
14 AppViewGuest(content::BrowserContext* browser_context, 14 ExtensionOptionsGuest(content::BrowserContext* browser_context,
15 int guest_instance_id); 15 int guest_instance_id);
16 16
17 // GuestViewBase implementation. 17 // GuestViewBase implementation
18 virtual void CreateWebContents( 18 virtual void CreateWebContents(
19 const std::string& embedder_extension_id, 19 const std::string& embedder_extension_id,
20 int embedder_render_process_id, 20 int embedder_render_process_id,
21 const base::DictionaryValue& create_params, 21 const base::DictionaryValue& create_params,
22 const WebContentsCreatedCallback& callback) OVERRIDE; 22 const WebContentsCreatedCallback& callback) OVERRIDE;
23 virtual void DidAttachToEmbedder() OVERRIDE;
24 23
25 private: 24 private:
26 virtual ~AppViewGuest(); 25 virtual ~ExtensionOptionsGuest();
27 }; 26 };
28 27
29 #endif // CHROME_BROWSER_GUEST_VIEW_APP_VIEW_APP_VIEW_GUEST_H_ 28 #endif // CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUEST_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698