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

Side by Side Diff: content/renderer/render_view_impl.h

Issue 2506183002: Make window.open() IPCs be frame-based (Closed)
Patch Set: Rebase. Created 3 years, 11 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 | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_view_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 (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_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 void SendUpdateState(); 224 void SendUpdateState();
225 225
226 // A popup widget opened by this view needs to be shown. 226 // A popup widget opened by this view needs to be shown.
227 void ShowCreatedPopupWidget(RenderWidget* popup_widget, 227 void ShowCreatedPopupWidget(RenderWidget* popup_widget,
228 blink::WebNavigationPolicy policy, 228 blink::WebNavigationPolicy policy,
229 const gfx::Rect& initial_rect); 229 const gfx::Rect& initial_rect);
230 // A RenderWidgetFullscreen widget opened by this view needs to be shown. 230 // A RenderWidgetFullscreen widget opened by this view needs to be shown.
231 void ShowCreatedFullscreenWidget(RenderWidget* fullscreen_widget, 231 void ShowCreatedFullscreenWidget(RenderWidget* fullscreen_widget,
232 blink::WebNavigationPolicy policy, 232 blink::WebNavigationPolicy policy,
233 const gfx::Rect& initial_rect); 233 const gfx::Rect& initial_rect);
234 // A RenderView widget opened by this view needs to be shown.
235 void ShowCreatedViewWidget(bool opened_by_user_gesture,
236 RenderWidget* render_view,
237 blink::WebNavigationPolicy policy,
238 const gfx::Rect& initial_rect);
239 234
240 // Returns the length of the session history of this RenderView. Note that 235 // Returns the length of the session history of this RenderView. Note that
241 // this only coincides with the actual length of the session history if this 236 // this only coincides with the actual length of the session history if this
242 // RenderView is the currently active RenderView of a WebContents. 237 // RenderView is the currently active RenderView of a WebContents.
243 unsigned GetLocalSessionHistoryLengthForTesting() const; 238 unsigned GetLocalSessionHistoryLengthForTesting() const;
244 239
245 // Invokes OnSetFocus and marks the widget as active depending on the value 240 // Invokes OnSetFocus and marks the widget as active depending on the value
246 // of |enable|. This is used for layout tests that need to control the focus 241 // of |enable|. This is used for layout tests that need to control the focus
247 // synchronously from the renderer. 242 // synchronously from the renderer.
248 void SetFocusAndActivateForTesting(bool enable); 243 void SetFocusAndActivateForTesting(bool enable);
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after
848 // use the Observer interface to filter IPC messages and receive frame change 843 // use the Observer interface to filter IPC messages and receive frame change
849 // notifications. 844 // notifications.
850 // --------------------------------------------------------------------------- 845 // ---------------------------------------------------------------------------
851 846
852 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 847 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
853 }; 848 };
854 849
855 } // namespace content 850 } // namespace content
856 851
857 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 852 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698