Index: chrome_frame/find_dialog.h |
diff --git a/chrome_frame/find_dialog.h b/chrome_frame/find_dialog.h |
index 07e2d39ea7a19de6dd2be16d968b5438a2c8e2a0..f7ccabaf48bb7d1d818df9f7ca4ed07b88c8e054 100644 |
--- a/chrome_frame/find_dialog.h |
+++ b/chrome_frame/find_dialog.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -9,6 +9,7 @@ |
#include <atlwin.h> |
#include "base/memory/ref_counted.h" |
+#include "base/string16.h" |
#include "resource.h" |
#include "grit/chrome_frame_dialogs.h" |
@@ -47,6 +48,10 @@ class CFFindDialog : public CDialogImpl<CFFindDialog> { |
static LRESULT CALLBACK GetMsgProc(int code, WPARAM wparam, LPARAM lparam); |
static HHOOK msg_hook_; |
+ // Store the text we searched for last to determine whether we are doing a |
+ // "Find" or a "Find Next". |
+ string16 last_find_text_; |
+ |
// We don't own these, and they must exist at least as long as we do. |
scoped_refptr<ChromeFrameAutomationClient> automation_client_; |
}; |