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

Side by Side Diff: ui/message_center/cocoa/settings_entry_view.mm

Issue 480693002: Use a qualified path for ui_resources.h grit includes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: REBASE Created 6 years, 4 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "ui/message_center/cocoa/settings_entry_view.h" 5 #import "ui/message_center/cocoa/settings_entry_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/strings/sys_string_conversions.h" 9 #include "base/strings/sys_string_conversions.h"
10 #include "grit/ui_resources.h"
11 #include "skia/ext/skia_utils_mac.h" 10 #include "skia/ext/skia_utils_mac.h"
12 #include "ui/base/resource/resource_bundle.h" 11 #include "ui/base/resource/resource_bundle.h"
13 #import "ui/message_center/cocoa/settings_controller.h" 12 #import "ui/message_center/cocoa/settings_controller.h"
14 #include "ui/message_center/message_center_style.h" 13 #include "ui/message_center/message_center_style.h"
14 #include "ui/resources/grit/ui_resources.h"
15 15
16 using message_center::settings::kEntryIconSize; 16 using message_center::settings::kEntryIconSize;
17 using message_center::settings::kInternalHorizontalSpacing; 17 using message_center::settings::kInternalHorizontalSpacing;
18 18
19 // Size of the widget rendered for us by Cocoa. 19 // Size of the widget rendered for us by Cocoa.
20 const int kCocoaCheckboxSize = 14; 20 const int kCocoaCheckboxSize = 14;
21 21
22 // Intrinsic padding pixels out of our control. 22 // Intrinsic padding pixels out of our control.
23 // Cocoa gives the checkmark some blank space on either side. 23 // Cocoa gives the checkmark some blank space on either side.
24 const int kIntrinsicCheckmarkLeftPadding = 2; 24 const int kIntrinsicCheckmarkLeftPadding = 2;
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 284
285 // Testing API ///////////////////////////////////////////////////////////////// 285 // Testing API /////////////////////////////////////////////////////////////////
286 286
287 - (void)clickLearnMore { 287 - (void)clickLearnMore {
288 [learnMoreButton_ performClick:nil]; 288 [learnMoreButton_ performClick:nil];
289 } 289 }
290 290
291 @end 291 @end
292 292
293 /////////////////////////////////////////////////////////////////////////////// 293 ///////////////////////////////////////////////////////////////////////////////
OLDNEW
« no previous file with comments | « ui/message_center/cocoa/notification_controller.mm ('k') | ui/message_center/cocoa/status_item_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698