OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/browser/tab_contents/tab_contents_delegate.h" | 5 #include "chrome/browser/tab_contents/tab_contents_delegate.h" |
6 | 6 |
7 #include "chrome/browser/search_engines/template_url.h" | 7 #include "chrome/browser/search_engines/template_url.h" |
8 #include "gfx/rect.h" | 8 #include "gfx/rect.h" |
9 | 9 |
10 std::string TabContentsDelegate::GetNavigationHeaders(const GURL& url) { | 10 std::string TabContentsDelegate::GetNavigationHeaders(const GURL& url) { |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 Profile* profile) { | 124 Profile* profile) { |
125 delete template_url; | 125 delete template_url; |
126 } | 126 } |
127 | 127 |
128 void TabContentsDelegate::ShowPageInfo(Profile* profile, | 128 void TabContentsDelegate::ShowPageInfo(Profile* profile, |
129 const GURL& url, | 129 const GURL& url, |
130 const NavigationEntry::SSLStatus& ssl, | 130 const NavigationEntry::SSLStatus& ssl, |
131 bool show_history) { | 131 bool show_history) { |
132 } | 132 } |
133 | 133 |
| 134 void TabContentsDelegate::ViewSourceForTab(TabContents* source) { |
| 135 } |
| 136 |
134 bool TabContentsDelegate::PreHandleKeyboardEvent( | 137 bool TabContentsDelegate::PreHandleKeyboardEvent( |
135 const NativeWebKeyboardEvent& event, | 138 const NativeWebKeyboardEvent& event, |
136 bool* is_keyboard_shortcut) { | 139 bool* is_keyboard_shortcut) { |
137 return false; | 140 return false; |
138 } | 141 } |
139 | 142 |
140 void TabContentsDelegate::HandleKeyboardEvent( | 143 void TabContentsDelegate::HandleKeyboardEvent( |
141 const NativeWebKeyboardEvent& event) { | 144 const NativeWebKeyboardEvent& event) { |
142 } | 145 } |
143 | 146 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 | 207 |
205 void TabContentsDelegate::OnInstantSupportDetermined(int32 page_id, | 208 void TabContentsDelegate::OnInstantSupportDetermined(int32 page_id, |
206 bool result) { | 209 bool result) { |
207 } | 210 } |
208 | 211 |
209 void TabContentsDelegate::ContentRestrictionsChanged(TabContents* source) { | 212 void TabContentsDelegate::ContentRestrictionsChanged(TabContents* source) { |
210 } | 213 } |
211 | 214 |
212 TabContentsDelegate::~TabContentsDelegate() { | 215 TabContentsDelegate::~TabContentsDelegate() { |
213 } | 216 } |
OLD | NEW |