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

Unified Diff: chrome/browser/ui/cocoa/chooser_content_view.h

Issue 2065803002: Make ChromeExtensionChooserDialog::ShowDialog work for MacViews (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 6 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 | « no previous file | chrome/browser/ui/cocoa/chooser_content_view.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/chooser_content_view.h
diff --git a/chrome/browser/ui/cocoa/chooser_content_view.h b/chrome/browser/ui/cocoa/chooser_content_view.h
deleted file mode 100644
index 8f687193ff8d1b1147eaeea5a1769ded41e39834..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/cocoa/chooser_content_view.h
+++ /dev/null
@@ -1,64 +0,0 @@
-// Copyright 2016 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 CHROME_BROWSER_UI_COCOA_CHOOSER_CONTENT_VIEW_H_
-#define CHROME_BROWSER_UI_COCOA_CHOOSER_CONTENT_VIEW_H_
-
-#import <Cocoa/Cocoa.h>
-
-#include "base/mac/scoped_nsobject.h"
-
-// A chooser content view class that user can select an option.
-@interface ChooserContentView : NSView {
- @private
- base::scoped_nsobject<NSTextField> titleView_;
- base::scoped_nsobject<NSScrollView> scrollView_;
- base::scoped_nsobject<NSTableColumn> tableColumn_;
- base::scoped_nsobject<NSTableView> tableView_;
- base::scoped_nsobject<NSButton> connectButton_;
- base::scoped_nsobject<NSButton> cancelButton_;
- base::scoped_nsobject<NSBox> separator_;
- base::scoped_nsobject<NSTextField> message_;
- base::scoped_nsobject<NSButton> helpButton_;
-}
-
-// Designated initializer.
-- (instancetype)initWithChooserTitle:(NSString*)chooserTitle;
-
-// Creates the title for the chooser.
-- (base::scoped_nsobject<NSTextField>)createChooserTitle:(NSString*)title;
-
-// Creates a button with |title|.
-- (base::scoped_nsobject<NSButton>)createButtonWithTitle:(NSString*)title;
-
-// Creates the "Connect" button.
-- (base::scoped_nsobject<NSButton>)createConnectButton;
-
-// Creates the "Cancel" button.
-- (base::scoped_nsobject<NSButton>)createCancelButton;
-
-// Creates the separator.
-- (base::scoped_nsobject<NSBox>)createSeparator;
-
-// Creates the message.
-- (base::scoped_nsobject<NSTextField>)createMessage;
-
-// Creates the "Get help" button.
-- (base::scoped_nsobject<NSButton>)createHelpButton;
-
-// Gets the table view for the chooser.
-- (NSTableView*)tableView;
-
-// Gets the "Connect" button.
-- (NSButton*)connectButton;
-
-// Gets the "Cancel" button.
-- (NSButton*)cancelButton;
-
-// Gets the "Get help" button.
-- (NSButton*)helpButton;
-
-@end
-
-#endif // CHROME_BROWSER_UI_COCOA_CHOOSER_CONTENT_VIEW_H_
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/chooser_content_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698