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

Unified Diff: ios/public/provider/chrome/browser/ui/infobar_view_delegate.h

Issue 2596813002: Remove ChromeBrowserProvider::CreateInfoBarView() method. (Closed)
Patch Set: Created 4 years 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/public/provider/chrome/browser/ui/infobar_view_delegate.h
diff --git a/ios/public/provider/chrome/browser/ui/infobar_view_delegate.h b/ios/public/provider/chrome/browser/ui/infobar_view_delegate.h
deleted file mode 100644
index f694f337e82c0e84f826057fcebcde636ecbeccb..0000000000000000000000000000000000000000
--- a/ios/public/provider/chrome/browser/ui/infobar_view_delegate.h
+++ /dev/null
@@ -1,26 +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 IOS_PUBLIC_PROVIDER_CHROME_BROWSER_UI_INFOBAR_VIEW_DELEGATE_H_
-#define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_UI_INFOBAR_VIEW_DELEGATE_H_
-
-#import <Foundation/Foundation.h>
-
-// Interface for delegating events from infobar.
-class InfoBarViewDelegate {
- public:
- // Notifies that the target size has been changed (e.g. after rotation).
- virtual void SetInfoBarTargetHeight(int height) = 0;
-
- // Notifies that the close button was pressed.
- virtual void InfoBarDidCancel() = 0;
-
- // Notifies that an infobar button was pressed.
- virtual void InfoBarButtonDidPress(NSUInteger button_id) = 0;
-
- protected:
- virtual ~InfoBarViewDelegate() {}
-};
-
-#endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_UI_INFOBAR_VIEW_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698