| 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 const WebContentsCreatedCallback& callback) final; | 171 const WebContentsCreatedCallback& callback) final; |
| 172 void DidAttachToEmbedder() final; | 172 void DidAttachToEmbedder() final; |
| 173 void DidDropLink(const GURL& url) final; | 173 void DidDropLink(const GURL& url) final; |
| 174 void DidInitialize(const base::DictionaryValue& create_params) final; | 174 void DidInitialize(const base::DictionaryValue& create_params) final; |
| 175 void EmbedderFullscreenToggled(bool entered_fullscreen) final; | 175 void EmbedderFullscreenToggled(bool entered_fullscreen) final; |
| 176 void FindReply(content::WebContents* source, | 176 void FindReply(content::WebContents* source, |
| 177 int request_id, | 177 int request_id, |
| 178 int number_of_matches, | 178 int number_of_matches, |
| 179 const gfx::Rect& selection_rect, | 179 const gfx::Rect& selection_rect, |
| 180 int active_match_ordinal, | 180 int active_match_ordinal, |
| 181 bool final_update) final; | 181 bool final_update, |
| 182 bool was_frame_removal) final; |
| 182 bool ZoomPropagatesFromEmbedderToGuest() const final; | 183 bool ZoomPropagatesFromEmbedderToGuest() const final; |
| 183 const char* GetAPINamespace() const final; | 184 const char* GetAPINamespace() const final; |
| 184 int GetTaskPrefix() const final; | 185 int GetTaskPrefix() const final; |
| 185 void GuestDestroyed() final; | 186 void GuestDestroyed() final; |
| 186 void GuestReady() final; | 187 void GuestReady() final; |
| 187 void GuestSizeChangedDueToAutoSize(const gfx::Size& old_size, | 188 void GuestSizeChangedDueToAutoSize(const gfx::Size& old_size, |
| 188 const gfx::Size& new_size) final; | 189 const gfx::Size& new_size) final; |
| 189 void GuestViewDidStopLoading() final; | 190 void GuestViewDidStopLoading() final; |
| 190 void GuestZoomChanged(double old_zoom_level, double new_zoom_level) final; | 191 void GuestZoomChanged(double old_zoom_level, double new_zoom_level) final; |
| 191 bool IsAutoSizeSupported() const final; | 192 bool IsAutoSizeSupported() const final; |
| (...skipping 181 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 | 374 // This is used to ensure pending tasks will not fire after this object is |
| 374 // destroyed. | 375 // destroyed. |
| 375 base::WeakPtrFactory<WebViewGuest> weak_ptr_factory_; | 376 base::WeakPtrFactory<WebViewGuest> weak_ptr_factory_; |
| 376 | 377 |
| 377 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); | 378 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); |
| 378 }; | 379 }; |
| 379 | 380 |
| 380 } // namespace extensions | 381 } // namespace extensions |
| 381 | 382 |
| 382 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ | 383 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ |
| OLD | NEW |