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

Side by Side Diff: extensions/browser/guest_view/extension_view/extension_view_guest.h

Issue 2535713004: extensions: Cleanup class/struct fwd declarations (Closed)
Patch Set: Created 4 years 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSION_VIEW_EXTENSION_VIEW_GUEST_H_ 5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSION_VIEW_EXTENSION_VIEW_GUEST_H_
6 #define EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSION_VIEW_EXTENSION_VIEW_GUEST_H_ 6 #define EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSION_VIEW_EXTENSION_VIEW_GUEST_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/guest_view/browser/guest_view.h" 9 #include "components/guest_view/browser/guest_view.h"
10 #include "extensions/browser/extension_function_dispatcher.h" 10 #include "extensions/browser/extension_function_dispatcher.h"
11 #include "url/gurl.h" 11 #include "url/gurl.h"
12 12
13 namespace content {
14 class BrowserContext;
15 }
16
17 namespace extensions { 13 namespace extensions {
18 14
19 class ExtensionViewGuest 15 class ExtensionViewGuest
20 : public guest_view::GuestView<ExtensionViewGuest> { 16 : public guest_view::GuestView<ExtensionViewGuest> {
21 public: 17 public:
22 static const char Type[]; 18 static const char Type[];
23 static guest_view::GuestViewBase* Create( 19 static guest_view::GuestViewBase* Create(
24 content::WebContents* owner_web_contents); 20 content::WebContents* owner_web_contents);
25 21
26 // Request navigating the guest to the provided |src| URL. 22 // Request navigating the guest to the provided |src| URL.
(...skipping 29 matching lines...) Expand all
56 52
57 // The extension URL, including the extension scheme and extension ID. 53 // The extension URL, including the extension scheme and extension ID.
58 GURL extension_url_; 54 GURL extension_url_;
59 55
60 DISALLOW_COPY_AND_ASSIGN(ExtensionViewGuest); 56 DISALLOW_COPY_AND_ASSIGN(ExtensionViewGuest);
61 }; 57 };
62 58
63 } // namespace extensions 59 } // namespace extensions
64 60
65 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSION_VIEW_EXTENSION_VIEW_GUEST_H_ 61 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSION_VIEW_EXTENSION_VIEW_GUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698