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

Side by Side Diff: content/browser/web_contents/web_contents_view_guest.cc

Issue 11418244: Order the GL overlays above windows if possible. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: oops, null check 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 | Annotate | Revision Log
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 "content/browser/web_contents/web_contents_view_guest.h" 5 #include "content/browser/web_contents/web_contents_view_guest.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #include "content/browser/renderer_host/render_view_host_factory.h" 8 #include "content/browser/renderer_host/render_view_host_factory.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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 web_contents_->SetFocusToLocationBar(false); 89 web_contents_->SetFocusToLocationBar(false);
90 else 90 else
91 Focus(); 91 Focus();
92 } 92 }
93 93
94 gfx::Rect WebContentsViewGuest::GetViewBounds() const { 94 gfx::Rect WebContentsViewGuest::GetViewBounds() const {
95 gfx::Rect rect(0, 0, requested_size_.width(), requested_size_.height()); 95 gfx::Rect rect(0, 0, requested_size_.width(), requested_size_.height());
96 return rect; 96 return rect;
97 } 97 }
98 98
99 #if defined(OS_MACOSX)
100 void WebContentsViewGuest::SetAllowOverlappingViews(bool overlapping) {
101 NOTIMPLEMENTED();
102 }
103 #endif
104
99 WebContents* WebContentsViewGuest::web_contents() { 105 WebContents* WebContentsViewGuest::web_contents() {
100 return web_contents_; 106 return web_contents_;
101 } 107 }
102 108
103 void WebContentsViewGuest::RenderViewCreated(RenderViewHost* host) { 109 void WebContentsViewGuest::RenderViewCreated(RenderViewHost* host) {
104 } 110 }
105 111
106 bool WebContentsViewGuest::IsEventTracking() const { 112 bool WebContentsViewGuest::IsEventTracking() const {
107 return false; 113 return false;
108 } 114 }
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 void WebContentsViewGuest::StartDragging( 175 void WebContentsViewGuest::StartDragging(
170 const WebDropData& drop_data, 176 const WebDropData& drop_data,
171 WebDragOperationsMask ops, 177 WebDragOperationsMask ops,
172 const gfx::ImageSkia& image, 178 const gfx::ImageSkia& image,
173 const gfx::Vector2d& image_offset, 179 const gfx::Vector2d& image_offset,
174 const DragEventSourceInfo& event_info) { 180 const DragEventSourceInfo& event_info) {
175 NOTIMPLEMENTED(); 181 NOTIMPLEMENTED();
176 } 182 }
177 183
178 } // namespace content 184 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_view_guest.h ('k') | content/browser/web_contents/web_contents_view_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698