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

Unified Diff: ios/chrome/browser/ui/context_menu/context_menu_controller.h

Issue 1891863004: Copy contents of ui/base/ios into ios/chrome/browser/ui/context_menu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix HardwardKeyboard test Created 4 years, 8 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: ios/chrome/browser/ui/context_menu/context_menu_controller.h
diff --git a/ui/base/ios/cru_context_menu_controller.h b/ios/chrome/browser/ui/context_menu/context_menu_controller.h
similarity index 71%
copy from ui/base/ios/cru_context_menu_controller.h
copy to ios/chrome/browser/ui/context_menu/context_menu_controller.h
index f656c4af1540e83f8fb8355c9e6d7402020cb161..a46e4eaa7448c98da61843a0603143b89f80e800 100644
--- a/ui/base/ios/cru_context_menu_controller.h
+++ b/ios/chrome/browser/ui/context_menu/context_menu_controller.h
@@ -1,19 +1,19 @@
// Copyright 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 UI_BASE_IOS_CRU_CONTEXT_MENU_CONTROLLER_H_
-#define UI_BASE_IOS_CRU_CONTEXT_MENU_CONTROLLER_H_
+#ifndef IOS_CHROME_BROWSER_UI_CONTEXT_MENU_CONTEXT_MENU_CONTROLLER_H_
+#define IOS_CHROME_BROWSER_UI_CONTEXT_MENU_CONTEXT_MENU_CONTROLLER_H_
#import <UIKit/UIKit.h>
#include "base/ios/block_types.h"
-@class CRUContextMenuHolder;
+@class ContextMenuHolder;
// Abstracts displaying context menus for all device form factors, given a
-// CRUContextMenuHolder with the title and action to associate to each menu
+// ContextMenuHolder with the title and action to associate to each menu
// item. Will show a sheet on the phone and use a popover on a tablet.
-@interface CRUContextMenuController : NSObject
+@interface ContextMenuController : NSObject
// Whether the context menu is visible.
@property(nonatomic, readonly, getter=isVisible) BOOL visible;
@@ -23,7 +23,7 @@
// since the display is a sheet, but |view| is still used to attach the sheet to
// the given view.
// The |menuHolder| that will be put in the menu.
-- (void)showWithHolder:(CRUContextMenuHolder*)menuHolder
+- (void)showWithHolder:(ContextMenuHolder*)menuHolder
atPoint:(CGPoint)localPoint
inView:(UIView*)view;
@@ -33,4 +33,4 @@
@end
-#endif // UI_BASE_IOS_CRU_CONTEXT_MENU_CONTROLLER_H_
+#endif // IOS_CHROME_BROWSER_UI_CONTEXT_MENU_CONTEXT_MENU_CONTROLLER_H_
« no previous file with comments | « ios/chrome/browser/ui/context_menu/OWNERS ('k') | ios/chrome/browser/ui/context_menu/context_menu_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698