| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ |
| 6 #define CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 FrameTree* GetFrameTree() override; | 158 FrameTree* GetFrameTree() override; |
| 159 | 159 |
| 160 // RenderWidgetHostDelegate implementation: | 160 // RenderWidgetHostDelegate implementation: |
| 161 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; | 161 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; |
| 162 KeyboardEventProcessingResult PreHandleKeyboardEvent( | 162 KeyboardEventProcessingResult PreHandleKeyboardEvent( |
| 163 const NativeWebKeyboardEvent& event) override; | 163 const NativeWebKeyboardEvent& event) override; |
| 164 void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) override; | 164 void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) override; |
| 165 TextInputManager* GetTextInputManager() override; | 165 TextInputManager* GetTextInputManager() override; |
| 166 void GetScreenInfo(content::ScreenInfo* screen_info) override; | 166 void GetScreenInfo(content::ScreenInfo* screen_info) override; |
| 167 void UpdateDeviceScaleFactor(double device_scale_factor) override; | 167 void UpdateDeviceScaleFactor(double device_scale_factor) override; |
| 168 RenderWidgetHostInputEventRouter* GetInputEventRouter() override; |
| 168 | 169 |
| 169 bool enabled() const { return enabled_; } | 170 bool enabled() const { return enabled_; } |
| 170 WebContents* web_contents() const; | 171 WebContents* web_contents() const; |
| 171 const GURL& url() const { return url_; } | 172 const GURL& url() const { return url_; } |
| 172 | 173 |
| 173 // Creates the WebContentsView that shows the interstitial RVH. | 174 // Creates the WebContentsView that shows the interstitial RVH. |
| 174 // Overriden in unit tests. | 175 // Overriden in unit tests. |
| 175 virtual WebContentsView* CreateWebContentsView(); | 176 virtual WebContentsView* CreateWebContentsView(); |
| 176 | 177 |
| 177 // Notification magic. | 178 // Notification magic. |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; | 301 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; |
| 301 | 302 |
| 302 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; | 303 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; |
| 303 | 304 |
| 304 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); | 305 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); |
| 305 }; | 306 }; |
| 306 | 307 |
| 307 } // namespace content | 308 } // namespace content |
| 308 | 309 |
| 309 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ | 310 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ |
| OLD | NEW |