| 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 <shlobj.h> | 14 #include <shlobj.h> |
| 15 #include <shobjidl.h> | 15 #include <shobjidl.h> |
| 16 #include <tlogstg.h> | 16 #include <tlogstg.h> |
| 17 #include <urlmon.h> | 17 #include <urlmon.h> |
| 18 #include <wininet.h> | 18 #include <wininet.h> |
| 19 | 19 |
| 20 #include "base/command_line.h" | 20 #include "base/command_line.h" |
| 21 #include "base/debug/trace_event.h" |
| 21 #include "base/file_util.h" | 22 #include "base/file_util.h" |
| 22 #include "base/logging.h" | 23 #include "base/logging.h" |
| 23 #include "base/path_service.h" | 24 #include "base/path_service.h" |
| 24 #include "base/process_util.h" | 25 #include "base/process_util.h" |
| 25 #include "base/scoped_variant_win.h" | 26 #include "base/scoped_variant_win.h" |
| 26 #include "base/string_tokenizer.h" | 27 #include "base/string_tokenizer.h" |
| 27 #include "base/string_util.h" | 28 #include "base/string_util.h" |
| 28 #include "base/thread.h" | 29 #include "base/thread.h" |
| 29 #include "base/thread_local.h" | 30 #include "base/thread_local.h" |
| 30 #include "base/trace_event.h" | |
| 31 #include "base/utf_string_conversions.h" | 31 #include "base/utf_string_conversions.h" |
| 32 #include "grit/generated_resources.h" | 32 #include "grit/generated_resources.h" |
| 33 #include "chrome/app/chrome_dll_resource.h" | 33 #include "chrome/app/chrome_dll_resource.h" |
| 34 #include "chrome/browser/tab_contents/tab_contents.h" | 34 #include "chrome/browser/tab_contents/tab_contents.h" |
| 35 #include "chrome/common/chrome_constants.h" | 35 #include "chrome/common/chrome_constants.h" |
| 36 #include "chrome/common/navigation_types.h" | 36 #include "chrome/common/navigation_types.h" |
| 37 #include "chrome/common/page_zoom.h" | 37 #include "chrome/common/page_zoom.h" |
| 38 #include "chrome/test/automation/browser_proxy.h" | 38 #include "chrome/test/automation/browser_proxy.h" |
| 39 #include "chrome/test/automation/tab_proxy.h" | 39 #include "chrome/test/automation/tab_proxy.h" |
| 40 #include "chrome_frame/bho.h" | 40 #include "chrome_frame/bho.h" |
| (...skipping 1258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1299 web_browser2->put_Height(dimensions_.height()); | 1299 web_browser2->put_Height(dimensions_.height()); |
| 1300 web_browser2->put_Left(dimensions_.x()); | 1300 web_browser2->put_Left(dimensions_.x()); |
| 1301 web_browser2->put_Top(dimensions_.y()); | 1301 web_browser2->put_Top(dimensions_.y()); |
| 1302 web_browser2->put_MenuBar(VARIANT_FALSE); | 1302 web_browser2->put_MenuBar(VARIANT_FALSE); |
| 1303 web_browser2->put_ToolBar(VARIANT_FALSE); | 1303 web_browser2->put_ToolBar(VARIANT_FALSE); |
| 1304 | 1304 |
| 1305 dimensions_.set_height(0); | 1305 dimensions_.set_height(0); |
| 1306 dimensions_.set_width(0); | 1306 dimensions_.set_width(0); |
| 1307 } | 1307 } |
| 1308 } | 1308 } |
| OLD | NEW |