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

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

Issue 628773002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[t-v]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months 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
« no previous file with comments | « no previous file | chrome/browser/ui/tab_modal_confirm_dialog_browsertest.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "base/time/time.h" 8 #include "base/time/time.h"
9 #include "content/public/browser/web_contents_observer.h" 9 #include "content/public/browser/web_contents_observer.h"
10 #include "content/public/browser/web_contents_user_data.h" 10 #include "content/public/browser/web_contents_user_data.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 base::TimeTicks new_tab_start_time() const { return new_tab_start_time_; } 51 base::TimeTicks new_tab_start_time() const { return new_tab_start_time_; }
52 int content_restrictions() const { return content_restrictions_; } 52 int content_restrictions() const { return content_restrictions_; }
53 53
54 private: 54 private:
55 explicit CoreTabHelper(content::WebContents* web_contents); 55 explicit CoreTabHelper(content::WebContents* web_contents);
56 friend class content::WebContentsUserData<CoreTabHelper>; 56 friend class content::WebContentsUserData<CoreTabHelper>;
57 57
58 // content::WebContentsObserver overrides: 58 // content::WebContentsObserver overrides:
59 virtual void DidStartLoading( 59 virtual void DidStartLoading(
60 content::RenderViewHost* render_view_host) OVERRIDE; 60 content::RenderViewHost* render_view_host) override;
61 virtual void WasShown() OVERRIDE; 61 virtual void WasShown() override;
62 virtual void WebContentsDestroyed() OVERRIDE; 62 virtual void WebContentsDestroyed() override;
63 virtual void BeforeUnloadFired(const base::TimeTicks& proceed_time) OVERRIDE; 63 virtual void BeforeUnloadFired(const base::TimeTicks& proceed_time) override;
64 virtual void BeforeUnloadDialogCancelled() OVERRIDE; 64 virtual void BeforeUnloadDialogCancelled() override;
65 virtual bool OnMessageReceived( 65 virtual bool OnMessageReceived(
66 const IPC::Message& message, 66 const IPC::Message& message,
67 content::RenderFrameHost* render_frame_host) OVERRIDE; 67 content::RenderFrameHost* render_frame_host) override;
68 68
69 void OnRequestThumbnailForContextNodeACK(const SkBitmap& bitmap, 69 void OnRequestThumbnailForContextNodeACK(const SkBitmap& bitmap,
70 const gfx::Size& original_size); 70 const gfx::Size& original_size);
71 71
72 // Delegate for notifying our owner about stuff. Not owned by us. 72 // Delegate for notifying our owner about stuff. Not owned by us.
73 CoreTabHelperDelegate* delegate_; 73 CoreTabHelperDelegate* delegate_;
74 74
75 // The time when we started to create the new tab page. This time is from 75 // The time when we started to create the new tab page. This time is from
76 // before we created this WebContents. 76 // before we created this WebContents.
77 base::TimeTicks new_tab_start_time_; 77 base::TimeTicks new_tab_start_time_;
78 78
79 // The time that we started to close this WebContents. 79 // The time that we started to close this WebContents.
80 base::TimeTicks close_start_time_; 80 base::TimeTicks close_start_time_;
81 81
82 // The time when onbeforeunload ended. 82 // The time when onbeforeunload ended.
83 base::TimeTicks before_unload_end_time_; 83 base::TimeTicks before_unload_end_time_;
84 84
85 // The time when the tab was removed from view during close. 85 // The time when the tab was removed from view during close.
86 base::TimeTicks unload_detached_start_time_; 86 base::TimeTicks unload_detached_start_time_;
87 87
88 // Content restrictions, used to disable print/copy etc based on content's 88 // Content restrictions, used to disable print/copy etc based on content's
89 // (full-page plugins for now only) permissions. 89 // (full-page plugins for now only) permissions.
90 int content_restrictions_; 90 int content_restrictions_;
91 91
92 DISALLOW_COPY_AND_ASSIGN(CoreTabHelper); 92 DISALLOW_COPY_AND_ASSIGN(CoreTabHelper);
93 }; 93 };
94 94
95 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_CORE_TAB_HELPER_H_ 95 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_CORE_TAB_HELPER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/tab_modal_confirm_dialog_browsertest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698