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

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

Issue 11498008: RenderWidget popup should be a NSWindow so it can go outside the main window. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years 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 #include "base/bind_helpers.h" 5 #include "base/bind_helpers.h"
6 #include "base/logging.h" 6 #include "base/logging.h"
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "content/browser/browser_plugin/browser_plugin_guest.h" 8 #include "content/browser/browser_plugin/browser_plugin_guest.h"
9 #include "content/browser/renderer_host/render_view_host_impl.h" 9 #include "content/browser/renderer_host/render_view_host_impl.h"
10 #include "content/browser/renderer_host/render_widget_host_view_guest.h" 10 #include "content/browser/renderer_host/render_widget_host_view_guest.h"
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 void RenderWidgetHostViewGuest::SetBounds(const gfx::Rect& rect) { 100 void RenderWidgetHostViewGuest::SetBounds(const gfx::Rect& rect) {
101 SetSize(rect.size()); 101 SetSize(rect.size());
102 } 102 }
103 103
104 void RenderWidgetHostViewGuest::InitAsChild( 104 void RenderWidgetHostViewGuest::InitAsChild(
105 gfx::NativeView parent_view) { 105 gfx::NativeView parent_view) {
106 NOTIMPLEMENTED(); 106 NOTIMPLEMENTED();
107 } 107 }
108 108
109 void RenderWidgetHostViewGuest::InitAsPopup( 109 void RenderWidgetHostViewGuest::InitAsPopup(
110 RenderWidgetHostView* parent_host_view, const gfx::Rect& pos) { 110 RenderWidgetHostView* parent_host_view, const gfx::Rect& pos,
111 WebContentsViewDelegate*) {
111 NOTIMPLEMENTED(); 112 NOTIMPLEMENTED();
112 } 113 }
113 114
114 void RenderWidgetHostViewGuest::InitAsFullscreen( 115 void RenderWidgetHostViewGuest::InitAsFullscreen(
115 RenderWidgetHostView* reference_host_view) { 116 RenderWidgetHostView* reference_host_view) {
116 NOTIMPLEMENTED(); 117 NOTIMPLEMENTED();
117 } 118 }
118 119
119 gfx::NativeView RenderWidgetHostViewGuest::GetNativeView() const { 120 gfx::NativeView RenderWidgetHostViewGuest::GetNativeView() const {
120 NOTIMPLEMENTED(); 121 NOTIMPLEMENTED();
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 } 401 }
401 #endif 402 #endif
402 403
403 #if defined(OS_POSIX) || defined(USE_AURA) 404 #if defined(OS_POSIX) || defined(USE_AURA)
404 void RenderWidgetHostViewGuest::GetScreenInfo(WebKit::WebScreenInfo* results) { 405 void RenderWidgetHostViewGuest::GetScreenInfo(WebKit::WebScreenInfo* results) {
405 NOTIMPLEMENTED(); 406 NOTIMPLEMENTED();
406 } 407 }
407 #endif // defined(OS_POSIX) || defined(USE_AURA) 408 #endif // defined(OS_POSIX) || defined(USE_AURA)
408 409
409 } // namespace content 410 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698