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

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

Issue 654123004: Revert of Sets the default background color of inline signin and user manager to grey (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
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 "content/browser/frame_host/render_widget_host_view_child_frame.h" 5 #include "content/browser/frame_host/render_widget_host_view_child_frame.h"
6 6
7 #include "content/browser/accessibility/browser_accessibility_manager.h" 7 #include "content/browser/accessibility/browser_accessibility_manager.h"
8 #include "content/browser/frame_host/cross_process_frame_connector.h" 8 #include "content/browser/frame_host/cross_process_frame_connector.h"
9 #include "content/browser/renderer_host/render_widget_host_impl.h" 9 #include "content/browser/renderer_host/render_widget_host_impl.h"
10 #include "content/common/gpu/gpu_messages.h" 10 #include "content/common/gpu/gpu_messages.h"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 NOTREACHED(); 84 NOTREACHED();
85 return 0; 85 return 0;
86 } 86 }
87 87
88 gfx::NativeViewAccessible 88 gfx::NativeViewAccessible
89 RenderWidgetHostViewChildFrame::GetNativeViewAccessible() { 89 RenderWidgetHostViewChildFrame::GetNativeViewAccessible() {
90 NOTREACHED(); 90 NOTREACHED();
91 return NULL; 91 return NULL;
92 } 92 }
93 93
94 void RenderWidgetHostViewChildFrame::SetBackgroundColor(SkColor color) { 94 void RenderWidgetHostViewChildFrame::SetBackgroundOpaque(bool opaque) {
95 } 95 }
96 96
97 gfx::Size RenderWidgetHostViewChildFrame::GetPhysicalBackingSize() const { 97 gfx::Size RenderWidgetHostViewChildFrame::GetPhysicalBackingSize() const {
98 gfx::Size size; 98 gfx::Size size;
99 if (frame_connector_) 99 if (frame_connector_)
100 size = frame_connector_->ChildFrameRect().size(); 100 size = frame_connector_->ChildFrameRect().size();
101 return size; 101 return size;
102 } 102 }
103 103
104 void RenderWidgetHostViewChildFrame::InitAsPopup( 104 void RenderWidgetHostViewChildFrame::InitAsPopup(
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 } 312 }
313 313
314 BrowserAccessibilityManager* 314 BrowserAccessibilityManager*
315 RenderWidgetHostViewChildFrame::CreateBrowserAccessibilityManager( 315 RenderWidgetHostViewChildFrame::CreateBrowserAccessibilityManager(
316 BrowserAccessibilityDelegate* delegate) { 316 BrowserAccessibilityDelegate* delegate) {
317 return BrowserAccessibilityManager::Create( 317 return BrowserAccessibilityManager::Create(
318 BrowserAccessibilityManager::GetEmptyDocument(), delegate); 318 BrowserAccessibilityManager::GetEmptyDocument(), delegate);
319 } 319 }
320 320
321 } // namespace content 321 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698