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

Unified Diff: content/browser/webui/web_ui_impl.cc

Issue 2468673003: [Extensions] Remove ExtensionWebUI (Closed)
Patch Set: nit Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/webui/web_ui_impl.h ('k') | content/public/browser/content_browser_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/webui/web_ui_impl.cc
diff --git a/content/browser/webui/web_ui_impl.cc b/content/browser/webui/web_ui_impl.cc
index 880029a3ee1c286657481e7bfacb2ec67b6db59c..160dbec57f48b675fdeb7255fbe2efdf9bc30e4e 100644
--- a/content/browser/webui/web_ui_impl.cc
+++ b/content/browser/webui/web_ui_impl.cc
@@ -69,8 +69,7 @@ base::string16 WebUI::GetJavascriptCall(
}
WebUIImpl::WebUIImpl(WebContents* contents, const std::string& frame_name)
- : link_transition_type_(ui::PAGE_TRANSITION_LINK),
- bindings_(BINDINGS_POLICY_WEB_UI),
+ : bindings_(BINDINGS_POLICY_WEB_UI),
web_contents_(contents),
web_contents_observer_(new MainFrameNavigationObserver(this, contents)),
frame_name_(frame_name) {
@@ -140,14 +139,6 @@ void WebUIImpl::OverrideTitle(const base::string16& title) {
overridden_title_ = title;
}
-ui::PageTransition WebUIImpl::GetLinkTransitionType() const {
- return link_transition_type_;
-}
-
-void WebUIImpl::SetLinkTransitionType(ui::PageTransition type) {
- link_transition_type_ = type;
-}
-
int WebUIImpl::GetBindings() const {
return bindings_;
}
« no previous file with comments | « content/browser/webui/web_ui_impl.h ('k') | content/public/browser/content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698