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

Unified Diff: ui/app_list/cocoa/apps_search_box_controller.h

Issue 645853013: Remove some platform specific stuff from views. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 2 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/app_list/cocoa/apps_pagination_model_observer.h ('k') | ui/app_list/cocoa/apps_search_box_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/cocoa/apps_search_box_controller.h
diff --git a/ui/app_list/cocoa/apps_search_box_controller.h b/ui/app_list/cocoa/apps_search_box_controller.h
deleted file mode 100644
index b8a86e57f7b9dc022c5cc11c0718db028d8b3198..0000000000000000000000000000000000000000
--- a/ui/app_list/cocoa/apps_search_box_controller.h
+++ /dev/null
@@ -1,67 +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_APP_LIST_COCOA_APPS_SEARCH_BOX_CONTROLLER_H_
-#define UI_APP_LIST_COCOA_APPS_SEARCH_BOX_CONTROLLER_H_
-
-#import <Cocoa/Cocoa.h>
-
-#include "base/mac/scoped_nsobject.h"
-#include "base/memory/scoped_ptr.h"
-#include "ui/app_list/app_list_export.h"
-
-namespace app_list {
-class AppListMenu;
-class AppListModel;
-class AppListViewDelegate;
-class SearchBoxModel;
-class SearchBoxModelObserverBridge;
-}
-
-@class AppListMenuController;
-@class HoverImageMenuButton;
-@class SearchTextField;
-
-@protocol AppsSearchBoxDelegate<NSTextFieldDelegate>
-
-- (app_list::AppListViewDelegate*)appListDelegate;
-- (app_list::SearchBoxModel*)searchBoxModel;
-- (app_list::AppListModel*)appListModel;
-- (void)modelTextDidChange;
-
-@end
-
-// Controller for the search box in the topmost portion of the app list.
-APP_LIST_EXPORT
-@interface AppsSearchBoxController : NSViewController<NSTextFieldDelegate> {
- @private
- base::scoped_nsobject<SearchTextField> searchTextField_;
- base::scoped_nsobject<NSImageView> searchImageView_;
- base::scoped_nsobject<HoverImageMenuButton> menuButton_;
- base::scoped_nsobject<AppListMenuController> menuController_;
- scoped_ptr<app_list::SearchBoxModelObserverBridge> bridge_;
- scoped_ptr<app_list::AppListMenu> appListMenu_;
-
- id<AppsSearchBoxDelegate> delegate_; // Weak. Owns us.
-}
-
-@property(assign, nonatomic) id<AppsSearchBoxDelegate> delegate;
-
-- (id)initWithFrame:(NSRect)frame;
-- (void)clearSearch;
-
-// Rebuild the menu due to changes from the AppListViewDelegate.
-- (void)rebuildMenu;
-
-@end
-
-@interface AppsSearchBoxController (TestingAPI)
-
-- (NSTextField*)searchTextField;
-- (NSPopUpButton*)menuControl;
-- (app_list::AppListMenu*)appListMenu;
-
-@end
-
-#endif // UI_APP_LIST_COCOA_APPS_SEARCH_BOX_CONTROLLER_H_
« no previous file with comments | « ui/app_list/cocoa/apps_pagination_model_observer.h ('k') | ui/app_list/cocoa/apps_search_box_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698