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

Side by Side Diff: chrome_frame/bho.h

Issue 1589013: Switch renderer in Moniker patch... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome_frame/bho.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.
tfarina (gmail-do not use) 2010/04/09 00:35:52 nit: 2010, here and in other files too.
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_BHO_H_ 5 #ifndef CHROME_FRAME_BHO_H_
6 #define CHROME_FRAME_BHO_H_ 6 #define CHROME_FRAME_BHO_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlcom.h> 9 #include <atlcom.h>
10 #include <deletebrowsinghistory.h> 10 #include <deletebrowsinghistory.h>
11 #include <exdisp.h> 11 #include <exdisp.h>
12 #include <exdispid.h> 12 #include <exdispid.h>
13 #include <mshtml.h> 13 #include <mshtml.h>
14 #include <shdeprecated.h> 14 #include <shdeprecated.h>
15 15
16 #include <string> 16 #include <string>
17 17
18 #include "base/scoped_comptr_win.h" 18 #include "base/scoped_comptr_win.h"
19 #include "chrome_tab.h" // NOLINT 19 #include "chrome_tab.h" // NOLINT
20 #include "chrome_frame/delete_chrome_history.h" 20 #include "chrome_frame/delete_chrome_history.h"
21 #include "chrome_frame/resource.h" 21 #include "chrome_frame/resource.h"
22 #include "chrome_frame/urlmon_moniker.h" 22 #include "chrome_frame/urlmon_moniker.h"
23 #include "chrome_frame/urlmon_url_request.h" 23 #include "chrome_frame/urlmon_url_request.h"
24 #include "grit/chrome_frame_resources.h" 24 #include "grit/chrome_frame_resources.h"
25 25
26 class DeleteChromeHistory; 26 class DeleteChromeHistory;
27 27
28 class PatchHelper { 28 class PatchHelper {
29 public: 29 public:
30 enum State { UNKNOWN, PATCH_IBROWSER, PATCH_PROTOCOL }; 30 enum State { UNKNOWN, PATCH_IBROWSER, PATCH_PROTOCOL, PATCH_MONIKER };
31 PatchHelper() : state_(UNKNOWN) { 31 PatchHelper() : state_(UNKNOWN) {
32 } 32 }
33 33
34 State state() const { 34 State state() const {
35 return state_; 35 return state_;
36 } 36 }
37 37
38 // Returns true if protocols were patched, false if patching has already 38 // Returns true if protocols were patched, false if patching has already
39 // been done. 39 // been done.
40 bool InitializeAndPatchProtocolsIfNeeded(); 40 bool InitializeAndPatchProtocolsIfNeeded();
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 112
113 protected: 113 protected:
114 bool PatchProtocolHandler(const CLSID& handler_clsid); 114 bool PatchProtocolHandler(const CLSID& handler_clsid);
115 115
116 static _ATL_FUNC_INFO kBeforeNavigate2Info; 116 static _ATL_FUNC_INFO kBeforeNavigate2Info;
117 static _ATL_FUNC_INFO kNavigateComplete2Info; 117 static _ATL_FUNC_INFO kNavigateComplete2Info;
118 }; 118 };
119 119
120 #endif // CHROME_FRAME_BHO_H_ 120 #endif // CHROME_FRAME_BHO_H_
121 121
OLDNEW
« no previous file with comments | « no previous file | chrome_frame/bho.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698