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

Unified Diff: mojo/services/html_viewer/ax_provider_impl.h

Issue 808553007: Move HTMLViewer out of mojo namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix merge mistake in test Created 6 years 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 | « no previous file | mojo/services/html_viewer/ax_provider_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/html_viewer/ax_provider_impl.h
diff --git a/mojo/services/html_viewer/ax_provider_impl.h b/mojo/services/html_viewer/ax_provider_impl.h
index 512a53d4e5b18912d25963ea0169e64e7fc900fc..5f03e47c4809d66df817797b28d38e388c58efe2 100644
--- a/mojo/services/html_viewer/ax_provider_impl.h
+++ b/mojo/services/html_viewer/ax_provider_impl.h
@@ -13,26 +13,27 @@ class WebAXObject;
class WebView;
} // namespace blink
-namespace mojo {
+namespace html_viewer {
// Caller must ensure that |web_view| outlives AxProviderImpl.
-class AxProviderImpl : public InterfaceImpl<AxProvider> {
+class AxProviderImpl : public mojo::InterfaceImpl<mojo::AxProvider> {
public:
explicit AxProviderImpl(blink::WebView* web_view);
- void GetTree(const Callback<void(Array<AxNodePtr> nodes)>& callback) override;
+ void GetTree(const mojo::Callback<void(mojo::Array<mojo::AxNodePtr> nodes)>&
+ callback) override;
private:
int Populate(const blink::WebAXObject& ax_object,
int parent_id,
int next_sibling_id,
- Array<AxNodePtr>* result);
- AxNodePtr ConvertAxNode(const blink::WebAXObject& ax_object,
- int parent_id,
- int next_sibling_id);
+ mojo::Array<mojo::AxNodePtr>* result);
+ mojo::AxNodePtr ConvertAxNode(const blink::WebAXObject& ax_object,
+ int parent_id,
+ int next_sibling_id);
blink::WebView* web_view_;
};
-} // namespace mojo
+} // namespace html_viewer
#endif // MOJO_SERVICES_HTML_VIEWER_AX_PROVIDER_IMPL_H_
« no previous file with comments | « no previous file | mojo/services/html_viewer/ax_provider_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698