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

Side by Side Diff: chrome_frame/find_dialog.h

Issue 385111: Merge 31792 - The ChromeFrameAutomationClient class needs to be refcounted as... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/245/src/
Patch Set: Created 11 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
« no previous file with comments | « chrome_frame/chrome_frame_plugin.h ('k') | chrome_frame/find_dialog.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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
(...skipping 30 matching lines...) Expand all
41 41
42 // Since the message loop we expect to run in isn't going to be nicely 42 // Since the message loop we expect to run in isn't going to be nicely
43 // calling IsDialogMessage(), we need to hook the wnd proc and call it 43 // calling IsDialogMessage(), we need to hook the wnd proc and call it
44 // ourselves. See http://support.microsoft.com/kb/q187988/ 44 // ourselves. See http://support.microsoft.com/kb/q187988/
45 bool InstallMessageHook(); 45 bool InstallMessageHook();
46 bool UninstallMessageHook(); 46 bool UninstallMessageHook();
47 static LRESULT CALLBACK GetMsgProc(int code, WPARAM wparam, LPARAM lparam); 47 static LRESULT CALLBACK GetMsgProc(int code, WPARAM wparam, LPARAM lparam);
48 static HHOOK msg_hook_; 48 static HHOOK msg_hook_;
49 49
50 // We don't own these, and they must exist at least as long as we do. 50 // We don't own these, and they must exist at least as long as we do.
51 ChromeFrameAutomationClient* automation_client_; 51 scoped_refptr<ChromeFrameAutomationClient> automation_client_;
52 }; 52 };
53 53
54 #endif // CHROME_FRAME_FIND_DIALOG_H_ 54 #endif // CHROME_FRAME_FIND_DIALOG_H_
OLDNEW
« no previous file with comments | « chrome_frame/chrome_frame_plugin.h ('k') | chrome_frame/find_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698