OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |