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

Side by Side Diff: chrome/browser/ui/cocoa/page_info/permission_selector_button.h

Issue 2741933003: Move Cocoa Page Info UI code to its own folder. (Closed)
Patch Set: Fixin' more unit tests BUILD paths (does mass_rename.py just not pick those up? => crbug.com/701529) 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_SELECTOR_BUTTON_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_PAGE_INFO_PERMISSION_SELECTOR_BUTTON_H_
6 #define CHROME_BROWSER_UI_COCOA_WEBSITE_SETTINGS_PERMISSION_SELECTOR_BUTTON_H_ 6 #define CHROME_BROWSER_UI_COCOA_PAGE_INFO_PERMISSION_SELECTOR_BUTTON_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include <memory> 10 #include <memory>
11 11
12 #include "base/mac/scoped_nsobject.h" 12 #include "base/mac/scoped_nsobject.h"
13 #include "chrome/browser/ui/page_info/permission_menu_model.h" 13 #include "chrome/browser/ui/page_info/permission_menu_model.h"
14 #include "components/content_settings/core/common/content_settings.h" 14 #include "components/content_settings/core/common/content_settings.h"
15 15
16 @class MenuController; 16 @class MenuController;
(...skipping 13 matching lines...) Expand all
30 withCallback:(PermissionMenuModel::ChangeCallback)callback 30 withCallback:(PermissionMenuModel::ChangeCallback)callback
31 profile:(Profile*)profile; 31 profile:(Profile*)profile;
32 32
33 // Returns the largest possible size given all of the items in the menu. 33 // Returns the largest possible size given all of the items in the menu.
34 - (CGFloat)maxTitleWidthForContentSettingsType:(ContentSettingsType)type 34 - (CGFloat)maxTitleWidthForContentSettingsType:(ContentSettingsType)type
35 withDefaultSetting:(ContentSetting)defaultSetting 35 withDefaultSetting:(ContentSetting)defaultSetting
36 profile:(Profile*)profile; 36 profile:(Profile*)profile;
37 37
38 @end 38 @end
39 39
40 #endif // CHROME_BROWSER_UI_COCOA_WEBSITE_SETTINGS_PERMISSION_SELECTOR_BUTTON_H _ 40 #endif // CHROME_BROWSER_UI_COCOA_PAGE_INFO_PERMISSION_SELECTOR_BUTTON_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/page_info/OWNERS ('k') | chrome/browser/ui/cocoa/page_info/permission_selector_button.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698