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

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

Issue 1951153002: Remove AddSearchProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: obsolescence date Created 4 years, 7 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
Index: chrome/browser/ui/cocoa/browser/edit_search_engine_cocoa_controller.h
diff --git a/chrome/browser/ui/cocoa/browser/edit_search_engine_cocoa_controller.h b/chrome/browser/ui/cocoa/browser/edit_search_engine_cocoa_controller.h
deleted file mode 100644
index 4f01dd91ae5eac1db612a7d48b75a25d5bf69860..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/cocoa/browser/edit_search_engine_cocoa_controller.h
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright (c) 2012 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_BROWSER_EDIT_SEARCH_ENGINE_COCOA_CONTROLLER_H_
-#define CHROME_BROWSER_UI_COCOA_BROWSER_EDIT_SEARCH_ENGINE_COCOA_CONTROLLER_H_
-
-#import <Cocoa/Cocoa.h>
-
-#include <memory>
-
-#include "chrome/browser/ui/search_engines/edit_search_engine_controller.h"
-
-class TemplateURL;
-
-// This controller presents a dialog that allows a user to add or edit a search
-// engine. If constructed with a nil |templateURL| then it is an add operation,
-// otherwise it will modify the passed URL. A |delegate| is necessary to
-// perform the actual database modifications, and should probably be an
-// instance of KeywordEditorModelObserver.
-@interface EditSearchEngineCocoaController :
- NSWindowController<NSWindowDelegate> {
- IBOutlet NSTextField* nameField_;
- IBOutlet NSTextField* keywordField_;
- IBOutlet NSTextField* urlField_;
- IBOutlet NSImageView* nameImage_;
- IBOutlet NSImageView* keywordImage_;
- IBOutlet NSImageView* urlImage_;
- IBOutlet NSButton* doneButton_;
- IBOutlet NSTextField* urlDescriptionField_;
- IBOutlet NSView* labelContainer_;
- IBOutlet NSBox* fieldAndImageContainer_;
-
- Profile* profile_; // weak
- TemplateURL* templateURL_; // weak
- std::unique_ptr<EditSearchEngineController> controller_;
-}
-
-- (id)initWithProfile:(Profile*)profile
- delegate:(EditSearchEngineControllerDelegate*)delegate
- templateURL:(TemplateURL*)url;
-
-- (IBAction)cancel:(id)sender;
-- (IBAction)save:(id)sender;
-
-@end
-
-@interface EditSearchEngineCocoaController (ExposedForTesting)
-- (BOOL)validateFields;
-@end
-
-#endif // CHROME_BROWSER_UI_COCOA_BROWSER_EDIT_SEARCH_ENGINE_COCOA_CONTROLLER_H_
« no previous file with comments | « chrome/browser/ui/browser_window.h ('k') | chrome/browser/ui/cocoa/browser/edit_search_engine_cocoa_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698