| 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 const gfx::Rect& initial_rect) override; | 152 const gfx::Rect& initial_rect) override; |
| 153 void ShowCreatedFullscreenWidget(int process_id, int route_id) override; | 153 void ShowCreatedFullscreenWidget(int process_id, int route_id) override; |
| 154 | 154 |
| 155 SessionStorageNamespace* GetSessionStorageNamespace( | 155 SessionStorageNamespace* GetSessionStorageNamespace( |
| 156 SiteInstance* instance) override; | 156 SiteInstance* instance) override; |
| 157 | 157 |
| 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 bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 162 KeyboardEventProcessingResult PreHandleKeyboardEvent( |
| 163 bool* is_keyboard_shortcut) 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 | 168 |
| 169 bool enabled() const { return enabled_; } | 169 bool enabled() const { return enabled_; } |
| 170 WebContents* web_contents() const; | 170 WebContents* web_contents() const; |
| 171 const GURL& url() const { return url_; } | 171 const GURL& url() const { return url_; } |
| 172 | 172 |
| 173 // Creates the WebContentsView that shows the interstitial RVH. | 173 // Creates the WebContentsView that shows the interstitial RVH. |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; | 300 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; |
| 301 | 301 |
| 302 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; | 302 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; |
| 303 | 303 |
| 304 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); | 304 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); |
| 305 }; | 305 }; |
| 306 | 306 |
| 307 } // namespace content | 307 } // namespace content |
| 308 | 308 |
| 309 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ | 309 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ |
| OLD | NEW |