OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_FRAME_FIND_DIALOG_H_ | 5 #ifndef CHROME_FRAME_FIND_DIALOG_H_ |
6 #define CHROME_FRAME_FIND_DIALOG_H_ | 6 #define CHROME_FRAME_FIND_DIALOG_H_ |
7 | 7 |
8 #include <atlbase.h> | 8 #include <atlbase.h> |
9 #include <atlwin.h> | 9 #include <atlwin.h> |
10 | 10 |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/string16.h" | 12 #include "base/strings/string16.h" |
13 #include "resource.h" | 13 #include "resource.h" |
14 #include "grit/chrome_frame_dialogs.h" | 14 #include "grit/chrome_frame_dialogs.h" |
15 | 15 |
16 class ChromeFrameAutomationClient; | 16 class ChromeFrameAutomationClient; |
17 | 17 |
18 class CFFindDialog : public CDialogImpl<CFFindDialog> { | 18 class CFFindDialog : public CDialogImpl<CFFindDialog> { |
19 public: | 19 public: |
20 enum { IDD = IDD_CHROME_FRAME_FIND_DIALOG }; | 20 enum { IDD = IDD_CHROME_FRAME_FIND_DIALOG }; |
21 | 21 |
22 BEGIN_MSG_MAP(CFFindDialog) | 22 BEGIN_MSG_MAP(CFFindDialog) |
(...skipping 27 matching lines...) Expand all Loading... |
50 | 50 |
51 // Store the text we searched for last to determine whether we are doing a | 51 // Store the text we searched for last to determine whether we are doing a |
52 // "Find" or a "Find Next". | 52 // "Find" or a "Find Next". |
53 string16 last_find_text_; | 53 string16 last_find_text_; |
54 | 54 |
55 // We don't own these, and they must exist at least as long as we do. | 55 // We don't own these, and they must exist at least as long as we do. |
56 scoped_refptr<ChromeFrameAutomationClient> automation_client_; | 56 scoped_refptr<ChromeFrameAutomationClient> automation_client_; |
57 }; | 57 }; |
58 | 58 |
59 #endif // CHROME_FRAME_FIND_DIALOG_H_ | 59 #endif // CHROME_FRAME_FIND_DIALOG_H_ |
OLD | NEW |