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

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

Issue 274453002: Remove RenderWidget::SetBackground, change IPC to pass a bool. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm-setbackground: nomac Created 6 years, 7 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 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 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "content/browser/renderer_host/render_widget_host_view_base.h" 9 #include "content/browser/renderer_host/render_widget_host_view_base.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 virtual void Focus() OVERRIDE; 43 virtual void Focus() OVERRIDE;
44 virtual bool HasFocus() const OVERRIDE; 44 virtual bool HasFocus() const OVERRIDE;
45 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE; 45 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE;
46 virtual void Show() OVERRIDE; 46 virtual void Show() OVERRIDE;
47 virtual void Hide() OVERRIDE; 47 virtual void Hide() OVERRIDE;
48 virtual bool IsShowing() OVERRIDE; 48 virtual bool IsShowing() OVERRIDE;
49 virtual gfx::Rect GetViewBounds() const OVERRIDE; 49 virtual gfx::Rect GetViewBounds() const OVERRIDE;
50 virtual gfx::NativeView GetNativeView() const OVERRIDE; 50 virtual gfx::NativeView GetNativeView() const OVERRIDE;
51 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; 51 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE;
52 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; 52 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE;
53 virtual void SetBackground(const SkBitmap& background) OVERRIDE; 53 virtual void SetBackgroundOpaque(bool opaque) OVERRIDE;
54 virtual gfx::Size GetPhysicalBackingSize() const OVERRIDE; 54 virtual gfx::Size GetPhysicalBackingSize() const OVERRIDE;
55 55
56 // RenderWidgetHostViewBase implementation. 56 // RenderWidgetHostViewBase implementation.
57 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, 57 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view,
58 const gfx::Rect& pos) OVERRIDE; 58 const gfx::Rect& pos) OVERRIDE;
59 virtual void InitAsFullscreen( 59 virtual void InitAsFullscreen(
60 RenderWidgetHostView* reference_host_view) OVERRIDE; 60 RenderWidgetHostView* reference_host_view) OVERRIDE;
61 virtual void WasShown() OVERRIDE; 61 virtual void WasShown() OVERRIDE;
62 virtual void WasHidden() OVERRIDE; 62 virtual void WasHidden() OVERRIDE;
63 virtual void MovePluginWindows( 63 virtual void MovePluginWindows(
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 // sent through it are routed to the embedding renderer process. 168 // sent through it are routed to the embedding renderer process.
169 CrossProcessFrameConnector* frame_connector_; 169 CrossProcessFrameConnector* frame_connector_;
170 170
171 private: 171 private:
172 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); 172 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame);
173 }; 173 };
174 174
175 } // namespace content 175 } // namespace content
176 176
177 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 177 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698