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

Side by Side Diff: android_webview/browser/renderer_host/aw_render_view_host_ext.h

Issue 11416013: Move RequestPpapiBrokerPermission from WebContentsObserver to WebContentsDelegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android Created 8 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/pepper_broker_infobar_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_BROWSER_RENDER_HOST_RENDER_VIEW_HOST_EXT_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_RENDER_HOST_RENDER_VIEW_HOST_EXT_H_
6 #define ANDROID_WEBVIEW_BROWSER_RENDER_HOST_RENDER_VIEW_HOST_EXT_H_ 6 #define ANDROID_WEBVIEW_BROWSER_RENDER_HOST_RENDER_VIEW_HOST_EXT_H_
7 7
8 #include "content/public/browser/web_contents_observer.h" 8 #include "content/public/browser/web_contents_observer.h"
9 9
10 #include "android_webview/common/aw_hit_test_data.h" 10 #include "android_webview/common/aw_hit_test_data.h"
11 #include "base/callback_forward.h"
11 #include "base/threading/non_thread_safe.h" 12 #include "base/threading/non_thread_safe.h"
12 13
13 namespace android_webview { 14 namespace android_webview {
14 15
15 // Provides RenderViewHost wrapper functionality for sending WebView-specific 16 // Provides RenderViewHost wrapper functionality for sending WebView-specific
16 // IPC messages to the renderer and from there to WebKit. 17 // IPC messages to the renderer and from there to WebKit.
17 class AwRenderViewHostExt : public content::WebContentsObserver, 18 class AwRenderViewHostExt : public content::WebContentsObserver,
18 public base::NonThreadSafe { 19 public base::NonThreadSafe {
19 public: 20 public:
20 // To send receive messages to a RenderView we take the WebContents instance, 21 // To send receive messages to a RenderView we take the WebContents instance,
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 AwHitTestData last_hit_test_data_; 59 AwHitTestData last_hit_test_data_;
59 60
60 bool has_new_hit_test_data_; 61 bool has_new_hit_test_data_;
61 62
62 DISALLOW_COPY_AND_ASSIGN(AwRenderViewHostExt); 63 DISALLOW_COPY_AND_ASSIGN(AwRenderViewHostExt);
63 }; 64 };
64 65
65 } // namespace android_webview 66 } // namespace android_webview
66 67
67 #endif // ANDROID_WEBVIEW_BROWSER_RENDER_HOST_RENDER_VIEW_HOST_EXT_H_ 68 #endif // ANDROID_WEBVIEW_BROWSER_RENDER_HOST_RENDER_VIEW_HOST_EXT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/pepper_broker_infobar_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698