| 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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 int opener_render_process_id, | 246 int opener_render_process_id, |
| 247 int opener_render_frame_id, | 247 int opener_render_frame_id, |
| 248 const std::string& frame_name, | 248 const std::string& frame_name, |
| 249 const GURL& target_url, | 249 const GURL& target_url, |
| 250 content::WebContents* new_contents) final; | 250 content::WebContents* new_contents) final; |
| 251 void EnterFullscreenModeForTab(content::WebContents* web_contents, | 251 void EnterFullscreenModeForTab(content::WebContents* web_contents, |
| 252 const GURL& origin) final; | 252 const GURL& origin) final; |
| 253 void ExitFullscreenModeForTab(content::WebContents* web_contents) final; | 253 void ExitFullscreenModeForTab(content::WebContents* web_contents) final; |
| 254 bool IsFullscreenForTabOrPending( | 254 bool IsFullscreenForTabOrPending( |
| 255 const content::WebContents* web_contents) const final; | 255 const content::WebContents* web_contents) const final; |
| 256 void RequestToLockMouse(content::WebContents* web_contents, |
| 257 bool user_gesture, |
| 258 bool last_unlocked_by_target) override; |
| 256 | 259 |
| 257 // WebContentsObserver implementation. | 260 // WebContentsObserver implementation. |
| 258 void DidStartNavigation(content::NavigationHandle* navigation_handle) final; | 261 void DidStartNavigation(content::NavigationHandle* navigation_handle) final; |
| 259 void DidFinishNavigation(content::NavigationHandle* navigation_handle) final; | 262 void DidFinishNavigation(content::NavigationHandle* navigation_handle) final; |
| 260 void RenderProcessGone(base::TerminationStatus status) final; | 263 void RenderProcessGone(base::TerminationStatus status) final; |
| 261 void UserAgentOverrideSet(const std::string& user_agent) final; | 264 void UserAgentOverrideSet(const std::string& user_agent) final; |
| 262 void FrameNameChanged(content::RenderFrameHost* render_frame_host, | 265 void FrameNameChanged(content::RenderFrameHost* render_frame_host, |
| 263 const std::string& name) final; | 266 const std::string& name) final; |
| 264 | 267 |
| 265 // Informs the embedder of a frame name change. | 268 // Informs the embedder of a frame name change. |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 // 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 |
| 371 // destroyed. | 374 // destroyed. |
| 372 base::WeakPtrFactory<WebViewGuest> weak_ptr_factory_; | 375 base::WeakPtrFactory<WebViewGuest> weak_ptr_factory_; |
| 373 | 376 |
| 374 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); | 377 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); |
| 375 }; | 378 }; |
| 376 | 379 |
| 377 } // namespace extensions | 380 } // namespace extensions |
| 378 | 381 |
| 379 #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 |