| 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 void AddNewContents(content::WebContents* source, | 236 void AddNewContents(content::WebContents* source, |
| 237 content::WebContents* new_contents, | 237 content::WebContents* new_contents, |
| 238 WindowOpenDisposition disposition, | 238 WindowOpenDisposition disposition, |
| 239 const gfx::Rect& initial_rect, | 239 const gfx::Rect& initial_rect, |
| 240 bool user_gesture, | 240 bool user_gesture, |
| 241 bool* was_blocked) final; | 241 bool* was_blocked) final; |
| 242 content::WebContents* OpenURLFromTab( | 242 content::WebContents* OpenURLFromTab( |
| 243 content::WebContents* source, | 243 content::WebContents* source, |
| 244 const content::OpenURLParams& params) final; | 244 const content::OpenURLParams& params) final; |
| 245 void WebContentsCreated(content::WebContents* source_contents, | 245 void WebContentsCreated(content::WebContents* source_contents, |
| 246 int opener_render_process_id, |
| 246 int opener_render_frame_id, | 247 int opener_render_frame_id, |
| 247 const std::string& frame_name, | 248 const std::string& frame_name, |
| 248 const GURL& target_url, | 249 const GURL& target_url, |
| 249 content::WebContents* new_contents) final; | 250 content::WebContents* new_contents) final; |
| 250 void EnterFullscreenModeForTab(content::WebContents* web_contents, | 251 void EnterFullscreenModeForTab(content::WebContents* web_contents, |
| 251 const GURL& origin) final; | 252 const GURL& origin) final; |
| 252 void ExitFullscreenModeForTab(content::WebContents* web_contents) final; | 253 void ExitFullscreenModeForTab(content::WebContents* web_contents) final; |
| 253 bool IsFullscreenForTabOrPending( | 254 bool IsFullscreenForTabOrPending( |
| 254 const content::WebContents* web_contents) const final; | 255 const content::WebContents* web_contents) const final; |
| 255 | 256 |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 // This is used to ensure pending tasks will not fire after this object is | 385 // This is used to ensure pending tasks will not fire after this object is |
| 385 // destroyed. | 386 // destroyed. |
| 386 base::WeakPtrFactory<WebViewGuest> weak_ptr_factory_; | 387 base::WeakPtrFactory<WebViewGuest> weak_ptr_factory_; |
| 387 | 388 |
| 388 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); | 389 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); |
| 389 }; | 390 }; |
| 390 | 391 |
| 391 } // namespace extensions | 392 } // namespace extensions |
| 392 | 393 |
| 393 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ | 394 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ |
| OLD | NEW |