OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_WEB_VIEW_WEB_VIEW_GUEST_H_ | 5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ |
6 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ | 6 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 int GetTaskPrefix() const final; | 184 int GetTaskPrefix() const final; |
185 void GuestDestroyed() final; | 185 void GuestDestroyed() final; |
186 void GuestReady() final; | 186 void GuestReady() final; |
187 void GuestSizeChangedDueToAutoSize(const gfx::Size& old_size, | 187 void GuestSizeChangedDueToAutoSize(const gfx::Size& old_size, |
188 const gfx::Size& new_size) final; | 188 const gfx::Size& new_size) final; |
189 void GuestViewDidStopLoading() final; | 189 void GuestViewDidStopLoading() final; |
190 void GuestZoomChanged(double old_zoom_level, double new_zoom_level) final; | 190 void GuestZoomChanged(double old_zoom_level, double new_zoom_level) final; |
191 bool IsAutoSizeSupported() const final; | 191 bool IsAutoSizeSupported() const final; |
192 void SetContextMenuPosition(const gfx::Point& position) final; | 192 void SetContextMenuPosition(const gfx::Point& position) final; |
193 void SignalWhenReady(const base::Closure& callback) final; | 193 void SignalWhenReady(const base::Closure& callback) final; |
| 194 bool ShouldHandleFindRequestsForEmbedder() const final; |
194 void WillAttachToEmbedder() final; | 195 void WillAttachToEmbedder() final; |
195 void WillDestroy() final; | 196 void WillDestroy() final; |
196 | 197 |
197 // NotificationObserver implementation. | 198 // NotificationObserver implementation. |
198 void Observe(int type, | 199 void Observe(int type, |
199 const content::NotificationSource& source, | 200 const content::NotificationSource& source, |
200 const content::NotificationDetails& details) final; | 201 const content::NotificationDetails& details) final; |
201 | 202 |
202 // WebContentsDelegate implementation. | 203 // WebContentsDelegate implementation. |
203 bool DidAddMessageToConsole(content::WebContents* source, | 204 bool DidAddMessageToConsole(content::WebContents* source, |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 // This is used to ensure pending tasks will not fire after this object is | 373 // This is used to ensure pending tasks will not fire after this object is |
373 // destroyed. | 374 // destroyed. |
374 base::WeakPtrFactory<WebViewGuest> weak_ptr_factory_; | 375 base::WeakPtrFactory<WebViewGuest> weak_ptr_factory_; |
375 | 376 |
376 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); | 377 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); |
377 }; | 378 }; |
378 | 379 |
379 } // namespace extensions | 380 } // namespace extensions |
380 | 381 |
381 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ | 382 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ |
OLD | NEW |