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

Unified Diff: chrome/browser/extensions/extension_web_ui.cc

Issue 8253002: Move PageTransition into content namespace. While I'm touching all these files, I've also updated... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_web_ui.cc
===================================================================
--- chrome/browser/extensions/extension_web_ui.cc (revision 105162)
+++ chrome/browser/extensions/extension_web_ui.cc (working copy)
@@ -25,7 +25,7 @@
#include "chrome/common/extensions/extension_resource.h"
#include "chrome/common/url_constants.h"
#include "content/browser/tab_contents/tab_contents.h"
-#include "content/common/page_transition_types.h"
+#include "content/public/common/page_transition_types.h"
#include "content/public/common/bindings_policy.h"
#include "net/base/file_stream.h"
#include "third_party/skia/include/core/SkBitmap.h"
@@ -165,7 +165,7 @@
extension_bookmark_manager_event_router_.reset(
new ExtensionBookmarkManagerEventRouter(profile, tab));
- link_transition_type_ = PageTransition::AUTO_BOOKMARK;
+ link_transition_type_ = content::PAGE_TRANSITION_AUTO_BOOKMARK;
}
}
@@ -351,7 +351,7 @@
// Don't use Reload() since |url| isn't the same as the internal URL
// that NavigationController has.
- tab->controller().LoadURL(url, url, PageTransition::RELOAD,
+ tab->controller().LoadURL(url, url, content::PAGE_TRANSITION_RELOAD,
std::string());
}
}
« no previous file with comments | « chrome/browser/extensions/extension_tabs_module.cc ('k') | chrome/browser/extensions/extension_webnavigation_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698