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

Side by Side Diff: content/browser/frame_host/render_frame_host_delegate.h

Issue 2741043004: Revert of Add Java wrapper for RenderFrameHost (Closed)
Patch Set: Created 3 years, 9 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/i18n/rtl.h" 13 #include "base/i18n/rtl.h"
14 #include "build/build_config.h" 14 #include "build/build_config.h"
15 #include "content/browser/webui/web_ui_impl.h" 15 #include "content/browser/webui/web_ui_impl.h"
16 #include "content/common/content_export.h" 16 #include "content/common/content_export.h"
17 #include "content/common/frame_message_enums.h" 17 #include "content/common/frame_message_enums.h"
18 #include "content/public/browser/site_instance.h" 18 #include "content/public/browser/site_instance.h"
19 #include "content/public/common/javascript_dialog_type.h" 19 #include "content/public/common/javascript_dialog_type.h"
20 #include "content/public/common/media_stream_request.h" 20 #include "content/public/common/media_stream_request.h"
21 #include "mojo/public/cpp/bindings/scoped_interface_endpoint_handle.h" 21 #include "mojo/public/cpp/bindings/scoped_interface_endpoint_handle.h"
22 #include "net/http/http_response_headers.h" 22 #include "net/http/http_response_headers.h"
23 #include "ui/base/window_open_disposition.h" 23 #include "ui/base/window_open_disposition.h"
24 24
25 #if defined(OS_WIN) 25 #if defined(OS_WIN)
26 #include "ui/gfx/native_widget_types.h" 26 #include "ui/gfx/native_widget_types.h"
27 #endif 27 #endif
28 28
29 #if defined(OS_ANDROID)
30 #include "base/android/scoped_java_ref.h"
31 #endif
32
33 class GURL; 29 class GURL;
34 30
35 namespace IPC { 31 namespace IPC {
36 class Message; 32 class Message;
37 } 33 }
38 34
39 namespace device { 35 namespace device {
40 class GeolocationServiceContext; 36 class GeolocationServiceContext;
41 class WakeLockServiceContext; 37 class WakeLockServiceContext;
42 } 38 }
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 // Reports that passive mixed content was found at the specified url. 283 // Reports that passive mixed content was found at the specified url.
288 virtual void PassiveInsecureContentFound(const GURL& resource_url) {} 284 virtual void PassiveInsecureContentFound(const GURL& resource_url) {}
289 285
290 // Checks if running of active mixed content is allowed for the specified 286 // Checks if running of active mixed content is allowed for the specified
291 // WebContents/tab. 287 // WebContents/tab.
292 virtual bool ShouldAllowRunningInsecureContent(WebContents* web_contents, 288 virtual bool ShouldAllowRunningInsecureContent(WebContents* web_contents,
293 bool allowed_per_prefs, 289 bool allowed_per_prefs,
294 const url::Origin& origin, 290 const url::Origin& origin,
295 const GURL& resource_url); 291 const GURL& resource_url);
296 292
297 #if defined(OS_ANDROID)
298 virtual base::android::ScopedJavaLocalRef<jobject>
299 GetJavaRenderFrameHostDelegate();
300 #endif
301
302 protected: 293 protected:
303 virtual ~RenderFrameHostDelegate() {} 294 virtual ~RenderFrameHostDelegate() {}
304 }; 295 };
305 296
306 } // namespace content 297 } // namespace content
307 298
308 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 299 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_android.cc ('k') | content/browser/frame_host/render_frame_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698