| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| 7 | 7 |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 567 } | 567 } |
| 568 | 568 |
| 569 void CrossSiteNavigationCanceled() { | 569 void CrossSiteNavigationCanceled() { |
| 570 render_manager_.CrossSiteNavigationCanceled(); | 570 render_manager_.CrossSiteNavigationCanceled(); |
| 571 } | 571 } |
| 572 | 572 |
| 573 void WindowMoveOrResizeStarted() { | 573 void WindowMoveOrResizeStarted() { |
| 574 render_view_host()->WindowMoveOrResizeStarted(); | 574 render_view_host()->WindowMoveOrResizeStarted(); |
| 575 } | 575 } |
| 576 | 576 |
| 577 // Marks that the current navigation resulted in download. |
| 578 void MarkAsDownload(); |
| 579 |
| 577 private: | 580 private: |
| 578 friend class NavigationController; | 581 friend class NavigationController; |
| 579 // Used to access the child_windows_ (ConstrainedWindowList) for testing | 582 // Used to access the child_windows_ (ConstrainedWindowList) for testing |
| 580 // automation purposes. | 583 // automation purposes. |
| 581 friend class AutomationProvider; | 584 friend class AutomationProvider; |
| 582 | 585 |
| 583 FRIEND_TEST(TabContentsTest, UpdateTitle); | 586 FRIEND_TEST(TabContentsTest, UpdateTitle); |
| 584 | 587 |
| 585 // Temporary until the view/contents separation is complete. | 588 // Temporary until the view/contents separation is complete. |
| 586 friend class TabContentsView; | 589 friend class TabContentsView; |
| (...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1084 // True if the user has decided to block future javascript messages. This is | 1087 // True if the user has decided to block future javascript messages. This is |
| 1085 // reset on navigations to false on navigations. | 1088 // reset on navigations to false on navigations. |
| 1086 bool suppress_javascript_messages_; | 1089 bool suppress_javascript_messages_; |
| 1087 | 1090 |
| 1088 // --------------------------------------------------------------------------- | 1091 // --------------------------------------------------------------------------- |
| 1089 | 1092 |
| 1090 DISALLOW_COPY_AND_ASSIGN(TabContents); | 1093 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 1091 }; | 1094 }; |
| 1092 | 1095 |
| 1093 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 1096 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |