| OLD | NEW |
| 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 int error_code) OVERRIDE; | 88 int error_code) OVERRIDE; |
| 89 virtual void DidNavigate( | 89 virtual void DidNavigate( |
| 90 content::RenderViewHost* render_view_host, | 90 content::RenderViewHost* render_view_host, |
| 91 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; | 91 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; |
| 92 virtual void UpdateTitle(content::RenderViewHost* render_view_host, | 92 virtual void UpdateTitle(content::RenderViewHost* render_view_host, |
| 93 int32 page_id, | 93 int32 page_id, |
| 94 const string16& title, | 94 const string16& title, |
| 95 base::i18n::TextDirection title_direction) OVERRIDE; | 95 base::i18n::TextDirection title_direction) OVERRIDE; |
| 96 virtual content::RendererPreferences GetRendererPrefs( | 96 virtual content::RendererPreferences GetRendererPrefs( |
| 97 content::BrowserContext* browser_context) const OVERRIDE; | 97 content::BrowserContext* browser_context) const OVERRIDE; |
| 98 virtual WebPreferences GetWebkitPrefs() OVERRIDE; | 98 virtual webkit_glue::WebPreferences GetWebkitPrefs() OVERRIDE; |
| 99 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 99 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
| 100 bool* is_keyboard_shortcut) OVERRIDE; | 100 bool* is_keyboard_shortcut) OVERRIDE; |
| 101 virtual void HandleKeyboardEvent( | 101 virtual void HandleKeyboardEvent( |
| 102 const NativeWebKeyboardEvent& event) OVERRIDE; | 102 const NativeWebKeyboardEvent& event) OVERRIDE; |
| 103 virtual content::ViewType GetRenderViewType() const OVERRIDE; | 103 virtual content::ViewType GetRenderViewType() const OVERRIDE; |
| 104 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; | 104 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; |
| 105 | 105 |
| 106 bool enabled() const { return enabled_; } | 106 bool enabled() const { return enabled_; } |
| 107 content::WebContents* web_contents() const; | 107 content::WebContents* web_contents() const; |
| 108 const GURL& url() const { return url_; } | 108 const GURL& url() const { return url_; } |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 mutable content::RendererPreferences renderer_preferences_; | 189 mutable content::RendererPreferences renderer_preferences_; |
| 190 | 190 |
| 191 bool create_view_; | 191 bool create_view_; |
| 192 | 192 |
| 193 scoped_ptr<content::InterstitialPageDelegate> delegate_; | 193 scoped_ptr<content::InterstitialPageDelegate> delegate_; |
| 194 | 194 |
| 195 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); | 195 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); |
| 196 }; | 196 }; |
| 197 | 197 |
| 198 #endif // CONTENT_BROWSER_WEB_CONTENTS_INTERSTITIAL_PAGE_IMPL_H_ | 198 #endif // CONTENT_BROWSER_WEB_CONTENTS_INTERSTITIAL_PAGE_IMPL_H_ |
| OLD | NEW |