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

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

Issue 8851007: WIP / Do not commit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
« no previous file with comments | « content/browser/tab_contents/tab_contents_delegate.h ('k') | ui/base/win/shell.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/memory/singleton.h" 9 #include "base/memory/singleton.h"
10 #include "content/browser/javascript_dialogs.h" 10 #include "content/browser/javascript_dialogs.h"
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 180
181 void TabContentsDelegate::HandleMouseUp() { 181 void TabContentsDelegate::HandleMouseUp() {
182 } 182 }
183 183
184 void TabContentsDelegate::HandleMouseActivate() { 184 void TabContentsDelegate::HandleMouseActivate() {
185 } 185 }
186 186
187 void TabContentsDelegate::DragEnded() { 187 void TabContentsDelegate::DragEnded() {
188 } 188 }
189 189
190 void TabContentsDelegate::ShowRepostFormWarningDialog( 190 void TabContentsDelegate::ShowTabModalDialog(TabModalDialogDelegate* delegate,
191 TabContents* tab_contents) { 191 TabContents* tab_contents) {
192 } 192 }
193 193
194 bool TabContentsDelegate::OnGoToEntryOffset(int offset) { 194 bool TabContentsDelegate::OnGoToEntryOffset(int offset) {
195 return true; 195 return true;
196 } 196 }
197 197
198 bool TabContentsDelegate::ShouldAddNavigationToHistory( 198 bool TabContentsDelegate::ShouldAddNavigationToHistory(
199 const history::HistoryAddPageArgs& add_page_args, 199 const history::HistoryAddPageArgs& add_page_args,
200 content::NavigationType navigation_type) { 200 content::NavigationType navigation_type) {
201 return true; 201 return true;
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 attached_contents_.insert(tab_contents); 344 attached_contents_.insert(tab_contents);
345 } 345 }
346 346
347 void TabContentsDelegate::Detach(TabContents* tab_contents) { 347 void TabContentsDelegate::Detach(TabContents* tab_contents) {
348 DCHECK(attached_contents_.find(tab_contents) != attached_contents_.end()); 348 DCHECK(attached_contents_.find(tab_contents) != attached_contents_.end());
349 attached_contents_.erase(tab_contents); 349 attached_contents_.erase(tab_contents);
350 } 350 }
351 351
352 void TabContentsDelegate::LostMouseLock() { 352 void TabContentsDelegate::LostMouseLock() {
353 } 353 }
OLDNEW
« no previous file with comments | « content/browser/tab_contents/tab_contents_delegate.h ('k') | ui/base/win/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698