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

Side by Side Diff: chrome/browser/ui/cocoa/dock_icon.h

Issue 2747693003: Add missing include guards in Cocoa code. (Closed)
Patch Set: Fix nit 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 (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 #ifndef CHROME_BROWSER_UI_COCOA_DOCK_ICON_H_
6 #define CHROME_BROWSER_UI_COCOA_DOCK_ICON_H_
7
5 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
6 9
7 #include "base/time/time.h" 10 #include "base/time/time.h"
8 11
9 // A class representing the dock icon of the Chromium app. It's its own class 12 // A class representing the dock icon of the Chromium app. It's its own class
10 // since several parts of the app want to manipulate the display of the dock 13 // since several parts of the app want to manipulate the display of the dock
11 // icon. 14 // icon.
12 // 15 //
13 // Like all UI, it must only be messaged from the UI thread. 16 // Like all UI, it must only be messaged from the UI thread.
14 @interface DockIcon : NSObject { 17 @interface DockIcon : NSObject {
(...skipping 17 matching lines...) Expand all
32 - (void)setDownloads:(int)downloads; 35 - (void)setDownloads:(int)downloads;
33 36
34 // Indicates whether the progress indicator should be in an indeterminate state 37 // Indicates whether the progress indicator should be in an indeterminate state
35 // or not. 38 // or not.
36 - (void)setIndeterminate:(BOOL)indeterminate; 39 - (void)setIndeterminate:(BOOL)indeterminate;
37 40
38 // Indicates the amount of progress made of the download. Ranges from [0..1]. 41 // Indicates the amount of progress made of the download. Ranges from [0..1].
39 - (void)setProgress:(float)progress; 42 - (void)setProgress:(float)progress;
40 43
41 @end 44 @end
45
46 #endif // CHROME_BROWSER_UI_COCOA_DOCK_ICON_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/custom_frame_view.h ('k') | chrome/browser/ui/cocoa/download/download_item_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698