Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Side by Side Diff: chrome/browser/ui/tab_contents/core_tab_helper.h

Issue 2496653002: Part 2 of base::IDMap refactor to eliminate IDMapOwnPointer/IDMapExternalPointer modes (Closed)
Patch Set: typedefs => using statements, update comments in base/id_map.h Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/blocked_content/popup_blocker_tab_helper.cc ('k') | chrome/browser/ui/webui/cookies_tree_model_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698