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 "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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 55 |
56 void TabContentsDelegate::LoadingStateChanged(TabContents* source) { | 56 void TabContentsDelegate::LoadingStateChanged(TabContents* source) { |
57 } | 57 } |
58 | 58 |
59 void TabContentsDelegate::LoadProgressChanged(double progress) { | 59 void TabContentsDelegate::LoadProgressChanged(double progress) { |
60 } | 60 } |
61 | 61 |
62 void TabContentsDelegate::CloseContents(TabContents* source) { | 62 void TabContentsDelegate::CloseContents(TabContents* source) { |
63 } | 63 } |
64 | 64 |
| 65 void TabContentsDelegate::SwappedOut(TabContents* source) { |
| 66 } |
| 67 |
65 void TabContentsDelegate::MoveContents(TabContents* source, | 68 void TabContentsDelegate::MoveContents(TabContents* source, |
66 const gfx::Rect& pos) { | 69 const gfx::Rect& pos) { |
67 } | 70 } |
68 | 71 |
69 void TabContentsDelegate::DetachContents(TabContents* source) { | 72 void TabContentsDelegate::DetachContents(TabContents* source) { |
70 } | 73 } |
71 | 74 |
72 bool TabContentsDelegate::IsPopupOrPanel(const TabContents* source) const { | 75 bool TabContentsDelegate::IsPopupOrPanel(const TabContents* source) const { |
73 return false; | 76 return false; |
74 } | 77 } |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 attached_contents_.insert(tab_contents); | 356 attached_contents_.insert(tab_contents); |
354 } | 357 } |
355 | 358 |
356 void TabContentsDelegate::Detach(TabContents* tab_contents) { | 359 void TabContentsDelegate::Detach(TabContents* tab_contents) { |
357 DCHECK(attached_contents_.find(tab_contents) != attached_contents_.end()); | 360 DCHECK(attached_contents_.find(tab_contents) != attached_contents_.end()); |
358 attached_contents_.erase(tab_contents); | 361 attached_contents_.erase(tab_contents); |
359 } | 362 } |
360 | 363 |
361 void TabContentsDelegate::LostMouseLock() { | 364 void TabContentsDelegate::LostMouseLock() { |
362 } | 365 } |
OLD | NEW |