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

Side by Side Diff: content/browser/frame_host/render_widget_host_view_guest.cc

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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "base/bind_helpers.h" 5 #include "base/bind_helpers.h"
6 #include "base/command_line.h" 6 #include "base/command_line.h"
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "content/browser/browser_plugin/browser_plugin_guest.h" 9 #include "content/browser/browser_plugin/browser_plugin_guest.h"
10 #include "content/browser/frame_host/render_widget_host_view_guest.h" 10 #include "content/browser/frame_host/render_widget_host_view_guest.h"
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 bool RenderWidgetHostViewGuest::OnMessageReceived(const IPC::Message& msg) { 211 bool RenderWidgetHostViewGuest::OnMessageReceived(const IPC::Message& msg) {
212 return platform_view_->OnMessageReceived(msg); 212 return platform_view_->OnMessageReceived(msg);
213 } 213 }
214 214
215 void RenderWidgetHostViewGuest::InitAsChild( 215 void RenderWidgetHostViewGuest::InitAsChild(
216 gfx::NativeView parent_view) { 216 gfx::NativeView parent_view) {
217 platform_view_->InitAsChild(parent_view); 217 platform_view_->InitAsChild(parent_view);
218 } 218 }
219 219
220 void RenderWidgetHostViewGuest::InitAsPopup( 220 void RenderWidgetHostViewGuest::InitAsPopup(
221 RenderWidgetHostView* parent_host_view, const gfx::Rect& pos) { 221 RenderWidgetHostView* parent_host_view, const gfx::Rect& bounds) {
222 // This should never get called. 222 // This should never get called.
223 NOTREACHED(); 223 NOTREACHED();
224 } 224 }
225 225
226 void RenderWidgetHostViewGuest::InitAsFullscreen( 226 void RenderWidgetHostViewGuest::InitAsFullscreen(
227 RenderWidgetHostView* reference_host_view) { 227 RenderWidgetHostView* reference_host_view) {
228 // This should never get called. 228 // This should never get called.
229 NOTREACHED(); 229 NOTREACHED();
230 } 230 }
231 231
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 } 585 }
586 586
587 if (blink::WebInputEvent::isGestureEventType(event->type)) { 587 if (blink::WebInputEvent::isGestureEventType(event->type)) {
588 host_->ForwardGestureEvent( 588 host_->ForwardGestureEvent(
589 *static_cast<const blink::WebGestureEvent*>(event)); 589 *static_cast<const blink::WebGestureEvent*>(event));
590 return; 590 return;
591 } 591 }
592 } 592 }
593 593
594 } // namespace content 594 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_widget_host_view_guest.h ('k') | content/browser/renderer_host/render_view_host_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698