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

Side by Side Diff: content/browser/web_contents/interstitial_page_impl.h

Issue 10409088: Get rid of the RenderViewType concept in content, since it was only used by Chrome. Store the enum… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 8 years, 7 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
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 CONTENT_BROWSER_WEB_CONTENTS_INTERSTITIAL_PAGE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_INTERSTITIAL_PAGE_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_INTERSTITIAL_PAGE_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_INTERSTITIAL_PAGE_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 virtual void DidNavigate( 91 virtual void DidNavigate(
92 content::RenderViewHost* render_view_host, 92 content::RenderViewHost* render_view_host,
93 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; 93 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE;
94 virtual void UpdateTitle(content::RenderViewHost* render_view_host, 94 virtual void UpdateTitle(content::RenderViewHost* render_view_host,
95 int32 page_id, 95 int32 page_id,
96 const string16& title, 96 const string16& title,
97 base::i18n::TextDirection title_direction) OVERRIDE; 97 base::i18n::TextDirection title_direction) OVERRIDE;
98 virtual content::RendererPreferences GetRendererPrefs( 98 virtual content::RendererPreferences GetRendererPrefs(
99 content::BrowserContext* browser_context) const OVERRIDE; 99 content::BrowserContext* browser_context) const OVERRIDE;
100 virtual webkit_glue::WebPreferences GetWebkitPrefs() OVERRIDE; 100 virtual webkit_glue::WebPreferences GetWebkitPrefs() OVERRIDE;
101 virtual content::ViewType GetRenderViewType() const OVERRIDE;
102 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; 101 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE;
103 102
104 // RenderWidgetHostDelegate implementation: 103 // RenderWidgetHostDelegate implementation:
105 virtual bool PreHandleKeyboardEvent( 104 virtual bool PreHandleKeyboardEvent(
106 const content::NativeWebKeyboardEvent& event, 105 const content::NativeWebKeyboardEvent& event,
107 bool* is_keyboard_shortcut) OVERRIDE; 106 bool* is_keyboard_shortcut) OVERRIDE;
108 virtual void HandleKeyboardEvent( 107 virtual void HandleKeyboardEvent(
109 const content::NativeWebKeyboardEvent& event) OVERRIDE; 108 const content::NativeWebKeyboardEvent& event) OVERRIDE;
110 109
111 bool enabled() const { return enabled_; } 110 bool enabled() const { return enabled_; }
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 mutable content::RendererPreferences renderer_preferences_; 193 mutable content::RendererPreferences renderer_preferences_;
195 194
196 bool create_view_; 195 bool create_view_;
197 196
198 scoped_ptr<content::InterstitialPageDelegate> delegate_; 197 scoped_ptr<content::InterstitialPageDelegate> delegate_;
199 198
200 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); 199 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl);
201 }; 200 };
202 201
203 #endif // CONTENT_BROWSER_WEB_CONTENTS_INTERSTITIAL_PAGE_IMPL_H_ 202 #endif // CONTENT_BROWSER_WEB_CONTENTS_INTERSTITIAL_PAGE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698