OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // Implementation of ChromeActiveDocument | 5 // Implementation of ChromeActiveDocument |
6 #include "chrome_frame/chrome_active_document.h" | 6 #include "chrome_frame/chrome_active_document.h" |
7 | 7 |
8 #include <hlink.h> | 8 #include <hlink.h> |
9 #include <htiface.h> | 9 #include <htiface.h> |
10 #include <initguid.h> | 10 #include <initguid.h> |
11 #include <mshtmcid.h> | 11 #include <mshtmcid.h> |
12 #include <shdeprecated.h> | 12 #include <shdeprecated.h> |
13 #include <shlguid.h> | 13 #include <shlguid.h> |
14 #include <shobjidl.h> | 14 #include <shobjidl.h> |
15 #include <tlogstg.h> | 15 #include <tlogstg.h> |
16 #include <urlmon.h> | 16 #include <urlmon.h> |
17 #include <wininet.h> | 17 #include <wininet.h> |
18 | 18 |
19 #include "base/command_line.h" | 19 #include "base/command_line.h" |
20 #include "base/file_util.h" | 20 #include "base/file_util.h" |
21 #include "base/logging.h" | 21 #include "base/logging.h" |
22 #include "base/path_service.h" | 22 #include "base/path_service.h" |
23 #include "base/process_util.h" | 23 #include "base/process_util.h" |
24 #include "base/registry.h" | |
25 #include "base/scoped_variant_win.h" | 24 #include "base/scoped_variant_win.h" |
26 #include "base/string_tokenizer.h" | 25 #include "base/string_tokenizer.h" |
27 #include "base/string_util.h" | 26 #include "base/string_util.h" |
28 #include "base/thread.h" | 27 #include "base/thread.h" |
29 #include "base/thread_local.h" | 28 #include "base/thread_local.h" |
30 #include "base/trace_event.h" | 29 #include "base/trace_event.h" |
31 | 30 |
32 #include "grit/generated_resources.h" | 31 #include "grit/generated_resources.h" |
33 #include "chrome/app/chrome_dll_resource.h" | 32 #include "chrome/app/chrome_dll_resource.h" |
34 #include "chrome/browser/tab_contents/tab_contents.h" | 33 #include "chrome/browser/tab_contents/tab_contents.h" |
(...skipping 1181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1216 return 0; | 1215 return 0; |
1217 } | 1216 } |
1218 | 1217 |
1219 LRESULT ChromeActiveDocument::OnSetFocus(UINT message, WPARAM wparam, | 1218 LRESULT ChromeActiveDocument::OnSetFocus(UINT message, WPARAM wparam, |
1220 LPARAM lparam, | 1219 LPARAM lparam, |
1221 BOOL& handled) { // NO_LINT | 1220 BOOL& handled) { // NO_LINT |
1222 if (!ignore_setfocus_) | 1221 if (!ignore_setfocus_) |
1223 GiveFocusToChrome(false); | 1222 GiveFocusToChrome(false); |
1224 return 0; | 1223 return 0; |
1225 } | 1224 } |
OLD | NEW |