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

Side by Side Diff: content/browser/web_contents/web_contents_impl.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 (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_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 // Sets the passed interstitial as the currently showing interstitial. 653 // Sets the passed interstitial as the currently showing interstitial.
654 // No interstitial page should already be attached. 654 // No interstitial page should already be attached.
655 void AttachInterstitialPage(InterstitialPageImpl* interstitial_page) override; 655 void AttachInterstitialPage(InterstitialPageImpl* interstitial_page) override;
656 656
657 // Unsets the currently showing interstitial. 657 // Unsets the currently showing interstitial.
658 void DetachInterstitialPage() override; 658 void DetachInterstitialPage() override;
659 659
660 // Changes the IsLoading state and notifies the delegate as needed. 660 // Changes the IsLoading state and notifies the delegate as needed.
661 // |details| is used to provide details on the load that just finished 661 // |details| is used to provide details on the load that just finished
662 // (but can be null if not applicable). 662 // (but can be null if not applicable).
663 void SetIsLoading(RenderViewHost* render_view_host, 663 void SetIsLoading(bool is_loading,
664 bool is_loading,
665 bool to_different_document, 664 bool to_different_document,
666 LoadNotificationDetails* details) override; 665 LoadNotificationDetails* details) override;
667 666
668 typedef base::Callback<void(WebContents*)> CreatedCallback; 667 typedef base::Callback<void(WebContents*)> CreatedCallback;
669 668
670 // Requests the renderer to move the selection extent to a new position. 669 // Requests the renderer to move the selection extent to a new position.
671 void MoveRangeSelectionExtent(const gfx::Point& extent); 670 void MoveRangeSelectionExtent(const gfx::Point& extent);
672 671
673 // Requests the renderer to select the region between two points in the 672 // Requests the renderer to select the region between two points in the
674 // currently focused frame. 673 // currently focused frame.
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after
1283 // Adds/removes a callback called on creation of each new WebContents. 1282 // Adds/removes a callback called on creation of each new WebContents.
1284 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1283 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1285 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1284 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1286 1285
1287 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1286 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1288 }; 1287 };
1289 1288
1290 } // namespace content 1289 } // namespace content
1291 1290
1292 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1291 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/aura/overscroll_navigation_overlay.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698