OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELEGATE_ANDROID_H
_ | 5 #ifndef COMPONENTS_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELEGATE_ANDROID_H
_ |
6 #define COMPONENTS_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELEGATE_ANDROID_H
_ | 6 #define COMPONENTS_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELEGATE_ANDROID_H
_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 content::SiteInstance* source_site_instance, | 87 content::SiteInstance* source_site_instance, |
88 int32_t route_id, | 88 int32_t route_id, |
89 int32_t main_frame_route_id, | 89 int32_t main_frame_route_id, |
90 int32_t main_frame_widget_route_id, | 90 int32_t main_frame_widget_route_id, |
91 content::mojom::WindowContainerType window_container_type, | 91 content::mojom::WindowContainerType window_container_type, |
92 const GURL& opener_url, | 92 const GURL& opener_url, |
93 const std::string& frame_name, | 93 const std::string& frame_name, |
94 const GURL& target_url, | 94 const GURL& target_url, |
95 const std::string& partition_id, | 95 const std::string& partition_id, |
96 content::SessionStorageNamespace* session_storage_namespace) override; | 96 content::SessionStorageNamespace* session_storage_namespace) override; |
97 bool OnGoToEntryOffset(int offset) override; | |
98 void CloseContents(content::WebContents* source) override; | 97 void CloseContents(content::WebContents* source) override; |
99 void MoveContents(content::WebContents* source, | 98 void MoveContents(content::WebContents* source, |
100 const gfx::Rect& pos) override; | 99 const gfx::Rect& pos) override; |
101 bool DidAddMessageToConsole(content::WebContents* source, | 100 bool DidAddMessageToConsole(content::WebContents* source, |
102 int32_t level, | 101 int32_t level, |
103 const base::string16& message, | 102 const base::string16& message, |
104 int32_t line_no, | 103 int32_t line_no, |
105 const base::string16& source_id) override; | 104 const base::string16& source_id) override; |
106 void UpdateTargetURL(content::WebContents* source, const GURL& url) override; | 105 void UpdateTargetURL(content::WebContents* source, const GURL& url) override; |
107 void HandleKeyboardEvent( | 106 void HandleKeyboardEvent( |
(...skipping 27 matching lines...) Expand all Loading... |
135 // strong reference to that object as long as they want to receive callbacks | 134 // strong reference to that object as long as they want to receive callbacks |
136 // on it. Using a weak ref here allows it to be correctly GCed. | 135 // on it. Using a weak ref here allows it to be correctly GCed. |
137 JavaObjectWeakGlobalRef weak_java_delegate_; | 136 JavaObjectWeakGlobalRef weak_java_delegate_; |
138 | 137 |
139 std::unique_ptr<ValidationMessageBubbleAndroid> validation_message_bubble_; | 138 std::unique_ptr<ValidationMessageBubbleAndroid> validation_message_bubble_; |
140 }; | 139 }; |
141 | 140 |
142 } // namespace web_contents_delegate_android | 141 } // namespace web_contents_delegate_android |
143 | 142 |
144 #endif // COMPONENTS_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELEGATE_ANDROI
D_H_ | 143 #endif // COMPONENTS_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELEGATE_ANDROI
D_H_ |
OLD | NEW |