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

Side by Side Diff: chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm

Issue 24649002: Clean up a few more unused globals. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: thestig comment Created 7 years, 2 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 | Annotate | Revision Log
OLDNEW
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 #import "chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.h " 5 #import "chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.h "
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/stl_util.h" 9 #include "base/stl_util.h"
10 #include "base/strings/sys_string_conversions.h" 10 #include "base/strings/sys_string_conversions.h"
(...skipping 27 matching lines...) Expand all
38 38
39 // Space between popup list and surrounding UI elements. 39 // Space between popup list and surrounding UI elements.
40 const int kLinkOuterPadding = 8; 40 const int kLinkOuterPadding = 8;
41 41
42 // Height of each of the labels in the geolocation bubble. 42 // Height of each of the labels in the geolocation bubble.
43 const int kGeoLabelHeight = 14; 43 const int kGeoLabelHeight = 14;
44 44
45 // Height of the "Clear" button in the geolocation bubble. 45 // Height of the "Clear" button in the geolocation bubble.
46 const int kGeoClearButtonHeight = 17; 46 const int kGeoClearButtonHeight = 17;
47 47
48 // Padding between radio buttons and "Load all plugins" button
49 // in the plugin bubble.
50 const int kLoadAllPluginsButtonVerticalPadding = 8;
51
52 // General padding between elements in the geolocation bubble. 48 // General padding between elements in the geolocation bubble.
53 const int kGeoPadding = 8; 49 const int kGeoPadding = 8;
54 50
55 // Padding between host names in the geolocation bubble. 51 // Padding between host names in the geolocation bubble.
56 const int kGeoHostPadding = 4; 52 const int kGeoHostPadding = 4;
57 53
58 // Minimal padding between "Manage" and "Done" buttons. 54 // Minimal padding between "Manage" and "Done" buttons.
59 const int kManageDonePadding = 8; 55 const int kManageDonePadding = 8;
60 56
61 // Padding between radio buttons and media menus buttons in the media bubble. 57 // Padding between radio buttons and media menus buttons in the media bubble.
(...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after
814 button, base::SysUTF16ToNSString(it->second->model->GetLabelAt(index))); 810 button, base::SysUTF16ToNSString(it->second->model->GetLabelAt(index)));
815 811
816 it->second->model->ExecuteCommand(index, 0); 812 it->second->model->ExecuteCommand(index, 0);
817 } 813 }
818 814
819 - (content_setting_bubble::MediaMenuPartsMap*)mediaMenus { 815 - (content_setting_bubble::MediaMenuPartsMap*)mediaMenus {
820 return &mediaMenus_; 816 return &mediaMenus_;
821 } 817 }
822 818
823 @end // ContentSettingBubbleController 819 @end // ContentSettingBubbleController
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698