| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_WEBSITE_SETTINGS_PERMISSION_BUBBLE_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_WEBSITE_SETTINGS_PERMISSION_BUBBLE_CONTROLLER_H_ |
| 7 |
| 5 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 6 | 9 |
| 7 #include "base/mac/scoped_nsobject.h" | 10 #include "base/mac/scoped_nsobject.h" |
| 8 #import "chrome/browser/ui/cocoa/omnibox_decoration_bubble_controller.h" | 11 #import "chrome/browser/ui/cocoa/omnibox_decoration_bubble_controller.h" |
| 9 #include "chrome/browser/ui/website_settings/permission_prompt.h" | 12 #include "chrome/browser/ui/website_settings/permission_prompt.h" |
| 10 #include "ui/base/models/simple_menu_model.h" | 13 #include "ui/base/models/simple_menu_model.h" |
| 11 | 14 |
| 12 class Browser; | 15 class Browser; |
| 13 @class MenuController; | 16 @class MenuController; |
| 14 class PermissionBubbleCocoa; | 17 class PermissionBubbleCocoa; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 | 57 |
| 55 // Will calculate the expected anchor point for this bubble. | 58 // Will calculate the expected anchor point for this bubble. |
| 56 // Should only be used outside this class for tests. | 59 // Should only be used outside this class for tests. |
| 57 - (NSPoint)getExpectedAnchorPoint; | 60 - (NSPoint)getExpectedAnchorPoint; |
| 58 | 61 |
| 59 // Returns true if the browser has a visible location bar. | 62 // Returns true if the browser has a visible location bar. |
| 60 // Should only be used outside this class for tests. | 63 // Should only be used outside this class for tests. |
| 61 - (bool)hasVisibleLocationBar; | 64 - (bool)hasVisibleLocationBar; |
| 62 | 65 |
| 63 @end | 66 @end |
| 67 |
| 68 #endif // CHROME_BROWSER_UI_COCOA_WEBSITE_SETTINGS_PERMISSION_BUBBLE_CONTROLLER
_H_ |
| OLD | NEW |