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

Side by Side Diff: content/browser/web_contents/web_contents_view_aura.h

Issue 647613002: Fix RenderWidgetHostViewGuest leak. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bring back mac delegate() 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 (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_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 virtual void SizeContents(const gfx::Size& size) override; 110 virtual void SizeContents(const gfx::Size& size) override;
111 virtual void Focus() override; 111 virtual void Focus() override;
112 virtual void SetInitialFocus() override; 112 virtual void SetInitialFocus() override;
113 virtual void StoreFocus() override; 113 virtual void StoreFocus() override;
114 virtual void RestoreFocus() override; 114 virtual void RestoreFocus() override;
115 virtual DropData* GetDropData() const override; 115 virtual DropData* GetDropData() const override;
116 virtual gfx::Rect GetViewBounds() const override; 116 virtual gfx::Rect GetViewBounds() const override;
117 virtual void CreateView( 117 virtual void CreateView(
118 const gfx::Size& initial_size, gfx::NativeView context) override; 118 const gfx::Size& initial_size, gfx::NativeView context) override;
119 virtual RenderWidgetHostViewBase* CreateViewForWidget( 119 virtual RenderWidgetHostViewBase* CreateViewForWidget(
120 RenderWidgetHost* render_widget_host) override; 120 RenderWidgetHost* render_widget_host, bool is_guest_view_hack) override;
121 virtual RenderWidgetHostViewBase* CreateViewForPopupWidget( 121 virtual RenderWidgetHostViewBase* CreateViewForPopupWidget(
122 RenderWidgetHost* render_widget_host) override; 122 RenderWidgetHost* render_widget_host) override;
123 virtual void SetPageTitle(const base::string16& title) override; 123 virtual void SetPageTitle(const base::string16& title) override;
124 virtual void RenderViewCreated(RenderViewHost* host) override; 124 virtual void RenderViewCreated(RenderViewHost* host) override;
125 virtual void RenderViewSwappedIn(RenderViewHost* host) override; 125 virtual void RenderViewSwappedIn(RenderViewHost* host) override;
126 virtual void SetOverscrollControllerEnabled(bool enabled) override; 126 virtual void SetOverscrollControllerEnabled(bool enabled) override;
127 127
128 // Overridden from RenderViewHostDelegateView: 128 // Overridden from RenderViewHostDelegateView:
129 virtual void ShowContextMenu(RenderFrameHost* render_frame_host, 129 virtual void ShowContextMenu(RenderFrameHost* render_frame_host,
130 const ContextMenuParams& params) override; 130 const ContextMenuParams& params) override;
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 // On Windows we can run into problems if resources get released within the 236 // On Windows we can run into problems if resources get released within the
237 // initialization phase while the content (and its dimensions) are not known. 237 // initialization phase while the content (and its dimensions) are not known.
238 bool is_or_was_visible_; 238 bool is_or_was_visible_;
239 239
240 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura); 240 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura);
241 }; 241 };
242 242
243 } // namespace content 243 } // namespace content
244 244
245 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ 245 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_view_android.cc ('k') | content/browser/web_contents/web_contents_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698