| OLD | NEW |
| 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_EXTENSIONS_GUEST_VIEW_MANAGER_DELEGATE_H_ | 5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSIONS_GUEST_VIEW_MANAGER_DELEGATE_H_ |
| 6 #define EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSIONS_GUEST_VIEW_MANAGER_DELEGATE_H_ | 6 #define EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSIONS_GUEST_VIEW_MANAGER_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "components/guest_view/browser/guest_view_manager_delegate.h" | 8 #include "components/guest_view/browser/guest_view_manager_delegate.h" |
| 9 | 9 |
| 10 namespace content { | 10 namespace content { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 // GuestViewManagerDelegate implementation. | 24 // GuestViewManagerDelegate implementation. |
| 25 void DispatchEvent(const std::string& event_name, | 25 void DispatchEvent(const std::string& event_name, |
| 26 scoped_ptr<base::DictionaryValue> args, | 26 scoped_ptr<base::DictionaryValue> args, |
| 27 guest_view::GuestViewBase* guest, | 27 guest_view::GuestViewBase* guest, |
| 28 int instance_id) override; | 28 int instance_id) override; |
| 29 bool IsGuestAvailableToContext(guest_view::GuestViewBase* guest) override; | 29 bool IsGuestAvailableToContext(guest_view::GuestViewBase* guest) override; |
| 30 bool IsOwnedByExtension(guest_view::GuestViewBase* guest) override; | 30 bool IsOwnedByExtension(guest_view::GuestViewBase* guest) override; |
| 31 void RegisterAdditionalGuestViewTypes() override; | 31 void RegisterAdditionalGuestViewTypes() override; |
| 32 | 32 |
| 33 private: | 33 protected: |
| 34 content::BrowserContext* const context_; | 34 content::BrowserContext* const context_; |
| 35 }; | 35 }; |
| 36 | 36 |
| 37 } // namespace extensions | 37 } // namespace extensions |
| 38 | 38 |
| 39 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSIONS_GUEST_VIEW_MANAGER_DELEGATE_
H_ | 39 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSIONS_GUEST_VIEW_MANAGER_DELEGATE_
H_ |
| OLD | NEW |