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

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

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « content/browser/ssl/ssl_manager.cc ('k') | content/browser/tab_contents/interstitial_page.cc » ('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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 reload_on_dont_proceed_ = value; 108 reload_on_dont_proceed_ = value;
109 } 109 }
110 bool reload_on_dont_proceed() const { return reload_on_dont_proceed_; } 110 bool reload_on_dont_proceed() const { return reload_on_dont_proceed_; }
111 111
112 virtual void UpdateInspectorSetting(const std::string& key, 112 virtual void UpdateInspectorSetting(const std::string& key,
113 const std::string& value); 113 const std::string& value);
114 virtual void ClearInspectorSettings(); 114 virtual void ClearInspectorSettings();
115 115
116 protected: 116 protected:
117 // NotificationObserver method: 117 // NotificationObserver method:
118 virtual void Observe(NotificationType type, 118 virtual void Observe(int type,
119 const NotificationSource& source, 119 const NotificationSource& source,
120 const NotificationDetails& details); 120 const NotificationDetails& details);
121 121
122 // RenderViewHostDelegate implementation: 122 // RenderViewHostDelegate implementation:
123 virtual View* GetViewDelegate(); 123 virtual View* GetViewDelegate();
124 virtual const GURL& GetURL() const; 124 virtual const GURL& GetURL() const;
125 virtual void RenderViewGone(RenderViewHost* render_view_host, 125 virtual void RenderViewGone(RenderViewHost* render_view_host,
126 base::TerminationStatus status, 126 base::TerminationStatus status,
127 int error_code); 127 int error_code);
128 virtual void DidNavigate(RenderViewHost* render_view_host, 128 virtual void DidNavigate(RenderViewHost* render_view_host,
(...skipping 109 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 RendererPreferences renderer_preferences_; 242 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.cc ('k') | content/browser/tab_contents/interstitial_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698