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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_aura.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 (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 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 virtual gfx::NativeView GetNativeView() const OVERRIDE; 136 virtual gfx::NativeView GetNativeView() const OVERRIDE;
137 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; 137 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE;
138 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; 138 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE;
139 virtual ui::TextInputClient* GetTextInputClient() OVERRIDE; 139 virtual ui::TextInputClient* GetTextInputClient() OVERRIDE;
140 virtual bool HasFocus() const OVERRIDE; 140 virtual bool HasFocus() const OVERRIDE;
141 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE; 141 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE;
142 virtual void Show() OVERRIDE; 142 virtual void Show() OVERRIDE;
143 virtual void Hide() OVERRIDE; 143 virtual void Hide() OVERRIDE;
144 virtual bool IsShowing() OVERRIDE; 144 virtual bool IsShowing() OVERRIDE;
145 virtual gfx::Rect GetViewBounds() const OVERRIDE; 145 virtual gfx::Rect GetViewBounds() const OVERRIDE;
146 virtual void SetBackground(const SkBitmap& background) OVERRIDE; 146 virtual void SetBackgroundOpaque(bool opaque) OVERRIDE;
147 virtual gfx::Size GetVisibleViewportSize() const OVERRIDE; 147 virtual gfx::Size GetVisibleViewportSize() const OVERRIDE;
148 virtual void SetInsets(const gfx::Insets& insets) OVERRIDE; 148 virtual void SetInsets(const gfx::Insets& insets) OVERRIDE;
149 149
150 // Overridden from RenderWidgetHostViewBase: 150 // Overridden from RenderWidgetHostViewBase:
151 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, 151 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view,
152 const gfx::Rect& pos) OVERRIDE; 152 const gfx::Rect& pos) OVERRIDE;
153 virtual void InitAsFullscreen( 153 virtual void InitAsFullscreen(
154 RenderWidgetHostView* reference_host_view) OVERRIDE; 154 RenderWidgetHostView* reference_host_view) OVERRIDE;
155 virtual void WasShown() OVERRIDE; 155 virtual void WasShown() OVERRIDE;
156 virtual void WasHidden() OVERRIDE; 156 virtual void WasHidden() OVERRIDE;
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 // etc. 563 // etc.
564 scoped_ptr<content::LegacyRenderWidgetHostHWND> 564 scoped_ptr<content::LegacyRenderWidgetHostHWND>
565 legacy_render_widget_host_HWND_; 565 legacy_render_widget_host_HWND_;
566 #endif 566 #endif
567 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 567 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
568 }; 568 };
569 569
570 } // namespace content 570 } // namespace content
571 571
572 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 572 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698