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

Side by Side Diff: chrome/browser/views/infobars/infobars.h

Issue 160084: Chaos geolocation demo, non-WebKit part. Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/tab_contents/tab_contents.cc ('k') | chrome/browser/views/infobars/infobars.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_VIEWS_INFOBARS_INFOBARS_H_ 5 #ifndef CHROME_BROWSER_VIEWS_INFOBARS_INFOBARS_H_
6 #define CHROME_BROWSER_VIEWS_INFOBARS_INFOBARS_H_ 6 #define CHROME_BROWSER_VIEWS_INFOBARS_INFOBARS_H_
7 7
8 #include "app/animation.h" 8 #include "app/animation.h"
9 #include "chrome/browser/tab_contents/infobar_delegate.h" 9 #include "chrome/browser/tab_contents/infobar_delegate.h"
10 #include "views/controls/button/button.h" 10 #include "views/controls/button/button.h"
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 ConfirmInfoBarDelegate* GetDelegate(); 188 ConfirmInfoBarDelegate* GetDelegate();
189 189
190 views::NativeButton* ok_button_; 190 views::NativeButton* ok_button_;
191 views::NativeButton* cancel_button_; 191 views::NativeButton* cancel_button_;
192 192
193 bool initialized_; 193 bool initialized_;
194 194
195 DISALLOW_COPY_AND_ASSIGN(ConfirmInfoBar); 195 DISALLOW_COPY_AND_ASSIGN(ConfirmInfoBar);
196 }; 196 };
197 197
198 class GeolocInfoBar : public ConfirmInfoBar {
199 public:
200 explicit GeolocInfoBar(GeolocInfoBarDelegate* delegate);
201 virtual ~GeolocInfoBar();
202
203 private:
204
205 GeolocInfoBarDelegate* GetDelegate();
206
207 DISALLOW_COPY_AND_ASSIGN(GeolocInfoBar);
208 };
209
198 210
199 #endif // #ifndef CHROME_BROWSER_VIEWS_INFOBARS_INFOBARS_H_ 211 #endif // #ifndef CHROME_BROWSER_VIEWS_INFOBARS_INFOBARS_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/tab_contents.cc ('k') | chrome/browser/views/infobars/infobars.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698