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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 return true; | 210 return true; |
211 } | 211 } |
212 | 212 |
213 bool TabContentsDelegate::ShouldEnablePreferredSizeNotifications() { | 213 bool TabContentsDelegate::ShouldEnablePreferredSizeNotifications() { |
214 return false; | 214 return false; |
215 } | 215 } |
216 | 216 |
217 void TabContentsDelegate::UpdatePreferredSize(const gfx::Size& pref_size) { | 217 void TabContentsDelegate::UpdatePreferredSize(const gfx::Size& pref_size) { |
218 } | 218 } |
219 | 219 |
220 void TabContentsDelegate::OnSetSuggestions( | |
221 int32 page_id, | |
222 const std::vector<std::string>& suggestions, | |
223 InstantCompleteBehavior behavior) { | |
224 } | |
225 | |
226 void TabContentsDelegate::OnInstantSupportDetermined(int32 page_id, | |
227 bool result) { | |
228 } | |
229 | |
230 void TabContentsDelegate::ContentRestrictionsChanged(TabContents* source) { | 220 void TabContentsDelegate::ContentRestrictionsChanged(TabContents* source) { |
231 } | 221 } |
232 | 222 |
233 bool TabContentsDelegate::ShouldShowHungRendererDialog() { | 223 bool TabContentsDelegate::ShouldShowHungRendererDialog() { |
234 return true; | 224 return true; |
235 } | 225 } |
236 | 226 |
237 void TabContentsDelegate::WorkerCrashed() { | 227 void TabContentsDelegate::WorkerCrashed() { |
238 } | 228 } |
239 | 229 |
240 TabContentsDelegate::~TabContentsDelegate() { | 230 TabContentsDelegate::~TabContentsDelegate() { |
241 } | 231 } |
OLD | NEW |