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 "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 SessionStorageNamespace* GetSessionStorageNamespace( | 149 SessionStorageNamespace* GetSessionStorageNamespace( |
150 SiteInstance* instance) override; | 150 SiteInstance* instance) override; |
151 | 151 |
152 FrameTree* GetFrameTree() override; | 152 FrameTree* GetFrameTree() override; |
153 | 153 |
154 // RenderWidgetHostDelegate implementation: | 154 // RenderWidgetHostDelegate implementation: |
155 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; | 155 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; |
156 bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 156 bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
157 bool* is_keyboard_shortcut) override; | 157 bool* is_keyboard_shortcut) override; |
158 void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) override; | 158 void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) override; |
159 #if defined(OS_WIN) | |
160 gfx::NativeViewAccessible GetParentNativeViewAccessible() override; | |
161 #endif | |
162 | 159 |
163 bool enabled() const { return enabled_; } | 160 bool enabled() const { return enabled_; } |
164 WebContents* web_contents() const; | 161 WebContents* web_contents() const; |
165 const GURL& url() const { return url_; } | 162 const GURL& url() const { return url_; } |
166 | 163 |
167 // Creates the WebContentsView that shows the interstitial RVH. | 164 // Creates the WebContentsView that shows the interstitial RVH. |
168 // Overriden in unit tests. | 165 // Overriden in unit tests. |
169 virtual WebContentsView* CreateWebContentsView(); | 166 virtual WebContentsView* CreateWebContentsView(); |
170 | 167 |
171 // Notification magic. | 168 // Notification magic. |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; | 296 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; |
300 | 297 |
301 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; | 298 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; |
302 | 299 |
303 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); | 300 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); |
304 }; | 301 }; |
305 | 302 |
306 } // namespace content | 303 } // namespace content |
307 | 304 |
308 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ | 305 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ |
OLD | NEW |