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

Side by Side Diff: extensions/browser/guest_view/web_view/web_view_guest.h

Issue 1008913002: Remove RenderViewHost parameter from WebContentsObserver::Did{Start|Stop}Loading. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 9 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_WEB_VIEW_WEB_VIEW_GUEST_H_ 5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_
6 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ 6 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 const std::string& virtual_url, 90 const std::string& virtual_url,
91 std::string* error); 91 std::string* error);
92 92
93 // GuestViewBase implementation. 93 // GuestViewBase implementation.
94 bool CanRunInDetachedState() const override; 94 bool CanRunInDetachedState() const override;
95 void CreateWebContents(const base::DictionaryValue& create_params, 95 void CreateWebContents(const base::DictionaryValue& create_params,
96 const WebContentsCreatedCallback& callback) override; 96 const WebContentsCreatedCallback& callback) override;
97 void DidAttachToEmbedder() override; 97 void DidAttachToEmbedder() override;
98 void DidDropLink(const GURL& url) override; 98 void DidDropLink(const GURL& url) override;
99 void DidInitialize(const base::DictionaryValue& create_params) override; 99 void DidInitialize(const base::DictionaryValue& create_params) override;
100 void DidStopLoading() override; 100 void GuestViewDidStopLoading() override;
101 void EmbedderFullscreenToggled(bool entered_fullscreen) override; 101 void EmbedderFullscreenToggled(bool entered_fullscreen) override;
102 void EmbedderWillBeDestroyed() override; 102 void EmbedderWillBeDestroyed() override;
103 const char* GetAPINamespace() const override; 103 const char* GetAPINamespace() const override;
104 int GetTaskPrefix() const override; 104 int GetTaskPrefix() const override;
105 void GuestDestroyed() override; 105 void GuestDestroyed() override;
106 void GuestReady() override; 106 void GuestReady() override;
107 void GuestSizeChangedDueToAutoSize(const gfx::Size& old_size, 107 void GuestSizeChangedDueToAutoSize(const gfx::Size& old_size,
108 const gfx::Size& new_size) override; 108 const gfx::Size& new_size) override;
109 bool IsAutoSizeSupported() const override; 109 bool IsAutoSizeSupported() const override;
110 bool IsDragAndDropEnabled() const override; 110 bool IsDragAndDropEnabled() const override;
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 // This is used to ensure pending tasks will not fire after this object is 387 // This is used to ensure pending tasks will not fire after this object is
388 // destroyed. 388 // destroyed.
389 base::WeakPtrFactory<WebViewGuest> weak_ptr_factory_; 389 base::WeakPtrFactory<WebViewGuest> weak_ptr_factory_;
390 390
391 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); 391 DISALLOW_COPY_AND_ASSIGN(WebViewGuest);
392 }; 392 };
393 393
394 } // namespace extensions 394 } // namespace extensions
395 395
396 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ 396 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_
OLDNEW
« no previous file with comments | « extensions/browser/guest_view/guest_view_base.cc ('k') | extensions/browser/guest_view/web_view/web_view_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698