Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Side by Side Diff: chrome/browser/guest_view/web_view/web_view_guest.h

Issue 257153003: We have a problem in the process on destroying WebContentsImpl because (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Rebased onto origin/lkgr Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 bool is_main_frame, 229 bool is_main_frame,
230 const GURL& validated_url, 230 const GURL& validated_url,
231 bool is_error_page, 231 bool is_error_page,
232 bool is_iframe_srcdoc, 232 bool is_iframe_srcdoc,
233 content::RenderViewHost* render_view_host) OVERRIDE; 233 content::RenderViewHost* render_view_host) OVERRIDE;
234 virtual void DocumentLoadedInFrame( 234 virtual void DocumentLoadedInFrame(
235 int64 frame_id, 235 int64 frame_id,
236 content::RenderViewHost* render_view_host) OVERRIDE; 236 content::RenderViewHost* render_view_host) OVERRIDE;
237 virtual void DidStopLoading( 237 virtual void DidStopLoading(
238 content::RenderViewHost* render_view_host) OVERRIDE; 238 content::RenderViewHost* render_view_host) OVERRIDE;
239 virtual void WebContentsDestroyed( 239 virtual void WebContentsDestroyed() OVERRIDE;
240 content::WebContents* web_contents) OVERRIDE;
241 virtual void UserAgentOverrideSet(const std::string& user_agent) OVERRIDE; 240 virtual void UserAgentOverrideSet(const std::string& user_agent) OVERRIDE;
242 241
243 // Called after the load handler is called in the guest's main frame. 242 // Called after the load handler is called in the guest's main frame.
244 void LoadHandlerCalled(); 243 void LoadHandlerCalled();
245 244
246 // Called when a redirect notification occurs. 245 // Called when a redirect notification occurs.
247 void LoadRedirect(const GURL& old_url, 246 void LoadRedirect(const GURL& old_url,
248 const GURL& new_url, 247 const GURL& new_url,
249 bool is_top_level); 248 bool is_top_level);
250 249
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 scoped_ptr<chromeos::AccessibilityStatusSubscription> 313 scoped_ptr<chromeos::AccessibilityStatusSubscription>
315 accessibility_subscription_; 314 accessibility_subscription_;
316 #endif 315 #endif
317 316
318 std::map<int, int> bridge_id_to_request_id_map_; 317 std::map<int, int> bridge_id_to_request_id_map_;
319 318
320 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); 319 DISALLOW_COPY_AND_ASSIGN(WebViewGuest);
321 }; 320 };
322 321
323 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ 322 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698