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

Side by Side Diff: content/browser/tab_contents/tab_contents_observer.cc

Issue 7035015: Revert 85504 - Move download stuff to download tab helper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « content/browser/tab_contents/tab_contents_observer.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "content/browser/tab_contents/tab_contents_observer.h" 5 #include "content/browser/tab_contents/tab_contents_observer.h"
6 6
7 #include "content/browser/renderer_host/render_view_host.h" 7 #include "content/browser/renderer_host/render_view_host.h"
8 #include "content/browser/tab_contents/tab_contents.h" 8 #include "content/browser/tab_contents/tab_contents.h"
9 9
10 TabContentsObserver::Registrar::Registrar(TabContentsObserver* observer) 10 TabContentsObserver::Registrar::Registrar(TabContentsObserver* observer)
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 const GURL& validated_url, 63 const GURL& validated_url,
64 int error_code) { 64 int error_code) {
65 } 65 }
66 66
67 void TabContentsObserver::DocumentLoadedInFrame(int64 frame_id) { 67 void TabContentsObserver::DocumentLoadedInFrame(int64 frame_id) {
68 } 68 }
69 69
70 void TabContentsObserver::DidFinishLoad(int64 frame_id) { 70 void TabContentsObserver::DidFinishLoad(int64 frame_id) {
71 } 71 }
72 72
73 void TabContentsObserver::DidGetUserGesture() {
74 }
75
76 void TabContentsObserver::DidStartLoading() { 73 void TabContentsObserver::DidStartLoading() {
77 } 74 }
78 75
79 void TabContentsObserver::DidStopLoading() { 76 void TabContentsObserver::DidStopLoading() {
80 } 77 }
81 78
82 void TabContentsObserver::RenderViewGone() { 79 void TabContentsObserver::RenderViewGone() {
83 } 80 }
84 81
85 void TabContentsObserver::StopNavigation() { 82 void TabContentsObserver::StopNavigation() {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 } 132 }
136 133
137 void TabContentsObserver::TabContentsDestroyed() { 134 void TabContentsObserver::TabContentsDestroyed() {
138 // Do cleanup so that 'this' can safely be deleted from 135 // Do cleanup so that 'this' can safely be deleted from
139 // TabContentsDestroyed. 136 // TabContentsDestroyed.
140 tab_contents_->RemoveObserver(this); 137 tab_contents_->RemoveObserver(this);
141 TabContents* tab = tab_contents_; 138 TabContents* tab = tab_contents_;
142 tab_contents_ = NULL; 139 tab_contents_ = NULL;
143 TabContentsDestroyed(tab); 140 TabContentsDestroyed(tab);
144 } 141 }
OLDNEW
« no previous file with comments | « content/browser/tab_contents/tab_contents_observer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698