| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_INFO_BUBBLE_WINDOW_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_INFO_BUBBLE_WINDOW_H_ |
| 7 |
| 5 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 6 | 9 |
| 7 #include <memory> | 10 #include <memory> |
| 8 | 11 |
| 9 #import "chrome/browser/ui/cocoa/chrome_event_processing_window.h" | 12 #import "chrome/browser/ui/cocoa/chrome_event_processing_window.h" |
| 10 | 13 |
| 11 class AppNotificationBridge; | 14 class AppNotificationBridge; |
| 12 | 15 |
| 13 namespace info_bubble { | 16 namespace info_bubble { |
| 14 | 17 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 | 54 |
| 52 // Superclass override. | 55 // Superclass override. |
| 53 - (BOOL)canBecomeKeyWindow; | 56 - (BOOL)canBecomeKeyWindow; |
| 54 | 57 |
| 55 // Returns YES if the window is in the process of closing. | 58 // Returns YES if the window is in the process of closing. |
| 56 // Can't use "windowWillClose" notification because that will be sent | 59 // Can't use "windowWillClose" notification because that will be sent |
| 57 // after the closing animation has completed. | 60 // after the closing animation has completed. |
| 58 - (BOOL)isClosing; | 61 - (BOOL)isClosing; |
| 59 | 62 |
| 60 @end | 63 @end |
| 64 |
| 65 #endif // CHROME_BROWSER_UI_COCOA_INFO_BUBBLE_WINDOW_H_ |
| OLD | NEW |