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

Side by Side Diff: android_webview/renderer/aw_content_renderer_client.h

Issue 1852513003: Convert //android_webview to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git is hard Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_
6 #define ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_ 6 #define ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include "content/public/renderer/content_renderer_client.h" 8 #include "content/public/renderer/content_renderer_client.h"
9 9
10 #include <stddef.h> 10 #include <stddef.h>
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 const blink::WebURLRequest& request, 45 const blink::WebURLRequest& request,
46 blink::WebNavigationType type, 46 blink::WebNavigationType type,
47 blink::WebNavigationPolicy default_policy, 47 blink::WebNavigationPolicy default_policy,
48 bool is_redirect) override; 48 bool is_redirect) override;
49 bool ShouldUseMediaPlayerForURL(const GURL& url) override; 49 bool ShouldUseMediaPlayerForURL(const GURL& url) override;
50 bool ShouldOverridePageVisibilityState( 50 bool ShouldOverridePageVisibilityState(
51 const content::RenderFrame* render_frame, 51 const content::RenderFrame* render_frame,
52 blink::WebPageVisibilityState* override_state) override; 52 blink::WebPageVisibilityState* override_state) override;
53 53
54 private: 54 private:
55 scoped_ptr<AwRenderProcessObserver> aw_render_process_observer_; 55 std::unique_ptr<AwRenderProcessObserver> aw_render_process_observer_;
56 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; 56 std::unique_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_;
57 const bool disable_page_visibility_; 57 const bool disable_page_visibility_;
58 }; 58 };
59 59
60 } // namespace android_webview 60 } // namespace android_webview
61 61
62 #endif // ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_ 62 #endif // ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « android_webview/native/state_serializer_unittest.cc ('k') | android_webview/renderer/aw_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698