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

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

Issue 8369006: [Aura] Support transparent webkit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/renderer_host/render_widget_host_view_aura.h" 5 #include "content/browser/renderer_host/render_widget_host_view_aura.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "content/browser/renderer_host/backing_store_skia.h" 8 #include "content/browser/renderer_host/backing_store_skia.h"
9 #include "content/browser/renderer_host/web_input_event_aura.h" 9 #include "content/browser/renderer_host/web_input_event_aura.h"
10 #include "content/browser/renderer_host/render_widget_host.h" 10 #include "content/browser/renderer_host/render_widget_host.h"
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 } 230 }
231 231
232 void RenderWidgetHostViewAura::AcceleratedSurfaceRelease(uint64 surface_id) { 232 void RenderWidgetHostViewAura::AcceleratedSurfaceRelease(uint64 surface_id) {
233 accelerated_surface_containers_.erase(surface_id); 233 accelerated_surface_containers_.erase(surface_id);
234 } 234 }
235 #endif 235 #endif
236 236
237 void RenderWidgetHostViewAura::SetBackground(const SkBitmap& background) { 237 void RenderWidgetHostViewAura::SetBackground(const SkBitmap& background) {
238 RenderWidgetHostView::SetBackground(background); 238 RenderWidgetHostView::SetBackground(background);
239 host_->SetBackground(background); 239 host_->SetBackground(background);
240 window_->layer()->SetFillsBoundsOpaquely(background.isOpaque());
240 } 241 }
241 242
242 #if defined(OS_POSIX) 243 #if defined(OS_POSIX)
243 void RenderWidgetHostViewAura::GetDefaultScreenInfo( 244 void RenderWidgetHostViewAura::GetDefaultScreenInfo(
244 WebKit::WebScreenInfo* results) { 245 WebKit::WebScreenInfo* results) {
245 NOTIMPLEMENTED(); 246 NOTIMPLEMENTED();
246 } 247 }
247 248
248 void RenderWidgetHostViewAura::GetScreenInfo(WebKit::WebScreenInfo* results) { 249 void RenderWidgetHostViewAura::GetScreenInfo(WebKit::WebScreenInfo* results) {
249 NOTIMPLEMENTED(); 250 NOTIMPLEMENTED();
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 416
416 #if !defined(TOUCH_UI) 417 #if !defined(TOUCH_UI)
417 //////////////////////////////////////////////////////////////////////////////// 418 ////////////////////////////////////////////////////////////////////////////////
418 // RenderWidgetHostViewAura, private: 419 // RenderWidgetHostViewAura, private:
419 420
420 void RenderWidgetHostViewAura::UpdateCursorIfOverSelf() { 421 void RenderWidgetHostViewAura::UpdateCursorIfOverSelf() {
421 //NOTIMPLEMENTED(); 422 //NOTIMPLEMENTED();
422 // TODO(beng): See RenderWidgetHostViewWin. 423 // TODO(beng): See RenderWidgetHostViewWin.
423 } 424 }
424 #endif 425 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698