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

Unified Diff: chrome/browser/cocoa/about_window_controller.h

Issue 173606: Add background_tile_view for tiling an image as UI background (about box need... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/app_controller_mac.mm ('k') | chrome/browser/cocoa/about_window_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/about_window_controller.h
===================================================================
--- chrome/browser/cocoa/about_window_controller.h (revision 24730)
+++ chrome/browser/cocoa/about_window_controller.h (working copy)
@@ -2,13 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_COCOA_ABOUT_WINDOW_CONTROLLER_MAC_H_
-#define CHROME_BROWSER_COCOA_ABOUT_WINDOW_CONTROLLER_MAC_H_
+#ifndef CHROME_BROWSER_COCOA_ABOUT_WINDOW_CONTROLLER_H_
+#define CHROME_BROWSER_COCOA_ABOUT_WINDOW_CONTROLLER_H_
#import <Cocoa/Cocoa.h>
+#include "base/scoped_nsobject.h"
#import "chrome/app/keystone_glue.h"
-@class AppController;
+@class BackgroundTileView;
// A window controller that handles the branded (Chrome.app) about
// window. The branded about window has a few features beyond the
@@ -18,12 +19,19 @@
@interface AboutWindowController : NSWindowController<KeystoneGlueCallbacks> {
@private
IBOutlet NSTextField* version_;
- IBOutlet NSTextField* upToDate_;
- IBOutlet NSTextField* updateCompleted_;
+ IBOutlet BackgroundTileView* backgroundView_;
+ IBOutlet NSImageView* logoView_;
+ IBOutlet NSTextField* legalBlock_;
+ IBOutlet NSView* updateBlock_; // Holds everything related to updates
IBOutlet NSProgressIndicator* spinner_;
+ IBOutlet NSImageView* updateStatusIndicator_;
+ IBOutlet NSTextField* updateText_;
IBOutlet NSButton* updateNowButton_;
BOOL updateTriggered_; // Has an update ever been triggered?
+
+ // The version we got told about by Keystone
+ scoped_nsobject<NSString> newVersionAvailable_;
}
// Trigger an update right now, as initiated by a button.
@@ -34,12 +42,11 @@
@interface AboutWindowController (JustForTesting)
- (NSButton*)updateButton;
-- (NSTextField*)upToDateTextField;
-- (NSTextField*)updateCompletedTextField;
+- (NSTextField*)updateText;
@end
// NSNotification sent when the about window is closed.
extern NSString* const kUserClosedAboutNotification;
-#endif
+#endif // CHROME_BROWSER_COCOA_ABOUT_WINDOW_CONTROLLER_H_
Property changes on: chrome/browser/cocoa/about_window_controller.h
___________________________________________________________________
Name: svn:eol-style
+ LF
« no previous file with comments | « chrome/browser/app_controller_mac.mm ('k') | chrome/browser/cocoa/about_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698