| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_CHROME_FRAME_AUTOMATION_H_ | 5 #ifndef CHROME_FRAME_CHROME_FRAME_AUTOMATION_H_ |
| 6 #define CHROME_FRAME_CHROME_FRAME_AUTOMATION_H_ | 6 #define CHROME_FRAME_CHROME_FRAME_AUTOMATION_H_ |
| 7 | 7 |
| 8 #include <atlbase.h> | 8 #include <atlbase.h> |
| 9 #include <atlwin.h> | 9 #include <atlwin.h> |
| 10 #include <map> |
| 10 #include <string> | 11 #include <string> |
| 11 #include <map> | |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "base/memory/scoped_handle.h" | 15 #include "base/memory/scoped_handle.h" |
| 16 #include "base/stack_container.h" | 16 #include "base/stack_container.h" |
| 17 #include "base/synchronization/lock.h" | 17 #include "base/synchronization/lock.h" |
| 18 #include "base/task.h" | 18 #include "base/task.h" |
| 19 #include "base/threading/thread.h" | 19 #include "base/threading/thread.h" |
| 20 #include "base/timer.h" | 20 #include "base/timer.h" |
| 21 #include "chrome/test/automation/automation_proxy.h" | 21 #include "chrome/test/automation/automation_proxy.h" |
| (...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 521 // Only used if we attach to an existing tab. | 521 // Only used if we attach to an existing tab. |
| 522 uint64 external_tab_cookie_; | 522 uint64 external_tab_cookie_; |
| 523 | 523 |
| 524 // Set to true if we received a navigation request prior to the automation | 524 // Set to true if we received a navigation request prior to the automation |
| 525 // server being initialized. | 525 // server being initialized. |
| 526 bool navigate_after_initialization_; | 526 bool navigate_after_initialization_; |
| 527 | 527 |
| 528 scoped_refptr<ChromeFrameLaunchParams> chrome_launch_params_; | 528 scoped_refptr<ChromeFrameLaunchParams> chrome_launch_params_; |
| 529 | 529 |
| 530 // Cache security manager for URL zone checking | 530 // Cache security manager for URL zone checking |
| 531 ScopedComPtr<IInternetSecurityManager> security_manager_; | 531 base::win::ScopedComPtr<IInternetSecurityManager> security_manager_; |
| 532 | 532 |
| 533 // When host network stack is used, this object is in charge of | 533 // When host network stack is used, this object is in charge of |
| 534 // handling network requests. | 534 // handling network requests. |
| 535 PluginUrlRequestManager* url_fetcher_; | 535 PluginUrlRequestManager* url_fetcher_; |
| 536 PluginUrlRequestManager::ThreadSafeFlags url_fetcher_flags_; | 536 PluginUrlRequestManager::ThreadSafeFlags url_fetcher_flags_; |
| 537 | 537 |
| 538 // set to true if the host needs to get notified of all top level navigations | 538 // set to true if the host needs to get notified of all top level navigations |
| 539 // in this page. This typically applies to hosts which would render the new | 539 // in this page. This typically applies to hosts which would render the new |
| 540 // page without chrome frame. Defaults to false. | 540 // page without chrome frame. Defaults to false. |
| 541 bool route_all_top_level_navigations_; | 541 bool route_all_top_level_navigations_; |
| 542 | 542 |
| 543 friend class BeginNavigateContext; | 543 friend class BeginNavigateContext; |
| 544 friend class CreateExternalTabContext; | 544 friend class CreateExternalTabContext; |
| 545 }; | 545 }; |
| 546 | 546 |
| 547 #endif // CHROME_FRAME_CHROME_FRAME_AUTOMATION_H_ | 547 #endif // CHROME_FRAME_CHROME_FRAME_AUTOMATION_H_ |
| OLD | NEW |