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 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ | 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ |
6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ | 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
281 // Notifies the delegate that the content restrictions for this tab has | 281 // Notifies the delegate that the content restrictions for this tab has |
282 // changed. | 282 // changed. |
283 virtual void ContentRestrictionsChanged(TabContents* source); | 283 virtual void ContentRestrictionsChanged(TabContents* source); |
284 | 284 |
285 // Returns true if the hung renderer dialog should be shown. Default is true. | 285 // Returns true if the hung renderer dialog should be shown. Default is true. |
286 virtual bool ShouldShowHungRendererDialog(); | 286 virtual bool ShouldShowHungRendererDialog(); |
287 | 287 |
288 // Notification that a worker associated with this tab has crashed. | 288 // Notification that a worker associated with this tab has crashed. |
289 virtual void WorkerCrashed(); | 289 virtual void WorkerCrashed(); |
290 | 290 |
291 // Returns true iff the tab contents is not showing. | |
brettw
2011/05/18 22:11:38
iff -> if
| |
292 virtual bool IsHidden(const TabContents* source) const; | |
brettw
2011/05/18 22:11:38
Sorry if I led you astray earlier, but it looks li
Shishir
2011/05/19 02:51:25
By TabContentDelegate::View, do you mean RenderWid
brettw
2011/05/19 04:45:09
Is there the opposite problem? i.e. what if we say
Shishir
2011/05/19 18:46:23
The forground tab likely works because we always
| |
293 | |
291 protected: | 294 protected: |
292 virtual ~TabContentsDelegate(); | 295 virtual ~TabContentsDelegate(); |
293 }; | 296 }; |
294 | 297 |
295 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ | 298 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ |
OLD | NEW |