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

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

Issue 6794035: Move dispatching and sending of the last extension specific messages out of TabContents and Rende... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 bool TabContentsDelegate::OnGoToEntryOffset(int offset) { 182 bool TabContentsDelegate::OnGoToEntryOffset(int offset) {
183 return true; 183 return true;
184 } 184 }
185 185
186 bool TabContentsDelegate::ShouldAddNavigationToHistory( 186 bool TabContentsDelegate::ShouldAddNavigationToHistory(
187 const history::HistoryAddPageArgs& add_page_args, 187 const history::HistoryAddPageArgs& add_page_args,
188 NavigationType::Type navigation_type) { 188 NavigationType::Type navigation_type) {
189 return true; 189 return true;
190 } 190 }
191 191
192 void TabContentsDelegate::OnDidGetApplicationInfo(TabContents* tab_contents,
193 int32 page_id) {
194 }
195
196 // Notification when an application programmatically requests installation.
197 void TabContentsDelegate::OnInstallApplication(
198 TabContents* tab_contents,
199 const WebApplicationInfo& app_info) {
200 }
201
202 gfx::NativeWindow TabContentsDelegate::GetFrameNativeWindow() { 192 gfx::NativeWindow TabContentsDelegate::GetFrameNativeWindow() {
203 return NULL; 193 return NULL;
204 } 194 }
205 195
206 void TabContentsDelegate::TabContentsCreated(TabContents* new_contents) { 196 void TabContentsDelegate::TabContentsCreated(TabContents* new_contents) {
207 } 197 }
208 198
209 bool TabContentsDelegate::infobars_enabled() { 199 bool TabContentsDelegate::infobars_enabled() {
210 return true; 200 return true;
211 } 201 }
(...skipping 10 matching lines...) Expand all
222 212
223 bool TabContentsDelegate::ShouldShowHungRendererDialog() { 213 bool TabContentsDelegate::ShouldShowHungRendererDialog() {
224 return true; 214 return true;
225 } 215 }
226 216
227 void TabContentsDelegate::WorkerCrashed() { 217 void TabContentsDelegate::WorkerCrashed() {
228 } 218 }
229 219
230 TabContentsDelegate::~TabContentsDelegate() { 220 TabContentsDelegate::~TabContentsDelegate() {
231 } 221 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698