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 CHROME_BROWSER_UI_TAB_CONTENTS_CORE_TAB_HELPER_H_ | 5 #ifndef CHROME_BROWSER_UI_TAB_CONTENTS_CORE_TAB_HELPER_H_ |
6 #define CHROME_BROWSER_UI_TAB_CONTENTS_CORE_TAB_HELPER_H_ | 6 #define CHROME_BROWSER_UI_TAB_CONTENTS_CORE_TAB_HELPER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 // The time when onbeforeunload ended. | 109 // The time when onbeforeunload ended. |
110 base::TimeTicks before_unload_end_time_; | 110 base::TimeTicks before_unload_end_time_; |
111 | 111 |
112 // The time when the tab was removed from view during close. | 112 // The time when the tab was removed from view during close. |
113 base::TimeTicks unload_detached_start_time_; | 113 base::TimeTicks unload_detached_start_time_; |
114 | 114 |
115 // Content restrictions, used to disable print/copy etc based on content's | 115 // Content restrictions, used to disable print/copy etc based on content's |
116 // (full-page plugins for now only) permissions. | 116 // (full-page plugins for now only) permissions. |
117 int content_restrictions_; | 117 int content_restrictions_; |
118 | 118 |
119 IDMap<ContextNodeThumbnailCallback, IDMapOwnPointer> thumbnail_callbacks_; | 119 IDMap<std::unique_ptr<ContextNodeThumbnailCallback>> thumbnail_callbacks_; |
120 | 120 |
121 DISALLOW_COPY_AND_ASSIGN(CoreTabHelper); | 121 DISALLOW_COPY_AND_ASSIGN(CoreTabHelper); |
122 }; | 122 }; |
123 | 123 |
124 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_CORE_TAB_HELPER_H_ | 124 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_CORE_TAB_HELPER_H_ |
OLD | NEW |