Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(456)

Side by Side Diff: chrome/browser/ui/cocoa/permission_bubble/permission_bubble_controller.h

Issue 2748443005: Rename website_settings UI folders to permission_bubble. (Closed)
Patch Set: Rebase. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_ 5 #ifndef CHROME_BROWSER_UI_COCOA_PERMISSION_BUBBLE_PERMISSION_BUBBLE_CONTROLLER_H _
6 #define CHROME_BROWSER_UI_COCOA_WEBSITE_SETTINGS_PERMISSION_BUBBLE_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_PERMISSION_BUBBLE_PERMISSION_BUBBLE_CONTROLLER_H _
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/mac/scoped_nsobject.h" 10 #include "base/mac/scoped_nsobject.h"
11 #import "chrome/browser/ui/cocoa/omnibox_decoration_bubble_controller.h" 11 #import "chrome/browser/ui/cocoa/omnibox_decoration_bubble_controller.h"
12 #include "chrome/browser/ui/website_settings/permission_prompt.h" 12 #include "chrome/browser/ui/permission_bubble/permission_prompt.h"
13 #include "ui/base/models/simple_menu_model.h" 13 #include "ui/base/models/simple_menu_model.h"
14 14
15 class Browser; 15 class Browser;
16 @class MenuController; 16 @class MenuController;
17 class PermissionBubbleCocoa; 17 class PermissionBubbleCocoa;
18 class PermissionRequest; 18 class PermissionRequest;
19 19
20 @interface PermissionBubbleController 20 @interface PermissionBubbleController
21 : OmniboxDecorationBubbleController<NSTextViewDelegate> { 21 : OmniboxDecorationBubbleController<NSTextViewDelegate> {
22 @private 22 @private
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // Will calculate the expected anchor point for this bubble. 58 // Will calculate the expected anchor point for this bubble.
59 // Should only be used outside this class for tests. 59 // Should only be used outside this class for tests.
60 - (NSPoint)getExpectedAnchorPoint; 60 - (NSPoint)getExpectedAnchorPoint;
61 61
62 // Returns true if the browser has a visible location bar. 62 // Returns true if the browser has a visible location bar.
63 // Should only be used outside this class for tests. 63 // Should only be used outside this class for tests.
64 - (bool)hasVisibleLocationBar; 64 - (bool)hasVisibleLocationBar;
65 65
66 @end 66 @end
67 67
68 #endif // CHROME_BROWSER_UI_COCOA_WEBSITE_SETTINGS_PERMISSION_BUBBLE_CONTROLLER _H_ 68 #endif // CHROME_BROWSER_UI_COCOA_PERMISSION_BUBBLE_PERMISSION_BUBBLE_CONTROLLE R_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698