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 | |
104 bool TabContentsDelegate::HandleContextMenu(const ContextMenuParams& params) { | 96 bool TabContentsDelegate::HandleContextMenu(const ContextMenuParams& params) { |
105 return false; | 97 return false; |
106 } | 98 } |
107 | 99 |
108 bool TabContentsDelegate::ExecuteContextMenuCommand(int command) { | 100 bool TabContentsDelegate::ExecuteContextMenuCommand(int command) { |
109 return false; | 101 return false; |
110 } | 102 } |
111 | 103 |
112 void TabContentsDelegate::ShowPageInfo(Profile* profile, | 104 void TabContentsDelegate::ShowPageInfo(Profile* profile, |
113 const GURL& url, | 105 const GURL& url, |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 | 194 |
203 bool TabContentsDelegate::ShouldShowHungRendererDialog() { | 195 bool TabContentsDelegate::ShouldShowHungRendererDialog() { |
204 return true; | 196 return true; |
205 } | 197 } |
206 | 198 |
207 void TabContentsDelegate::WorkerCrashed() { | 199 void TabContentsDelegate::WorkerCrashed() { |
208 } | 200 } |
209 | 201 |
210 TabContentsDelegate::~TabContentsDelegate() { | 202 TabContentsDelegate::~TabContentsDelegate() { |
211 } | 203 } |
OLD | NEW |