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

Side by Side Diff: chrome/browser/tab_contents/tab_contents.h

Issue 6513010: WebUI: Get rid of more references to DOMUI in the rest of the directories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after
807 ConstrainedWindowList child_windows_; 807 ConstrainedWindowList child_windows_;
808 808
809 // Expires InfoBars that need to be expired, according to the state carried 809 // Expires InfoBars that need to be expired, according to the state carried
810 // in |details|, in response to a new NavigationEntry being committed (the 810 // in |details|, in response to a new NavigationEntry being committed (the
811 // user navigated to another page). 811 // user navigated to another page).
812 void ExpireInfoBars( 812 void ExpireInfoBars(
813 const NavigationController::LoadCommittedDetails& details); 813 const NavigationController::LoadCommittedDetails& details);
814 814
815 // Returns the WebUI for the current state of the tab. This will either be 815 // Returns the WebUI for the current state of the tab. This will either be
816 // the pending WebUI, the committed WebUI, or NULL. 816 // the pending WebUI, the committed WebUI, or NULL.
817 WebUI* GetDOMUIForCurrentState(); 817 WebUI* GetWebUIForCurrentState();
818 818
819 // Navigation helpers -------------------------------------------------------- 819 // Navigation helpers --------------------------------------------------------
820 // 820 //
821 // These functions are helpers for Navigate() and DidNavigate(). 821 // These functions are helpers for Navigate() and DidNavigate().
822 822
823 // Handles post-navigation tasks in DidNavigate AFTER the entry has been 823 // Handles post-navigation tasks in DidNavigate AFTER the entry has been
824 // committed to the navigation controller. Note that the navigation entry is 824 // committed to the navigation controller. Note that the navigation entry is
825 // not provided since it may be invalid/changed after being committed. The 825 // not provided since it may be invalid/changed after being committed. The
826 // current navigation entry is in the NavigationController at this point. 826 // current navigation entry is in the NavigationController at this point.
827 void DidNavigateMainFramePostCommit( 827 void DidNavigateMainFramePostCommit(
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
984 virtual void BeforeUnloadFiredFromRenderManager( 984 virtual void BeforeUnloadFiredFromRenderManager(
985 bool proceed, 985 bool proceed,
986 bool* proceed_to_fire_unload); 986 bool* proceed_to_fire_unload);
987 virtual void DidStartLoadingFromRenderManager( 987 virtual void DidStartLoadingFromRenderManager(
988 RenderViewHost* render_view_host); 988 RenderViewHost* render_view_host);
989 virtual void RenderViewGoneFromRenderManager( 989 virtual void RenderViewGoneFromRenderManager(
990 RenderViewHost* render_view_host); 990 RenderViewHost* render_view_host);
991 virtual void UpdateRenderViewSizeForRenderManager(); 991 virtual void UpdateRenderViewSizeForRenderManager();
992 virtual void NotifySwappedFromRenderManager(); 992 virtual void NotifySwappedFromRenderManager();
993 virtual NavigationController& GetControllerForRenderManager(); 993 virtual NavigationController& GetControllerForRenderManager();
994 virtual WebUI* CreateDOMUIForRenderManager(const GURL& url); 994 virtual WebUI* CreateWebUIForRenderManager(const GURL& url);
995 virtual NavigationEntry* GetLastCommittedNavigationEntryForRenderManager(); 995 virtual NavigationEntry* GetLastCommittedNavigationEntryForRenderManager();
996 996
997 // Initializes the given renderer if necessary and creates the view ID 997 // Initializes the given renderer if necessary and creates the view ID
998 // corresponding to this view host. If this method is not called and the 998 // corresponding to this view host. If this method is not called and the
999 // process is not shared, then the TabContents will act as though the renderer 999 // process is not shared, then the TabContents will act as though the renderer
1000 // is not running (i.e., it will render "sad tab"). This method is 1000 // is not running (i.e., it will render "sad tab"). This method is
1001 // automatically called from LoadURL. 1001 // automatically called from LoadURL.
1002 // 1002 //
1003 // If you are attaching to an already-existing RenderView, you should call 1003 // If you are attaching to an already-existing RenderView, you should call
1004 // InitWithExistingID. 1004 // InitWithExistingID.
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
1248 ObserverList<TabContentsObserver> observers_; 1248 ObserverList<TabContentsObserver> observers_;
1249 1249
1250 // Content restrictions, used to disable print/copy etc based on content's 1250 // Content restrictions, used to disable print/copy etc based on content's
1251 // (full-page plugins for now only) permissions. 1251 // (full-page plugins for now only) permissions.
1252 int content_restrictions_; 1252 int content_restrictions_;
1253 1253
1254 DISALLOW_COPY_AND_ASSIGN(TabContents); 1254 DISALLOW_COPY_AND_ASSIGN(TabContents);
1255 }; 1255 };
1256 1256
1257 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 1257 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/render_view_host_manager.cc ('k') | chrome/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698