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

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

Issue 3461019: FBTF: Move virtual methods to implementation files. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Win+chromeos+mac fixes Created 10 years, 3 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_TAB_CONTENTS_INTERSTITIAL_PAGE_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_INTERSTITIAL_PAGE_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_INTERSTITIAL_PAGE_H_ 6 #define CHROME_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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 virtual View* GetViewDelegate(); 121 virtual View* GetViewDelegate();
122 virtual const GURL& GetURL() const; 122 virtual const GURL& GetURL() const;
123 virtual void RenderViewGone(RenderViewHost* render_view_host); 123 virtual void RenderViewGone(RenderViewHost* render_view_host);
124 virtual void DidNavigate(RenderViewHost* render_view_host, 124 virtual void DidNavigate(RenderViewHost* render_view_host,
125 const ViewHostMsg_FrameNavigate_Params& params); 125 const ViewHostMsg_FrameNavigate_Params& params);
126 virtual void UpdateTitle(RenderViewHost* render_view_host, 126 virtual void UpdateTitle(RenderViewHost* render_view_host,
127 int32 page_id, 127 int32 page_id,
128 const std::wstring& title); 128 const std::wstring& title);
129 virtual void DomOperationResponse(const std::string& json_string, 129 virtual void DomOperationResponse(const std::string& json_string,
130 int automation_id); 130 int automation_id);
131 virtual RendererPreferences GetRendererPrefs(Profile* profile) const { 131 virtual RendererPreferences GetRendererPrefs(Profile* profile) const;
132 return renderer_preferences_;
133 }
134 132
135 // Invoked when the page sent a command through DOMAutomation. 133 // Invoked when the page sent a command through DOMAutomation.
136 virtual void CommandReceived(const std::string& command) {} 134 virtual void CommandReceived(const std::string& command) {}
137 135
138 // Invoked with the NavigationEntry that is going to be added to the 136 // Invoked with the NavigationEntry that is going to be added to the
139 // navigation controller. 137 // navigation controller.
140 // Gives an opportunity to sub-classes to set states on the |entry|. 138 // Gives an opportunity to sub-classes to set states on the |entry|.
141 // Note that this is only called if the InterstitialPage was constructed with 139 // Note that this is only called if the InterstitialPage was constructed with
142 // |create_navigation_entry| set to true. 140 // |create_navigation_entry| set to true.
143 virtual void UpdateEntry(NavigationEntry* entry) {} 141 virtual void UpdateEntry(NavigationEntry* entry) {}
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 typedef std::map<TabContents*, InterstitialPage*> InterstitialPageMap; 231 typedef std::map<TabContents*, InterstitialPage*> InterstitialPageMap;
234 static InterstitialPageMap* tab_to_interstitial_page_; 232 static InterstitialPageMap* tab_to_interstitial_page_;
235 233
236 // Settings passed to the renderer. 234 // Settings passed to the renderer.
237 RendererPreferences renderer_preferences_; 235 RendererPreferences renderer_preferences_;
238 236
239 DISALLOW_COPY_AND_ASSIGN(InterstitialPage); 237 DISALLOW_COPY_AND_ASSIGN(InterstitialPage);
240 }; 238 };
241 239
242 #endif // CHROME_BROWSER_TAB_CONTENTS_INTERSTITIAL_PAGE_H_ 240 #endif // CHROME_BROWSER_TAB_CONTENTS_INTERSTITIAL_PAGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698