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

Side by Side Diff: extensions/browser/guest_view/guest_view_base.h

Issue 851813002: Fixed and reenabled the flaky test "WebViewAPITest.TestAutosizeAfterNavigation". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed test. Created 5 years, 11 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 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_BASE_H_ 5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_BASE_H_
6 #define EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_BASE_H_ 6 #define EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_BASE_H_
7 7
8 #include <queue> 8 #include <queue>
9 9
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 void SetAttachParams(const base::DictionaryValue& params); 265 void SetAttachParams(const base::DictionaryValue& params);
266 void SetOpener(GuestViewBase* opener); 266 void SetOpener(GuestViewBase* opener);
267 267
268 // BrowserPluginGuestDelegate implementation. 268 // BrowserPluginGuestDelegate implementation.
269 content::WebContents* CreateNewGuestWindow( 269 content::WebContents* CreateNewGuestWindow(
270 const content::WebContents::CreateParams& create_params) final; 270 const content::WebContents::CreateParams& create_params) final;
271 void DidAttach(int guest_proxy_routing_id) final; 271 void DidAttach(int guest_proxy_routing_id) final;
272 void DidDetach() final; 272 void DidDetach() final;
273 void ElementSizeChanged(const gfx::Size& size) final; 273 void ElementSizeChanged(const gfx::Size& size) final;
274 content::WebContents* GetOwnerWebContents() const final; 274 content::WebContents* GetOwnerWebContents() const final;
275 void GuestSizeChanged(const gfx::Size& old_size, 275 void GuestSizeChanged(const gfx::Size& new_size) final;
276 const gfx::Size& new_size) final;
277 void RegisterDestructionCallback(const DestructionCallback& callback) final; 276 void RegisterDestructionCallback(const DestructionCallback& callback) final;
278 void SetGuestSizer(content::GuestSizer* guest_sizer) final; 277 void SetGuestSizer(content::GuestSizer* guest_sizer) final;
279 void WillAttach(content::WebContents* embedder_web_contents, 278 void WillAttach(content::WebContents* embedder_web_contents,
280 int browser_plugin_instance_id, 279 int browser_plugin_instance_id,
281 bool is_full_page_plugin) final; 280 bool is_full_page_plugin) final;
282 281
283 // ui_zoom::ZoomObserver implementation. 282 // ui_zoom::ZoomObserver implementation.
284 void OnZoomChanged( 283 void OnZoomChanged(
285 const ui_zoom::ZoomController::ZoomChangedEventData& data) override; 284 const ui_zoom::ZoomController::ZoomChangedEventData& data) override;
286 285
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 // This is used to ensure pending tasks will not fire after this object is 413 // This is used to ensure pending tasks will not fire after this object is
415 // destroyed. 414 // destroyed.
416 base::WeakPtrFactory<GuestViewBase> weak_ptr_factory_; 415 base::WeakPtrFactory<GuestViewBase> weak_ptr_factory_;
417 416
418 DISALLOW_COPY_AND_ASSIGN(GuestViewBase); 417 DISALLOW_COPY_AND_ASSIGN(GuestViewBase);
419 }; 418 };
420 419
421 } // namespace extensions 420 } // namespace extensions
422 421
423 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_BASE_H_ 422 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_BASE_H_
OLDNEW
« no previous file with comments | « content/public/browser/browser_plugin_guest_delegate.h ('k') | extensions/browser/guest_view/guest_view_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698