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 <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 bool is_main_frame, | 257 bool is_main_frame, |
258 const GURL& validated_url, | 258 const GURL& validated_url, |
259 bool is_error_page, | 259 bool is_error_page, |
260 bool is_iframe_srcdoc, | 260 bool is_iframe_srcdoc, |
261 content::RenderViewHost* render_view_host) OVERRIDE; | 261 content::RenderViewHost* render_view_host) OVERRIDE; |
262 virtual void DocumentLoadedInFrame( | 262 virtual void DocumentLoadedInFrame( |
263 int64 frame_id, | 263 int64 frame_id, |
264 content::RenderViewHost* render_view_host) OVERRIDE; | 264 content::RenderViewHost* render_view_host) OVERRIDE; |
265 virtual void DidStopLoading( | 265 virtual void DidStopLoading( |
266 content::RenderViewHost* render_view_host) OVERRIDE; | 266 content::RenderViewHost* render_view_host) OVERRIDE; |
267 virtual void WebContentsDestroyed( | 267 virtual void WebContentsDestroyed() OVERRIDE; |
268 content::WebContents* web_contents) OVERRIDE; | |
269 virtual void UserAgentOverrideSet(const std::string& user_agent) OVERRIDE; | 268 virtual void UserAgentOverrideSet(const std::string& user_agent) OVERRIDE; |
270 | 269 |
271 // Called after the load handler is called in the guest's main frame. | 270 // Called after the load handler is called in the guest's main frame. |
272 void LoadHandlerCalled(); | 271 void LoadHandlerCalled(); |
273 | 272 |
274 // Called when a redirect notification occurs. | 273 // Called when a redirect notification occurs. |
275 void LoadRedirect(const GURL& old_url, | 274 void LoadRedirect(const GURL& old_url, |
276 const GURL& new_url, | 275 const GURL& new_url, |
277 bool is_top_level); | 276 bool is_top_level); |
278 | 277 |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
350 scoped_ptr<chromeos::AccessibilityStatusSubscription> | 349 scoped_ptr<chromeos::AccessibilityStatusSubscription> |
351 accessibility_subscription_; | 350 accessibility_subscription_; |
352 #endif | 351 #endif |
353 | 352 |
354 std::map<int, int> bridge_id_to_request_id_map_; | 353 std::map<int, int> bridge_id_to_request_id_map_; |
355 | 354 |
356 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); | 355 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); |
357 }; | 356 }; |
358 | 357 |
359 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ | 358 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ |
OLD | NEW |