| 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; | |
| 195 void WillAttachToEmbedder() final; | 194 void WillAttachToEmbedder() final; |
| 196 void WillDestroy() final; | 195 void WillDestroy() final; |
| 197 | 196 |
| 198 // NotificationObserver implementation. | 197 // NotificationObserver implementation. |
| 199 void Observe(int type, | 198 void Observe(int type, |
| 200 const content::NotificationSource& source, | 199 const content::NotificationSource& source, |
| 201 const content::NotificationDetails& details) final; | 200 const content::NotificationDetails& details) final; |
| 202 | 201 |
| 203 // WebContentsDelegate implementation. | 202 // WebContentsDelegate implementation. |
| 204 bool DidAddMessageToConsole(content::WebContents* source, | 203 bool DidAddMessageToConsole(content::WebContents* source, |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 // This is used to ensure pending tasks will not fire after this object is | 372 // This is used to ensure pending tasks will not fire after this object is |
| 374 // destroyed. | 373 // destroyed. |
| 375 base::WeakPtrFactory<WebViewGuest> weak_ptr_factory_; | 374 base::WeakPtrFactory<WebViewGuest> weak_ptr_factory_; |
| 376 | 375 |
| 377 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); | 376 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); |
| 378 }; | 377 }; |
| 379 | 378 |
| 380 } // namespace extensions | 379 } // namespace extensions |
| 381 | 380 |
| 382 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ | 381 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ |
| OLD | NEW |