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

Side by Side Diff: chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.mm

Issue 1601583002: Cleanup: Remove unused ui::ResourceBundle::ImageRTL (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « no previous file | chromecast/common/cast_resource_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.h" 5 #include "chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.h"
6 6
7 #import <Cocoa/Cocoa.h> 7 #import <Cocoa/Cocoa.h>
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/i18n/rtl.h" 10 #include "base/i18n/rtl.h"
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 xRadius:kWindowCornerRadius 242 xRadius:kWindowCornerRadius
243 yRadius:kWindowCornerRadius] fill]; 243 yRadius:kWindowCornerRadius] fill];
244 } 244 }
245 245
246 @end 246 @end
247 247
248 @implementation WindowGripView 248 @implementation WindowGripView
249 - (WindowGripView*)init { 249 - (WindowGripView*)init {
250 gfx::Image gripImage = 250 gfx::Image gripImage =
251 ui::ResourceBundle::GetSharedInstance().GetNativeImageNamed( 251 ui::ResourceBundle::GetSharedInstance().GetNativeImageNamed(
252 IDR_SCREEN_CAPTURE_NOTIFICATION_GRIP, 252 IDR_SCREEN_CAPTURE_NOTIFICATION_GRIP);
253 ui::ResourceBundle::RTL_DISABLED);
254 self = [super 253 self = [super
255 initWithFrame:NSMakeRect(0, 0, gripImage.Width(), gripImage.Height())]; 254 initWithFrame:NSMakeRect(0, 0, gripImage.Width(), gripImage.Height())];
256 [self setImage:gripImage.ToNSImage()]; 255 [self setImage:gripImage.ToNSImage()];
257 return self; 256 return self;
258 } 257 }
259 258
260 - (BOOL)mouseDownCanMoveWindow { 259 - (BOOL)mouseDownCanMoveWindow {
261 return YES; 260 return YES;
262 } 261 }
263 @end 262 @end
OLDNEW
« no previous file with comments | « no previous file | chromecast/common/cast_resource_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698