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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef IOS_PUBLIC_PROVIDER_CHROME_BROWSER_UI_INFOBAR_VIEW_DELEGATE_H_
6 #define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_UI_INFOBAR_VIEW_DELEGATE_H_
7
8 #import <Foundation/Foundation.h>
9
10 // Interface for delegating events from infobar.
11 class InfoBarViewDelegate {
12 public:
13 // Notifies that the target size has been changed (e.g. after rotation).
14 virtual void SetInfoBarTargetHeight(int height) = 0;
15
16 // Notifies that the close button was pressed.
17 virtual void InfoBarDidCancel() = 0;
18
19 // Notifies that an infobar button was pressed.
20 virtual void InfoBarButtonDidPress(NSUInteger button_id) = 0;
21
22 protected:
23 virtual ~InfoBarViewDelegate() {}
24 };
25
26 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_UI_INFOBAR_VIEW_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698