| 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 #ifndef CHROME_FRAME_CHROME_ACTIVE_DOCUMENT_H_ | 5 #ifndef CHROME_FRAME_CHROME_ACTIVE_DOCUMENT_H_ |
| 6 #define CHROME_FRAME_CHROME_ACTIVE_DOCUMENT_H_ | 6 #define CHROME_FRAME_CHROME_ACTIVE_DOCUMENT_H_ |
| 7 | 7 |
| 8 #include <atlbase.h> | 8 #include <atlbase.h> |
| 9 #include <atlcom.h> | 9 #include <atlcom.h> |
| 10 #include <atlctl.h> | 10 #include <atlctl.h> |
| (...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 void SetWindowDimensions(); | 441 void SetWindowDimensions(); |
| 442 | 442 |
| 443 // Returns true if the NavigationInfo object passed in represents a new | 443 // Returns true if the NavigationInfo object passed in represents a new |
| 444 // navigation initiated by the renderer. | 444 // navigation initiated by the renderer. |
| 445 bool IsNewNavigation(const NavigationInfo& new_navigation_info, | 445 bool IsNewNavigation(const NavigationInfo& new_navigation_info, |
| 446 int flags) const; | 446 int flags) const; |
| 447 | 447 |
| 448 protected: | 448 protected: |
| 449 typedef std::map<int, OLECMDF> CommandStatusMap; | 449 typedef std::map<int, OLECMDF> CommandStatusMap; |
| 450 | 450 |
| 451 NavigationInfo navigation_info_; | 451 scoped_ptr<NavigationInfo> navigation_info_; |
| 452 bool is_doc_object_; | 452 bool is_doc_object_; |
| 453 | 453 |
| 454 // This indicates whether this is the first navigation in this | 454 // This indicates whether this is the first navigation in this |
| 455 // active document. It is initalize to true and it is set to false | 455 // active document. It is initalize to true and it is set to false |
| 456 // after we get a navigation notification from Chrome | 456 // after we get a navigation notification from Chrome |
| 457 bool first_navigation_; | 457 bool first_navigation_; |
| 458 | 458 |
| 459 // Our find dialog | 459 // Our find dialog |
| 460 CFFindDialog find_dialog_; | 460 CFFindDialog find_dialog_; |
| 461 | 461 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 481 UrlmonUrlRequestManager::PrivacyInfo::PrivacyRecords::iterator | 481 UrlmonUrlRequestManager::PrivacyInfo::PrivacyRecords::iterator |
| 482 next_privacy_record_; | 482 next_privacy_record_; |
| 483 | 483 |
| 484 // Dimensions of the window. Used only when opening popups. | 484 // Dimensions of the window. Used only when opening popups. |
| 485 gfx::Rect dimensions_; | 485 gfx::Rect dimensions_; |
| 486 public: | 486 public: |
| 487 OLEINPLACEFRAMEINFO frame_info_; | 487 OLEINPLACEFRAMEINFO frame_info_; |
| 488 }; | 488 }; |
| 489 | 489 |
| 490 #endif // CHROME_FRAME_CHROME_ACTIVE_DOCUMENT_H_ | 490 #endif // CHROME_FRAME_CHROME_ACTIVE_DOCUMENT_H_ |
| OLD | NEW |