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

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

Issue 6973035: Move download stuff to download tab helper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment tweak 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 #include "content/browser/tab_contents/tab_contents_delegate.h" 5 #include "content/browser/tab_contents/tab_contents_delegate.h"
6 6
7 #include "chrome/common/url_constants.h" 7 #include "chrome/common/url_constants.h"
8 #include "ui/gfx/rect.h" 8 #include "ui/gfx/rect.h"
9 9
10 std::string TabContentsDelegate::GetNavigationHeaders(const GURL& url) { 10 std::string TabContentsDelegate::GetNavigationHeaders(const GURL& url) {
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 TabContents* contents, bool blocked) { 88 TabContents* contents, bool blocked) {
89 } 89 }
90 90
91 void TabContentsDelegate::TabContentsFocused(TabContents* tab_content) { 91 void TabContentsDelegate::TabContentsFocused(TabContents* tab_content) {
92 } 92 }
93 93
94 int TabContentsDelegate::GetExtraRenderViewHeight() const { 94 int TabContentsDelegate::GetExtraRenderViewHeight() const {
95 return 0; 95 return 0;
96 } 96 }
97 97
98 bool TabContentsDelegate::CanDownload(int request_id) {
99 return true;
100 }
101
102 void TabContentsDelegate::OnStartDownload(DownloadItem* download,
103 TabContents* tab) {
104 }
105
106 bool TabContentsDelegate::HandleContextMenu(const ContextMenuParams& params) { 98 bool TabContentsDelegate::HandleContextMenu(const ContextMenuParams& params) {
107 return false; 99 return false;
108 } 100 }
109 101
110 bool TabContentsDelegate::ExecuteContextMenuCommand(int command) { 102 bool TabContentsDelegate::ExecuteContextMenuCommand(int command) {
111 return false; 103 return false;
112 } 104 }
113 105
114 void TabContentsDelegate::ShowPageInfo(Profile* profile, 106 void TabContentsDelegate::ShowPageInfo(Profile* profile,
115 const GURL& url, 107 const GURL& url,
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 200
209 bool TabContentsDelegate::ShouldShowHungRendererDialog() { 201 bool TabContentsDelegate::ShouldShowHungRendererDialog() {
210 return true; 202 return true;
211 } 203 }
212 204
213 void TabContentsDelegate::WorkerCrashed() { 205 void TabContentsDelegate::WorkerCrashed() {
214 } 206 }
215 207
216 TabContentsDelegate::~TabContentsDelegate() { 208 TabContentsDelegate::~TabContentsDelegate() {
217 } 209 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698