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

Side by Side Diff: blimp/engine/session/page_load_tracker.h

Issue 2494633004: Remove about:srcdoc url conversion. (Closed)
Patch Set: Created 4 years, 1 month 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 BLIMP_ENGINE_SESSION_PAGE_LOAD_TRACKER_H_ 5 #ifndef BLIMP_ENGINE_SESSION_PAGE_LOAD_TRACKER_H_
6 #define BLIMP_ENGINE_SESSION_PAGE_LOAD_TRACKER_H_ 6 #define BLIMP_ENGINE_SESSION_PAGE_LOAD_TRACKER_H_
7 7
8 #include "base/containers/small_map.h" 8 #include "base/containers/small_map.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "content/public/browser/render_frame_host.h" 10 #include "content/public/browser/render_frame_host.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 bool Loaded() const; 50 bool Loaded() const;
51 }; 51 };
52 52
53 typedef base::SmallMap<std::map<content::RenderWidgetHost*, LoadStatus>> 53 typedef base::SmallMap<std::map<content::RenderWidgetHost*, LoadStatus>>
54 RenderWidgetLoadStatusMap; 54 RenderWidgetLoadStatusMap;
55 55
56 // content::WebContentsObserver implementation. 56 // content::WebContentsObserver implementation.
57 void DidStartProvisionalLoadForFrame( 57 void DidStartProvisionalLoadForFrame(
58 content::RenderFrameHost* render_frame_host, 58 content::RenderFrameHost* render_frame_host,
59 const GURL& validated_url, 59 const GURL& validated_url,
60 bool is_error_page, 60 bool is_error_page) override;
61 bool is_iframe_srcdoc) override;
62 void DidFinishLoad(content::RenderFrameHost* render_frame_host, 61 void DidFinishLoad(content::RenderFrameHost* render_frame_host,
63 const GURL& validated_url) override; 62 const GURL& validated_url) override;
64 void DidFailLoad(content::RenderFrameHost* render_frame_host, 63 void DidFailLoad(content::RenderFrameHost* render_frame_host,
65 const GURL& validated_url, 64 const GURL& validated_url,
66 int error_code, 65 int error_code,
67 const base::string16& error_description, 66 const base::string16& error_description,
68 bool was_ignored_by_handler) override; 67 bool was_ignored_by_handler) override;
69 void DidFirstPaintAfterLoad( 68 void DidFirstPaintAfterLoad(
70 content::RenderWidgetHost* render_widget_host) override; 69 content::RenderWidgetHost* render_widget_host) override;
71 70
72 RenderWidgetLoadStatusMap render_widget_load_status_; 71 RenderWidgetLoadStatusMap render_widget_load_status_;
73 72
74 PageLoadTrackerClient* client_; 73 PageLoadTrackerClient* client_;
75 74
76 DISALLOW_COPY_AND_ASSIGN(PageLoadTracker); 75 DISALLOW_COPY_AND_ASSIGN(PageLoadTracker);
77 }; 76 };
78 77
79 } // namespace engine 78 } // namespace engine
80 } // namespace blimp 79 } // namespace blimp
81 80
82 #endif // BLIMP_ENGINE_SESSION_PAGE_LOAD_TRACKER_H_ 81 #endif // BLIMP_ENGINE_SESSION_PAGE_LOAD_TRACKER_H_
OLDNEW
« no previous file with comments | « no previous file | blimp/engine/session/page_load_tracker.cc » ('j') | content/browser/frame_host/navigation_entry_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698