| OLD | NEW |
| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 TabContents* contents, bool blocked) { | 86 TabContents* contents, bool blocked) { |
| 87 } | 87 } |
| 88 | 88 |
| 89 void TabContentsDelegate::TabContentsFocused(TabContents* tab_content) { | 89 void TabContentsDelegate::TabContentsFocused(TabContents* tab_content) { |
| 90 } | 90 } |
| 91 | 91 |
| 92 int TabContentsDelegate::GetExtraRenderViewHeight() const { | 92 int TabContentsDelegate::GetExtraRenderViewHeight() const { |
| 93 return 0; | 93 return 0; |
| 94 } | 94 } |
| 95 | 95 |
| 96 bool TabContentsDelegate::CanDownload(int request_id) { |
| 97 return true; |
| 98 } |
| 99 |
| 100 void TabContentsDelegate::OnStartDownload(DownloadItem* download, |
| 101 TabContents* tab) { |
| 102 } |
| 103 |
| 96 bool TabContentsDelegate::HandleContextMenu(const ContextMenuParams& params) { | 104 bool TabContentsDelegate::HandleContextMenu(const ContextMenuParams& params) { |
| 97 return false; | 105 return false; |
| 98 } | 106 } |
| 99 | 107 |
| 100 bool TabContentsDelegate::ExecuteContextMenuCommand(int command) { | 108 bool TabContentsDelegate::ExecuteContextMenuCommand(int command) { |
| 101 return false; | 109 return false; |
| 102 } | 110 } |
| 103 | 111 |
| 104 void TabContentsDelegate::ShowPageInfo(Profile* profile, | 112 void TabContentsDelegate::ShowPageInfo(Profile* profile, |
| 105 const GURL& url, | 113 const GURL& url, |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 | 202 |
| 195 bool TabContentsDelegate::ShouldShowHungRendererDialog() { | 203 bool TabContentsDelegate::ShouldShowHungRendererDialog() { |
| 196 return true; | 204 return true; |
| 197 } | 205 } |
| 198 | 206 |
| 199 void TabContentsDelegate::WorkerCrashed() { | 207 void TabContentsDelegate::WorkerCrashed() { |
| 200 } | 208 } |
| 201 | 209 |
| 202 TabContentsDelegate::~TabContentsDelegate() { | 210 TabContentsDelegate::~TabContentsDelegate() { |
| 203 } | 211 } |
| OLD | NEW |