| OLD | NEW | 
|---|
| 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  Loading... | 
| 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_ | 
| OLD | NEW | 
|---|