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

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

Issue 5716003: View source after POST command isn't what you expected. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reviewers comments addressed. Created 10 years 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) 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
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698