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

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

Issue 6973035: Move download stuff to download tab helper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Oops, forgot to add tab watcher as delegate with CF. 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
73 void TabContentsObserver::DidStartLoading() { 76 void TabContentsObserver::DidStartLoading() {
74 } 77 }
75 78
76 void TabContentsObserver::DidStopLoading() { 79 void TabContentsObserver::DidStopLoading() {
77 } 80 }
78 81
79 void TabContentsObserver::RenderViewGone() { 82 void TabContentsObserver::RenderViewGone() {
80 } 83 }
81 84
82 void TabContentsObserver::StopNavigation() { 85 void TabContentsObserver::StopNavigation() {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 } 135 }
133 136
134 void TabContentsObserver::TabContentsDestroyed() { 137 void TabContentsObserver::TabContentsDestroyed() {
135 // Do cleanup so that 'this' can safely be deleted from 138 // Do cleanup so that 'this' can safely be deleted from
136 // TabContentsDestroyed. 139 // TabContentsDestroyed.
137 tab_contents_->RemoveObserver(this); 140 tab_contents_->RemoveObserver(this);
138 TabContents* tab = tab_contents_; 141 TabContents* tab = tab_contents_;
139 tab_contents_ = NULL; 142 tab_contents_ = NULL;
140 TabContentsDestroyed(tab); 143 TabContentsDestroyed(tab);
141 } 144 }
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