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

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

Issue 334923002: Remove ContentBrowserClient::GuestWebContentsAttached (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_adview
Patch Set: Hopefully fixed tests 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 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_GUEST_VIEW_H_ 5 #ifndef CHROME_BROWSER_GUEST_VIEW_GUEST_VIEW_H_
6 #define CHROME_BROWSER_GUEST_VIEW_GUEST_VIEW_H_ 6 #define CHROME_BROWSER_GUEST_VIEW_GUEST_VIEW_H_
7 7
8 #include "chrome/browser/guest_view/guest_view_base.h" 8 #include "chrome/browser/guest_view/guest_view_base.h"
9 #include "content/public/browser/render_frame_host.h" 9 #include "content/public/browser/render_frame_host.h"
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 void SetOpener(T* opener) { 48 void SetOpener(T* opener) {
49 GuestViewBase::SetOpener(opener); 49 GuestViewBase::SetOpener(opener);
50 } 50 }
51 51
52 // GuestViewBase implementation. 52 // GuestViewBase implementation.
53 virtual const char* GetViewType() const OVERRIDE { 53 virtual const char* GetViewType() const OVERRIDE {
54 return T::Type; 54 return T::Type;
55 } 55 }
56 56
57 protected: 57 protected:
58 GuestView(int guest_instance_id, 58 explicit GuestView(int guest_instance_id)
59 content::WebContents* guest_web_contents, 59 : GuestViewBase(guest_instance_id) {}
60 const std::string& embedder_extension_id)
61 : GuestViewBase(guest_instance_id,
62 guest_web_contents,
63 embedder_extension_id) {}
64 virtual ~GuestView() {} 60 virtual ~GuestView() {}
65 61
66 private: 62 private:
67 DISALLOW_COPY_AND_ASSIGN(GuestView); 63 DISALLOW_COPY_AND_ASSIGN(GuestView);
68 }; 64 };
69 65
70 #endif // CHROME_BROWSER_GUEST_VIEW_GUEST_VIEW_H_ 66 #endif // CHROME_BROWSER_GUEST_VIEW_GUEST_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/guest_view/guest_view_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698