OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_OVERLAYABLE_CONTENTS_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_OVERLAYABLE_CONTENTS_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_OVERLAYABLE_CONTENTS_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_OVERLAYABLE_CONTENTS_CONTROLLER_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #include "base/memory/scoped_nsobject.h" | 10 #include "base/memory/scoped_nsobject.h" |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 | 90 |
91 // Called when a tab with |contents| is activated, so that we can check to see | 91 // Called when a tab with |contents| is activated, so that we can check to see |
92 // if it's the overlay being activated (and adjust internal state accordingly). | 92 // if it's the overlay being activated (and adjust internal state accordingly). |
93 - (void)onActivateTabWithContents:(content::WebContents*)contents; | 93 - (void)onActivateTabWithContents:(content::WebContents*)contents; |
94 | 94 |
95 // Returns YES if the overlay contents is currently showing. | 95 // Returns YES if the overlay contents is currently showing. |
96 - (BOOL)isShowingOverlay; | 96 - (BOOL)isShowingOverlay; |
97 | 97 |
98 - (InstantOverlayControllerMac*)instantOverlayController; | 98 - (InstantOverlayControllerMac*)instantOverlayController; |
99 | 99 |
| 100 - (void)onWebContentsDestroyed:(content::WebContents*)webContents; |
| 101 |
100 @end | 102 @end |
101 | 103 |
102 #endif // CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_OVERLAYABLE_CONTENTS_CONTROLLER_
H_ | 104 #endif // CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_OVERLAYABLE_CONTENTS_CONTROLLER_
H_ |
OLD | NEW |