| 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 COMPONENTS_WEB_VIEW_FRAME_TREE_DELEGATE_H_ | 5 #ifndef COMPONENTS_WEB_VIEW_FRAME_TREE_DELEGATE_H_ |
| 6 #define COMPONENTS_WEB_VIEW_FRAME_TREE_DELEGATE_H_ | 6 #define COMPONENTS_WEB_VIEW_FRAME_TREE_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "components/view_manager/public/interfaces/view_tree.mojom.h" | 12 #include "components/mus/public/interfaces/view_tree.mojom.h" |
| 13 #include "components/web_view/public/interfaces/frame_tree.mojom.h" | 13 #include "components/web_view/public/interfaces/frame_tree.mojom.h" |
| 14 #include "mojo/services/network/public/interfaces/url_loader.mojom.h" | 14 #include "mojo/services/network/public/interfaces/url_loader.mojom.h" |
| 15 | 15 |
| 16 namespace web_view { | 16 namespace web_view { |
| 17 | 17 |
| 18 class Frame; | 18 class Frame; |
| 19 class FrameUserData; | 19 class FrameUserData; |
| 20 class HTMLMessageEvent; | 20 class HTMLMessageEvent; |
| 21 | 21 |
| 22 class FrameTreeDelegate { | 22 class FrameTreeDelegate { |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 virtual void DidCreateFrame(Frame* frame); | 65 virtual void DidCreateFrame(Frame* frame); |
| 66 virtual void DidDestroyFrame(Frame* frame); | 66 virtual void DidDestroyFrame(Frame* frame); |
| 67 | 67 |
| 68 protected: | 68 protected: |
| 69 virtual ~FrameTreeDelegate() {} | 69 virtual ~FrameTreeDelegate() {} |
| 70 }; | 70 }; |
| 71 | 71 |
| 72 } // namespace web_view | 72 } // namespace web_view |
| 73 | 73 |
| 74 #endif // COMPONENTS_WEB_VIEW_FRAME_TREE_DELEGATE_H_ | 74 #endif // COMPONENTS_WEB_VIEW_FRAME_TREE_DELEGATE_H_ |
| OLD | NEW |