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

Side by Side Diff: content/browser/browser_plugin/test_browser_plugin_guest_delegate.h

Issue 295083002: BrowserPluginGuest is no longer a WebContentsDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@make_context_menu_easier_to_refactor
Patch Set: Fixed content_browsertests 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 CONTENT_BROWSER_BROWSER_PLUGIN_TEST_BROWSER_PLUGIN_GUEST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_BROWSER_PLUGIN_TEST_BROWSER_PLUGIN_GUEST_DELEGATE_H_
6 #define CONTENT_BROWSER_BROWSER_PLUGIN_TEST_BROWSER_PLUGIN_GUEST_DELEGATE_H_ 6 #define CONTENT_BROWSER_BROWSER_PLUGIN_TEST_BROWSER_PLUGIN_GUEST_DELEGATE_H_
7 7
8 #include "content/public/browser/browser_plugin_guest_delegate.h" 8 #include "content/public/browser/browser_plugin_guest_delegate.h"
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "content/public/common/page_transition_types.h" 11 #include "content/public/common/page_transition_types.h"
12 #include "url/gurl.h"
12 13
13 namespace content { 14 namespace content {
14 15
15 class BrowserPluginGuest; 16 class BrowserPluginGuest;
16 struct Referrer; 17 struct Referrer;
17 18
18 class TestBrowserPluginGuestDelegate : public BrowserPluginGuestDelegate { 19 class TestBrowserPluginGuestDelegate : public BrowserPluginGuestDelegate {
19 public: 20 public:
20 explicit TestBrowserPluginGuestDelegate(BrowserPluginGuest* guest); 21 explicit TestBrowserPluginGuestDelegate(BrowserPluginGuest* guest);
21 virtual ~TestBrowserPluginGuestDelegate(); 22 virtual ~TestBrowserPluginGuestDelegate();
(...skipping 14 matching lines...) Expand all
36 37
37 BrowserPluginGuest* guest_; 38 BrowserPluginGuest* guest_;
38 39
39 DestructionCallback destruction_callback_; 40 DestructionCallback destruction_callback_;
40 41
41 DISALLOW_COPY_AND_ASSIGN(TestBrowserPluginGuestDelegate); 42 DISALLOW_COPY_AND_ASSIGN(TestBrowserPluginGuestDelegate);
42 }; 43 };
43 44
44 } // namespace content 45 } // namespace content
45 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_TEST_BROWSER_PLUGIN_GUEST_DELEGATE_H_ 46 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_TEST_BROWSER_PLUGIN_GUEST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698