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

Unified Diff: ui/message_center/cocoa/settings_entry_view.h

Issue 1334363002: [Eraser] First pass at removing the notification center panel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: peter comments Created 5 years, 3 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 | « ui/message_center/cocoa/settings_controller.mm ('k') | ui/message_center/cocoa/settings_entry_view.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/cocoa/settings_entry_view.h
diff --git a/ui/message_center/cocoa/settings_entry_view.h b/ui/message_center/cocoa/settings_entry_view.h
deleted file mode 100644
index e8902c630571bbbf096f15513be93a32e2139662..0000000000000000000000000000000000000000
--- a/ui/message_center/cocoa/settings_entry_view.h
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef UI_MESSAGE_CENTER_COCOA_SETTINGS_ENTRY_VIEW_H_
-#define UI_MESSAGE_CENTER_COCOA_SETTINGS_ENTRY_VIEW_H_
-
-#import <Cocoa/Cocoa.h>
-
-#import "base/mac/scoped_nsobject.h"
-#import "ui/base/cocoa/hover_image_button.h"
-#include "ui/message_center/notifier_settings.h"
-
-@class MCSettingsController;
-
-// The view that renders individual notifiers in the settings sheet. This
-// includes an enable/disable checkbox, icon, name, and learn more button,
-// and an optional horizontal separator line.
-@interface MCSettingsEntryView : NSBox {
- @private
- // Weak. Owns us.
- MCSettingsController* controller_;
-
- // Weak, owned by MCSettingsController.
- message_center::Notifier* notifier_;
-
- // The image that will be displayed next to the notifier name, loaded
- // asynchronously.
- base::scoped_nsobject<NSImage> notifierIcon_;
-
- // The button that can be displayed after the notifier name, that when
- // clicked on causes an event to be fired for more information.
- base::scoped_nsobject<HoverImageButton> learnMoreButton_;
-
- // The button that contains the label, notifier icon and checkbox.
- base::scoped_nsobject<NSButton> checkbox_;
-
- // The border on the bottom of the view.
- BOOL hasSeparator_;
- base::scoped_nsobject<NSBox> separator_;
-}
-
-- (id)initWithController:(MCSettingsController*)controller
- notifier:(message_center::Notifier*)notifier
- frame:(NSRect)frame
- hasSeparator:(BOOL)hasSeparator;
-
-- (void)setNotifierIcon:(NSImage*)notifierIcon;
-
-- (NSButton*)checkbox;
-
-@end
-
-@interface MCSettingsEntryView (TestingAPI)
-- (void)clickLearnMore;
-@end
-
-#endif // UI_MESSAGE_CENTER_COCOA_SETTINGS_ENTRY_VIEW_H_
« no previous file with comments | « ui/message_center/cocoa/settings_controller.mm ('k') | ui/message_center/cocoa/settings_entry_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698