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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_base.h

Issue 889403004: Rename initial_pos to initial_rect in ShowWidget and ShowView IPCs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 10 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
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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
7 7
8 #if defined(OS_MACOSX) 8 #if defined(OS_MACOSX)
9 #include <OpenGL/OpenGL.h> 9 #include <OpenGL/OpenGL.h>
10 #endif 10 #endif
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 // The following static methods are implemented by each platform. 186 // The following static methods are implemented by each platform.
187 187
188 static void GetDefaultScreenInfo(blink::WebScreenInfo* results); 188 static void GetDefaultScreenInfo(blink::WebScreenInfo* results);
189 189
190 //---------------------------------------------------------------------------- 190 //----------------------------------------------------------------------------
191 // The following pure virtual methods are implemented by derived classes. 191 // The following pure virtual methods are implemented by derived classes.
192 192
193 // Perform all the initialization steps necessary for this object to represent 193 // Perform all the initialization steps necessary for this object to represent
194 // a popup (such as a <select> dropdown), then shows the popup at |pos|. 194 // a popup (such as a <select> dropdown), then shows the popup at |pos|.
195 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, 195 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view,
196 const gfx::Rect& pos) = 0; 196 const gfx::Rect& bounds) = 0;
197 197
198 // Perform all the initialization steps necessary for this object to represent 198 // Perform all the initialization steps necessary for this object to represent
199 // a full screen window. 199 // a full screen window.
200 // |reference_host_view| is the view associated with the creating page that 200 // |reference_host_view| is the view associated with the creating page that
201 // helps to position the full screen widget on the correct monitor. 201 // helps to position the full screen widget on the correct monitor.
202 virtual void InitAsFullscreen(RenderWidgetHostView* reference_host_view) = 0; 202 virtual void InitAsFullscreen(RenderWidgetHostView* reference_host_view) = 0;
203 203
204 // Moves all plugin windows as described in the given list. 204 // Moves all plugin windows as described in the given list.
205 // |scroll_offset| is the scroll offset of the render view. 205 // |scroll_offset| is the scroll offset of the render view.
206 virtual void MovePluginWindows( 206 virtual void MovePluginWindows(
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; 419 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_;
420 420
421 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; 421 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_;
422 422
423 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 423 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
424 }; 424 };
425 425
426 } // namespace content 426 } // namespace content
427 427
428 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 428 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/browser/web_contents/web_contents_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698