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

Unified Diff: chrome_frame/find_dialog.h

Issue 126143005: Remove Chrome Frame code and resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to r244038 Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome_frame/extra_system_apis.h ('k') | chrome_frame/find_dialog.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/find_dialog.h
diff --git a/chrome_frame/find_dialog.h b/chrome_frame/find_dialog.h
deleted file mode 100644
index 27eca8bcda29bc4b57508fda1ebac8a5d4df2324..0000000000000000000000000000000000000000
--- a/chrome_frame/find_dialog.h
+++ /dev/null
@@ -1,59 +0,0 @@
-// 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.
-
-#ifndef CHROME_FRAME_FIND_DIALOG_H_
-#define CHROME_FRAME_FIND_DIALOG_H_
-
-#include <atlbase.h>
-#include <atlwin.h>
-
-#include "base/memory/ref_counted.h"
-#include "base/strings/string16.h"
-#include "resource.h"
-#include "grit/chrome_frame_dialogs.h"
-
-class ChromeFrameAutomationClient;
-
-class CFFindDialog : public CDialogImpl<CFFindDialog> {
- public:
- enum { IDD = IDD_CHROME_FRAME_FIND_DIALOG };
-
- BEGIN_MSG_MAP(CFFindDialog)
- MESSAGE_HANDLER(WM_DESTROY, OnDestroy)
- MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
- COMMAND_ID_HANDLER(IDOK, OnFind)
- COMMAND_ID_HANDLER(IDCANCEL, OnCancel)
- END_MSG_MAP()
-
- CFFindDialog();
- void Init(ChromeFrameAutomationClient* automation_client);
-
- LRESULT OnDestroy(UINT msg, WPARAM wparam,
- LPARAM lparam, BOOL& handled); // NOLINT
- LRESULT OnFind(WORD wNotifyCode, WORD wID,
- HWND hWndCtl, BOOL& bHandled); // NOLINT
- LRESULT OnCancel(WORD wNotifyCode, WORD wID,
- HWND hWndCtl, BOOL& bHandled); // NOLINT
- LRESULT OnInitDialog(UINT msg, WPARAM wparam,
- LPARAM lparam, BOOL& handled); // NOLINT
-
- private:
-
- // Since the message loop we expect to run in isn't going to be nicely
- // calling IsDialogMessage(), we need to hook the wnd proc and call it
- // ourselves. See http://support.microsoft.com/kb/q187988/
- bool InstallMessageHook();
- bool UninstallMessageHook();
- 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".
- base::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_;
-};
-
-#endif // CHROME_FRAME_FIND_DIALOG_H_
« no previous file with comments | « chrome_frame/extra_system_apis.h ('k') | chrome_frame/find_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698