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

Unified Diff: mojo/examples/window_manager/debug_panel.cc

Issue 413353002: Remove extraneous namespaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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: mojo/examples/window_manager/debug_panel.cc
diff --git a/mojo/examples/window_manager/debug_panel.cc b/mojo/examples/window_manager/debug_panel.cc
index 814aca5e698d6bf3f64c2855619052e5dcc212f2..cb9171e2255b7699b38749d19a72baea6026acdd 100644
--- a/mojo/examples/window_manager/debug_panel.cc
+++ b/mojo/examples/window_manager/debug_panel.cc
@@ -74,12 +74,12 @@ gfx::Size DebugPanel::GetPreferredSize(const views::View* view) const {
return gfx::Size();
}
-navigation::Target DebugPanel::navigation_target() const {
+Target DebugPanel::navigation_target() const {
if (navigation_target_new_->checked())
- return navigation::TARGET_NEW_NODE;
+ return TARGET_NEW_NODE;
if (navigation_target_source_->checked())
- return navigation::TARGET_SOURCE_NODE;
- return navigation::TARGET_DEFAULT;
+ return TARGET_SOURCE_NODE;
+ return TARGET_DEFAULT;
}
void DebugPanel::Layout(views::View* view) {
@@ -128,11 +128,9 @@ void DebugPanel::ButtonPressed(views::Button* sender, const ui::Event& event) {
}
void DebugPanel::Navigate(const std::string& url) {
- navigation::NavigationDetailsPtr details(
- navigation::NavigationDetails::New());
+ NavigationDetailsPtr details(NavigationDetails::New());
details->url = url;
- delegate_->RequestNavigate(
- node_->id(), navigation::TARGET_NEW_NODE, details.Pass());
+ delegate_->RequestNavigate(node_->id(), TARGET_NEW_NODE, details.Pass());
}
} // namespace examples

Powered by Google App Engine
This is Rietveld 408576698