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

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

Issue 2618393003: Remove ScopedVector from ContentBrowserClient. (Closed)
Patch Set: rebase Created 3 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 (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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <functional> 10 #include <functional>
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 void DidStartNavigationToPendingEntry(const GURL& url, 597 void DidStartNavigationToPendingEntry(const GURL& url,
598 ReloadType reload_type) override; 598 ReloadType reload_type) override;
599 void RequestOpenURL(RenderFrameHostImpl* render_frame_host, 599 void RequestOpenURL(RenderFrameHostImpl* render_frame_host,
600 const OpenURLParams& params) override; 600 const OpenURLParams& params) override;
601 bool ShouldTransferNavigation(bool is_main_frame_navigation) override; 601 bool ShouldTransferNavigation(bool is_main_frame_navigation) override;
602 bool ShouldPreserveAbortedURLs() override; 602 bool ShouldPreserveAbortedURLs() override;
603 void DidStartLoading(FrameTreeNode* frame_tree_node, 603 void DidStartLoading(FrameTreeNode* frame_tree_node,
604 bool to_different_document) override; 604 bool to_different_document) override;
605 void DidStopLoading() override; 605 void DidStopLoading() override;
606 void DidChangeLoadProgress() override; 606 void DidChangeLoadProgress() override;
607 ScopedVector<NavigationThrottle> CreateThrottlesForNavigation( 607 std::vector<std::unique_ptr<NavigationThrottle>> CreateThrottlesForNavigation(
608 NavigationHandle* navigation_handle) override; 608 NavigationHandle* navigation_handle) override;
609 std::unique_ptr<NavigationUIData> GetNavigationUIData( 609 std::unique_ptr<NavigationUIData> GetNavigationUIData(
610 NavigationHandle* navigation_handle) override; 610 NavigationHandle* navigation_handle) override;
611 611
612 // RenderWidgetHostDelegate -------------------------------------------------- 612 // RenderWidgetHostDelegate --------------------------------------------------
613 613
614 void RenderWidgetCreated(RenderWidgetHostImpl* render_widget_host) override; 614 void RenderWidgetCreated(RenderWidgetHostImpl* render_widget_host) override;
615 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; 615 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override;
616 void RenderWidgetGotFocus(RenderWidgetHostImpl* render_widget_host) override; 616 void RenderWidgetGotFocus(RenderWidgetHostImpl* render_widget_host) override;
617 void RenderWidgetWasResized(RenderWidgetHostImpl* render_widget_host, 617 void RenderWidgetWasResized(RenderWidgetHostImpl* render_widget_host,
(...skipping 898 matching lines...) Expand 10 before | Expand all | Expand 10 after
1516 // Adds/removes a callback called on creation of each new WebContents. 1516 // Adds/removes a callback called on creation of each new WebContents.
1517 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1517 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1518 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1518 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1519 1519
1520 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1520 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1521 }; 1521 };
1522 1522
1523 } // namespace content 1523 } // namespace content
1524 1524
1525 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1525 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigator_delegate.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