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

Unified Diff: examples/browser/browser.cc

Issue 1375313006: For c++, Generate enum classes instead of enum from mojom. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « examples/bitmap_uploader/bitmap_uploader.cc ('k') | examples/echo_terminal/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/browser/browser.cc
diff --git a/examples/browser/browser.cc b/examples/browser/browser.cc
index 1481cb885ab637c7deb001add7ce9d25432100f7..32f19ff479c87ddfdee466a4104be4add25bfd4d 100644
--- a/examples/browser/browser.cc
+++ b/examples/browser/browser.cc
@@ -105,7 +105,7 @@ class Browser : public ApplicationDelegate,
void NavigateTo(const mojo::String& url) override {
URLRequestPtr request(URLRequest::New());
request->url = url;
- navigator_host_->RequestNavigate(TARGET_NEW_NODE, request.Pass());
+ navigator_host_->RequestNavigate(Target::NEW_NODE, request.Pass());
}
// mojo::InterfaceFactory<examples::BrowserHost> implementation.
« no previous file with comments | « examples/bitmap_uploader/bitmap_uploader.cc ('k') | examples/echo_terminal/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698