| 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 CHROME_BROWSER_ANDROID_DOCUMENT_DOCUMENT_WEB_CONTENTS_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_DOCUMENT_DOCUMENT_WEB_CONTENTS_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_ANDROID_DOCUMENT_DOCUMENT_WEB_CONTENTS_DELEGATE_H_ | 6 #define CHROME_BROWSER_ANDROID_DOCUMENT_DOCUMENT_WEB_CONTENTS_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include "components/web_contents_delegate_android/web_contents_delegate_android
.h" | 10 #include "components/web_contents_delegate_android/web_contents_delegate_android
.h" |
| 9 | 11 |
| 10 // Stub WebContentsDelegateAndroid that is meant to be a temporary substitute | 12 // Stub WebContentsDelegateAndroid that is meant to be a temporary substitute |
| 11 // for a real WebContentsDelegate for the (expectedly short) period between when | 13 // for a real WebContentsDelegate for the (expectedly short) period between when |
| 12 // a new WebContents is created and the new DocumentActivity/DocumentTab are | 14 // a new WebContents is created and the new DocumentActivity/DocumentTab are |
| 13 // created and take ownership of the WebContents (which replaces this Delegate | 15 // created and take ownership of the WebContents (which replaces this Delegate |
| 14 // with a real one). It is not meant to do anything except allow | 16 // with a real one). It is not meant to do anything except allow |
| 15 // WebContentsDelegateAndroid::OpenURLFromTab() to load the URL for the | 17 // WebContentsDelegateAndroid::OpenURLFromTab() to load the URL for the |
| 16 // WebContents. | 18 // WebContents. |
| 17 class DocumentWebContentsDelegate | 19 class DocumentWebContentsDelegate |
| (...skipping 25 matching lines...) Expand all Loading... |
| 43 int32_t main_frame_route_id, | 45 int32_t main_frame_route_id, |
| 44 int32_t main_frame_widget_route_id, | 46 int32_t main_frame_widget_route_id, |
| 45 WindowContainerType window_container_type, | 47 WindowContainerType window_container_type, |
| 46 const std::string& frame_name, | 48 const std::string& frame_name, |
| 47 const GURL& target_url, | 49 const GURL& target_url, |
| 48 const std::string& partition_id, | 50 const std::string& partition_id, |
| 49 content::SessionStorageNamespace* session_storage_namespace) override; | 51 content::SessionStorageNamespace* session_storage_namespace) override; |
| 50 }; | 52 }; |
| 51 | 53 |
| 52 #endif // CHROME_BROWSER_ANDROID_DOCUMENT_DOCUMENT_WEB_CONTENTS_DELEGATE_H_ | 54 #endif // CHROME_BROWSER_ANDROID_DOCUMENT_DOCUMENT_WEB_CONTENTS_DELEGATE_H_ |
| OLD | NEW |