| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 653 // Settings that get passed to the renderer process. | 653 // Settings that get passed to the renderer process. |
| 654 content::RendererPreferences renderer_preferences_; | 654 content::RendererPreferences renderer_preferences_; |
| 655 | 655 |
| 656 // If this tab was created from a renderer using window.open, this will be | 656 // If this tab was created from a renderer using window.open, this will be |
| 657 // non-NULL and represent the WebUI of the opening renderer. | 657 // non-NULL and represent the WebUI of the opening renderer. |
| 658 content::WebUI::TypeID opener_web_ui_type_; | 658 content::WebUI::TypeID opener_web_ui_type_; |
| 659 | 659 |
| 660 // The time that we started to create the new tab page. | 660 // The time that we started to create the new tab page. |
| 661 base::TimeTicks new_tab_start_time_; | 661 base::TimeTicks new_tab_start_time_; |
| 662 | 662 |
| 663 // The time that we started to close the tab. | 663 // The time that we started to close this WebContents. |
| 664 base::TimeTicks tab_close_start_time_; | 664 base::TimeTicks close_start_time_; |
| 665 | 665 |
| 666 // The time that this tab was last selected. | 666 // The time that this tab was last selected. |
| 667 base::TimeTicks last_selected_time_; | 667 base::TimeTicks last_selected_time_; |
| 668 | 668 |
| 669 // See description above setter. | 669 // See description above setter. |
| 670 bool closed_by_user_gesture_; | 670 bool closed_by_user_gesture_; |
| 671 | 671 |
| 672 // Minimum/maximum zoom percent. | 672 // Minimum/maximum zoom percent. |
| 673 int minimum_zoom_percent_; | 673 int minimum_zoom_percent_; |
| 674 int maximum_zoom_percent_; | 674 int maximum_zoom_percent_; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 690 // Is there an opener associated with this? | 690 // Is there an opener associated with this? |
| 691 bool has_opener_; | 691 bool has_opener_; |
| 692 | 692 |
| 693 // Color chooser that was opened by this tab. | 693 // Color chooser that was opened by this tab. |
| 694 content::ColorChooser* color_chooser_; | 694 content::ColorChooser* color_chooser_; |
| 695 | 695 |
| 696 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 696 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 697 }; | 697 }; |
| 698 | 698 |
| 699 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 699 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |