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

Side by Side Diff: chrome/renderer/net/net_error_helper.h

Issue 1371673002: Remove a bunch of provisionalDataSource() usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_RENDERER_NET_NET_ERROR_HELPER_H_ 5 #ifndef CHROME_RENDERER_NET_NET_ERROR_HELPER_H_
6 #define CHROME_RENDERER_NET_NET_ERROR_HELPER_H_ 6 #define CHROME_RENDERER_NET_NET_ERROR_HELPER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 public NetErrorPageController::Delegate { 44 public NetErrorPageController::Delegate {
45 public: 45 public:
46 explicit NetErrorHelper(content::RenderFrame* render_view); 46 explicit NetErrorHelper(content::RenderFrame* render_view);
47 ~NetErrorHelper() override; 47 ~NetErrorHelper() override;
48 48
49 // NetErrorPageController::Delegate implementation 49 // NetErrorPageController::Delegate implementation
50 void ButtonPressed(error_page::NetErrorHelperCore::Button button) override; 50 void ButtonPressed(error_page::NetErrorHelperCore::Button button) override;
51 void TrackClick(int tracking_id) override; 51 void TrackClick(int tracking_id) override;
52 52
53 // RenderFrameObserver implementation. 53 // RenderFrameObserver implementation.
54 void DidStartProvisionalLoad() override; 54 void DidStartProvisionalLoad(blink::WebDataSource* datasource) override;
55 void DidCommitProvisionalLoad(bool is_new_navigation, 55 void DidCommitProvisionalLoad(bool is_new_navigation,
56 bool is_same_page_navigation) override; 56 bool is_same_page_navigation) override;
57 void DidFinishLoad() override; 57 void DidFinishLoad() override;
58 void OnStop() override; 58 void OnStop() override;
59 void WasShown() override; 59 void WasShown() override;
60 void WasHidden() override; 60 void WasHidden() override;
61 61
62 // IPC::Listener implementation. 62 // IPC::Listener implementation.
63 bool OnMessageReceived(const IPC::Message& message) override; 63 bool OnMessageReceived(const IPC::Message& message) override;
64 64
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 // Weak factory for vending a weak pointer to a NetErrorPageController. Weak 132 // Weak factory for vending a weak pointer to a NetErrorPageController. Weak
133 // pointers are invalidated on each commit, to prevent getting messages from 133 // pointers are invalidated on each commit, to prevent getting messages from
134 // Controllers used for the previous commit that haven't yet been cleaned up. 134 // Controllers used for the previous commit that haven't yet been cleaned up.
135 base::WeakPtrFactory<NetErrorPageController::Delegate> 135 base::WeakPtrFactory<NetErrorPageController::Delegate>
136 weak_controller_delegate_factory_; 136 weak_controller_delegate_factory_;
137 137
138 DISALLOW_COPY_AND_ASSIGN(NetErrorHelper); 138 DISALLOW_COPY_AND_ASSIGN(NetErrorHelper);
139 }; 139 };
140 140
141 #endif // CHROME_RENDERER_NET_NET_ERROR_HELPER_H_ 141 #endif // CHROME_RENDERER_NET_NET_ERROR_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/renderer/chrome_render_frame_observer.cc ('k') | chrome/renderer/net/net_error_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698