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

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

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
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 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_ 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_
6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_ 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_
7 7
8 #include "content/browser/tab_contents/navigation_controller.h" 8 #include "content/browser/tab_contents/navigation_controller.h"
9 #include "content/common/page_transition_types.h" 9 #include "content/common/page_transition_types.h"
10 #include "ipc/ipc_channel.h" 10 #include "ipc/ipc_channel.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 int64 frame_id, 61 int64 frame_id,
62 bool is_main_frame, 62 bool is_main_frame,
63 const GURL& url, 63 const GURL& url,
64 PageTransition::Type transition_type); 64 PageTransition::Type transition_type);
65 virtual void DidFailProvisionalLoad(int64 frame_id, 65 virtual void DidFailProvisionalLoad(int64 frame_id,
66 bool is_main_frame, 66 bool is_main_frame,
67 const GURL& validated_url, 67 const GURL& validated_url,
68 int error_code); 68 int error_code);
69 virtual void DocumentLoadedInFrame(int64 frame_id); 69 virtual void DocumentLoadedInFrame(int64 frame_id);
70 virtual void DidFinishLoad(int64 frame_id); 70 virtual void DidFinishLoad(int64 frame_id);
71 virtual void DidGetUserGesture();
71 72
72 virtual void DidStartLoading(); 73 virtual void DidStartLoading();
73 virtual void DidStopLoading(); 74 virtual void DidStopLoading();
74 virtual void RenderViewGone(); 75 virtual void RenderViewGone();
75 virtual void StopNavigation(); 76 virtual void StopNavigation();
76 77
77 virtual void DidOpenURL(const GURL& url, 78 virtual void DidOpenURL(const GURL& url,
78 const GURL& referrer, 79 const GURL& referrer,
79 WindowOpenDisposition disposition, 80 WindowOpenDisposition disposition,
80 PageTransition::Type transition); 81 PageTransition::Type transition);
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 135
135 TabContents* tab_contents_; 136 TabContents* tab_contents_;
136 137
137 // The routing ID of the associated TabContents. 138 // The routing ID of the associated TabContents.
138 int routing_id_; 139 int routing_id_;
139 140
140 DISALLOW_COPY_AND_ASSIGN(TabContentsObserver); 141 DISALLOW_COPY_AND_ASSIGN(TabContentsObserver);
141 }; 142 };
142 143
143 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_ 144 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/browser/tab_contents/tab_contents_delegate.cc ('k') | content/browser/tab_contents/tab_contents_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698