| OLD | NEW | 
|---|
|  | (Empty) | 
| 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 |  | 
| 3 // found in the LICENSE file. |  | 
| 4 |  | 
| 5 #ifndef COMPONENTS_WEB_VIEW_CLIENT_INITIATED_FRAME_CONNECTION_H_ |  | 
| 6 #define COMPONENTS_WEB_VIEW_CLIENT_INITIATED_FRAME_CONNECTION_H_ |  | 
| 7 |  | 
| 8 #include "base/macros.h" |  | 
| 9 #include "components/web_view/frame_user_data.h" |  | 
| 10 #include "components/web_view/public/interfaces/frame.mojom.h" |  | 
| 11 |  | 
| 12 namespace web_view { |  | 
| 13 |  | 
| 14 // FrameUserData for use when a Frame is created by way of OnCreatedFrame(). In |  | 
| 15 // this case the FrameClient is supplied from Frame that called |  | 
| 16 // OnCreatedFrame(). |  | 
| 17 class ClientInitiatedFrameConnection : public FrameUserData { |  | 
| 18  public: |  | 
| 19   explicit ClientInitiatedFrameConnection(mojom::FrameClientPtr frame_client); |  | 
| 20   ~ClientInitiatedFrameConnection() override; |  | 
| 21 |  | 
| 22  private: |  | 
| 23   mojom::FrameClientPtr frame_client_; |  | 
| 24 |  | 
| 25   DISALLOW_COPY_AND_ASSIGN(ClientInitiatedFrameConnection); |  | 
| 26 }; |  | 
| 27 |  | 
| 28 }  // namespace web_view |  | 
| 29 |  | 
| 30 #endif  // COMPONENTS_WEB_VIEW_CLIENT_INITIATED_FRAME_CONNECTION_H_ |  | 
| OLD | NEW | 
|---|