| 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 CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ | 5 #ifndef CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ |
| 6 #define CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ | 6 #define CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ |
| 7 | 7 |
| 8 #include "base/observer_list.h" | 8 #include "base/observer_list.h" |
| 9 #include "chrome/browser/extensions/tab_helper.h" | 9 #include "chrome/browser/extensions/tab_helper.h" |
| 10 #include "chrome/browser/guest_view/guest_view.h" | 10 #include "chrome/browser/guest_view/guest_view.h" |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 bool is_main_frame, | 243 bool is_main_frame, |
| 244 const GURL& validated_url, | 244 const GURL& validated_url, |
| 245 bool is_error_page, | 245 bool is_error_page, |
| 246 bool is_iframe_srcdoc, | 246 bool is_iframe_srcdoc, |
| 247 content::RenderViewHost* render_view_host) OVERRIDE; | 247 content::RenderViewHost* render_view_host) OVERRIDE; |
| 248 virtual void DocumentLoadedInFrame( | 248 virtual void DocumentLoadedInFrame( |
| 249 int64 frame_id, | 249 int64 frame_id, |
| 250 content::RenderViewHost* render_view_host) OVERRIDE; | 250 content::RenderViewHost* render_view_host) OVERRIDE; |
| 251 virtual void DidStopLoading( | 251 virtual void DidStopLoading( |
| 252 content::RenderViewHost* render_view_host) OVERRIDE; | 252 content::RenderViewHost* render_view_host) OVERRIDE; |
| 253 virtual void WebContentsDestroyed( | 253 virtual void WebContentsDestroyed() OVERRIDE; |
| 254 content::WebContents* web_contents) OVERRIDE; | |
| 255 virtual void UserAgentOverrideSet(const std::string& user_agent) OVERRIDE; | 254 virtual void UserAgentOverrideSet(const std::string& user_agent) OVERRIDE; |
| 256 | 255 |
| 257 // Called after the load handler is called in the guest's main frame. | 256 // Called after the load handler is called in the guest's main frame. |
| 258 void LoadHandlerCalled(); | 257 void LoadHandlerCalled(); |
| 259 | 258 |
| 260 // Called when a redirect notification occurs. | 259 // Called when a redirect notification occurs. |
| 261 void LoadRedirect(const GURL& old_url, | 260 void LoadRedirect(const GURL& old_url, |
| 262 const GURL& new_url, | 261 const GURL& new_url, |
| 263 bool is_top_level); | 262 bool is_top_level); |
| 264 | 263 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 scoped_ptr<chromeos::AccessibilityStatusSubscription> | 331 scoped_ptr<chromeos::AccessibilityStatusSubscription> |
| 333 accessibility_subscription_; | 332 accessibility_subscription_; |
| 334 #endif | 333 #endif |
| 335 | 334 |
| 336 std::map<int, int> bridge_id_to_request_id_map_; | 335 std::map<int, int> bridge_id_to_request_id_map_; |
| 337 | 336 |
| 338 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); | 337 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); |
| 339 }; | 338 }; |
| 340 | 339 |
| 341 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ | 340 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ |
| OLD | NEW |