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

Side by Side Diff: content/browser/tab_contents/interstitial_page.h

Issue 8587009: Add OVERRIDE to content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « content/browser/ssl/ssl_manager.h ('k') | content/browser/tab_contents/popup_menu_helper_mac.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_TAB_CONTENTS_INTERSTITIAL_PAGE_H_ 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_INTERSTITIAL_PAGE_H_
6 #define CONTENT_BROWSER_TAB_CONTENTS_INTERSTITIAL_PAGE_H_ 6 #define CONTENT_BROWSER_TAB_CONTENTS_INTERSTITIAL_PAGE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 ActionState action_taken() const { return action_taken_; } 96 ActionState action_taken() const { return action_taken_; }
97 97
98 // Sets the focus to the interstitial. 98 // Sets the focus to the interstitial.
99 void Focus(); 99 void Focus();
100 100
101 // Focus the first (last if reverse is true) element in the interstitial page. 101 // Focus the first (last if reverse is true) element in the interstitial page.
102 // Called when tab traversing. 102 // Called when tab traversing.
103 void FocusThroughTabTraversal(bool reverse); 103 void FocusThroughTabTraversal(bool reverse);
104 104
105 virtual content::ViewType GetRenderViewType() const; 105 virtual content::ViewType GetRenderViewType() const OVERRIDE;
106 106
107 // See description above field. 107 // See description above field.
108 void set_reload_on_dont_proceed(bool value) { 108 void set_reload_on_dont_proceed(bool value) {
109 reload_on_dont_proceed_ = value; 109 reload_on_dont_proceed_ = value;
110 } 110 }
111 bool reload_on_dont_proceed() const { return reload_on_dont_proceed_; } 111 bool reload_on_dont_proceed() const { return reload_on_dont_proceed_; }
112 112
113 protected: 113 protected:
114 // content::NotificationObserver method: 114 // content::NotificationObserver method:
115 virtual void Observe(int type, 115 virtual void Observe(int type,
116 const content::NotificationSource& source, 116 const content::NotificationSource& source,
117 const content::NotificationDetails& details); 117 const content::NotificationDetails& details) OVERRIDE;
118 118
119 // RenderViewHostDelegate implementation: 119 // RenderViewHostDelegate implementation:
120 virtual View* GetViewDelegate() OVERRIDE; 120 virtual View* GetViewDelegate() OVERRIDE;
121 virtual const GURL& GetURL() const OVERRIDE; 121 virtual const GURL& GetURL() const OVERRIDE;
122 virtual void RenderViewGone(RenderViewHost* render_view_host, 122 virtual void RenderViewGone(RenderViewHost* render_view_host,
123 base::TerminationStatus status, 123 base::TerminationStatus status,
124 int error_code) OVERRIDE; 124 int error_code) OVERRIDE;
125 virtual void DidNavigate( 125 virtual void DidNavigate(
126 RenderViewHost* render_view_host, 126 RenderViewHost* render_view_host,
127 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; 127 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE;
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 typedef std::map<TabContents*, InterstitialPage*> InterstitialPageMap; 238 typedef std::map<TabContents*, InterstitialPage*> InterstitialPageMap;
239 static InterstitialPageMap* tab_to_interstitial_page_; 239 static InterstitialPageMap* tab_to_interstitial_page_;
240 240
241 // Settings passed to the renderer. 241 // Settings passed to the renderer.
242 content::RendererPreferences renderer_preferences_; 242 content::RendererPreferences renderer_preferences_;
243 243
244 DISALLOW_COPY_AND_ASSIGN(InterstitialPage); 244 DISALLOW_COPY_AND_ASSIGN(InterstitialPage);
245 }; 245 };
246 246
247 #endif // CONTENT_BROWSER_TAB_CONTENTS_INTERSTITIAL_PAGE_H_ 247 #endif // CONTENT_BROWSER_TAB_CONTENTS_INTERSTITIAL_PAGE_H_
OLDNEW
« no previous file with comments | « content/browser/ssl/ssl_manager.h ('k') | content/browser/tab_contents/popup_menu_helper_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698