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

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

Issue 1948343002: [reland] Browser Side Text Input State Tracking for OOPIF (Aura Only) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase (Code changed during CQ Dry-run) Created 4 years, 6 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
« no previous file with comments | « chrome/test/BUILD.gn ('k') | content/browser/frame_host/interstitial_page_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 12 matching lines...) Expand all
23 #include "content/public/browser/notification_registrar.h" 23 #include "content/public/browser/notification_registrar.h"
24 #include "content/public/browser/web_contents_observer.h" 24 #include "content/public/browser/web_contents_observer.h"
25 #include "content/public/common/renderer_preferences.h" 25 #include "content/public/common/renderer_preferences.h"
26 #include "url/gurl.h" 26 #include "url/gurl.h"
27 27
28 namespace content { 28 namespace content {
29 class NavigationEntry; 29 class NavigationEntry;
30 class NavigationControllerImpl; 30 class NavigationControllerImpl;
31 class RenderViewHostImpl; 31 class RenderViewHostImpl;
32 class RenderWidgetHostView; 32 class RenderWidgetHostView;
33 class TextInputManager;
33 class WebContentsView; 34 class WebContentsView;
34 35
35 enum ResourceRequestAction { 36 enum ResourceRequestAction {
36 BLOCK, 37 BLOCK,
37 RESUME, 38 RESUME,
38 CANCEL 39 CANCEL
39 }; 40 };
40 41
41 class CONTENT_EXPORT InterstitialPageImpl 42 class CONTENT_EXPORT InterstitialPageImpl
42 : public NON_EXPORTED_BASE(InterstitialPage), 43 : public NON_EXPORTED_BASE(InterstitialPage),
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 SessionStorageNamespace* GetSessionStorageNamespace( 154 SessionStorageNamespace* GetSessionStorageNamespace(
154 SiteInstance* instance) override; 155 SiteInstance* instance) override;
155 156
156 FrameTree* GetFrameTree() override; 157 FrameTree* GetFrameTree() override;
157 158
158 // RenderWidgetHostDelegate implementation: 159 // RenderWidgetHostDelegate implementation:
159 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; 160 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override;
160 bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, 161 bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
161 bool* is_keyboard_shortcut) override; 162 bool* is_keyboard_shortcut) override;
162 void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) override; 163 void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) override;
164 TextInputManager* GetTextInputManager() override;
163 165
164 bool enabled() const { return enabled_; } 166 bool enabled() const { return enabled_; }
165 WebContents* web_contents() const; 167 WebContents* web_contents() const;
166 const GURL& url() const { return url_; } 168 const GURL& url() const { return url_; }
167 169
168 // Creates the WebContentsView that shows the interstitial RVH. 170 // Creates the WebContentsView that shows the interstitial RVH.
169 // Overriden in unit tests. 171 // Overriden in unit tests.
170 virtual WebContentsView* CreateWebContentsView(); 172 virtual WebContentsView* CreateWebContentsView();
171 173
172 // Notification magic. 174 // Notification magic.
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; 302 scoped_refptr<SessionStorageNamespace> session_storage_namespace_;
301 303
302 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; 304 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_;
303 305
304 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); 306 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl);
305 }; 307 };
306 308
307 } // namespace content 309 } // namespace content
308 310
309 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ 311 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/test/BUILD.gn ('k') | content/browser/frame_host/interstitial_page_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698