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

Side by Side Diff: chrome/browser/ui/cocoa/infobars/mock_confirm_infobar_delegate.h

Issue 8536010: Cleanup: Remove unneeded forward declarations from chrome/browser/ui/gtk and chrome/browser/ui/co... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: address comments Created 9 years, 1 month 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_UI_COCOA_INFOBARS_MOCK_CONFIRM_INFOBAR_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_INFOBARS_MOCK_CONFIRM_INFOBAR_DELEGATE_H_
6 #define CHROME_BROWSER_UI_COCOA_INFOBARS_MOCK_CONFIRM_INFOBAR_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_COCOA_INFOBARS_MOCK_CONFIRM_INFOBAR_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/string16.h" 11 #include "base/string16.h"
12 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h" 12 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h"
13 13
14 class SkBitmap;
15
16 class MockConfirmInfoBarDelegate : public ConfirmInfoBarDelegate { 14 class MockConfirmInfoBarDelegate : public ConfirmInfoBarDelegate {
17 public: 15 public:
18 // Called when |this| is about to be destroyed. 16 // Called when |this| is about to be destroyed.
19 class Owner { 17 class Owner {
20 public: 18 public:
21 virtual void OnInfoBarDelegateClosed() = 0; 19 virtual void OnInfoBarDelegateClosed() = 0;
22 20
23 protected: 21 protected:
24 virtual ~Owner() {} 22 virtual ~Owner() {}
25 }; 23 };
(...skipping 28 matching lines...) Expand all
54 mutable bool message_text_accessed_; 52 mutable bool message_text_accessed_;
55 mutable bool link_text_accessed_; 53 mutable bool link_text_accessed_;
56 bool ok_clicked_; 54 bool ok_clicked_;
57 bool cancel_clicked_; 55 bool cancel_clicked_;
58 bool link_clicked_; 56 bool link_clicked_;
59 57
60 DISALLOW_COPY_AND_ASSIGN(MockConfirmInfoBarDelegate); 58 DISALLOW_COPY_AND_ASSIGN(MockConfirmInfoBarDelegate);
61 }; 59 };
62 60
63 #endif // CHROME_BROWSER_UI_COCOA_INFOBARS_MOCK_CONFIRM_INFOBAR_DELEGATE_H_ 61 #endif // CHROME_BROWSER_UI_COCOA_INFOBARS_MOCK_CONFIRM_INFOBAR_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698