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

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 2393513004: Convert app banners to use Mojo. (Closed)
Patch Set: Fix Win clang compile Created 4 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 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_RENDERER_RENDER_FRAME_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 30 matching lines...) Expand all
41 #include "media/blink/webmediaplayer_params.h" 41 #include "media/blink/webmediaplayer_params.h"
42 #include "media/mojo/interfaces/remoting.mojom.h" 42 #include "media/mojo/interfaces/remoting.mojom.h"
43 #include "mojo/public/cpp/bindings/binding.h" 43 #include "mojo/public/cpp/bindings/binding.h"
44 #include "services/shell/public/interfaces/connector.mojom.h" 44 #include "services/shell/public/interfaces/connector.mojom.h"
45 #include "services/shell/public/interfaces/interface_provider.mojom.h" 45 #include "services/shell/public/interfaces/interface_provider.mojom.h"
46 #include "third_party/WebKit/public/platform/WebEffectiveConnectionType.h" 46 #include "third_party/WebKit/public/platform/WebEffectiveConnectionType.h"
47 #include "third_party/WebKit/public/platform/WebFocusType.h" 47 #include "third_party/WebKit/public/platform/WebFocusType.h"
48 #include "third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h" 48 #include "third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h"
49 #include "third_party/WebKit/public/platform/WebMediaPlayer.h" 49 #include "third_party/WebKit/public/platform/WebMediaPlayer.h"
50 #include "third_party/WebKit/public/platform/WebPageVisibilityState.h" 50 #include "third_party/WebKit/public/platform/WebPageVisibilityState.h"
51 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerClie nt.h"
52 #include "third_party/WebKit/public/web/WebAXObject.h" 51 #include "third_party/WebKit/public/web/WebAXObject.h"
53 #include "third_party/WebKit/public/web/WebDataSource.h" 52 #include "third_party/WebKit/public/web/WebDataSource.h"
54 #include "third_party/WebKit/public/web/WebFrameClient.h" 53 #include "third_party/WebKit/public/web/WebFrameClient.h"
55 #include "third_party/WebKit/public/web/WebFrameLoadType.h" 54 #include "third_party/WebKit/public/web/WebFrameLoadType.h"
56 #include "third_party/WebKit/public/web/WebFrameSerializerClient.h" 55 #include "third_party/WebKit/public/web/WebFrameSerializerClient.h"
57 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" 56 #include "third_party/WebKit/public/web/WebHistoryCommitType.h"
58 #include "third_party/WebKit/public/web/WebMeaningfulLayout.h" 57 #include "third_party/WebKit/public/web/WebMeaningfulLayout.h"
59 #include "third_party/WebKit/public/web/WebScriptExecutionCallback.h" 58 #include "third_party/WebKit/public/web/WebScriptExecutionCallback.h"
60 #include "ui/gfx/range/range.h" 59 #include "ui/gfx/range/range.h"
61 #include "url/gurl.h" 60 #include "url/gurl.h"
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after
626 void handleAccessibilityFindInPageResult( 625 void handleAccessibilityFindInPageResult(
627 int identifier, 626 int identifier,
628 int match_index, 627 int match_index,
629 const blink::WebAXObject& start_object, 628 const blink::WebAXObject& start_object,
630 int start_offset, 629 int start_offset,
631 const blink::WebAXObject& end_object, 630 const blink::WebAXObject& end_object,
632 int end_offset) override; 631 int end_offset) override;
633 void didChangeManifest() override; 632 void didChangeManifest() override;
634 void enterFullscreen() override; 633 void enterFullscreen() override;
635 void exitFullscreen() override; 634 void exitFullscreen() override;
636 blink::WebAppBannerClient* appBannerClient() override;
637 void registerProtocolHandler(const blink::WebString& scheme, 635 void registerProtocolHandler(const blink::WebString& scheme,
638 const blink::WebURL& url, 636 const blink::WebURL& url,
639 const blink::WebString& title) override; 637 const blink::WebString& title) override;
640 void unregisterProtocolHandler(const blink::WebString& scheme, 638 void unregisterProtocolHandler(const blink::WebString& scheme,
641 const blink::WebURL& url) override; 639 const blink::WebURL& url) override;
642 blink::WebBluetooth* bluetooth() override; 640 blink::WebBluetooth* bluetooth() override;
643 void checkIfAudioSinkExistsAndIsAuthorized( 641 void checkIfAudioSinkExistsAndIsAuthorized(
644 const blink::WebString& sink_id, 642 const blink::WebString& sink_id,
645 const blink::WebSecurityOrigin& security_origin, 643 const blink::WebSecurityOrigin& security_origin,
646 blink::WebSetSinkIdCallbacks* web_callbacks) override; 644 blink::WebSetSinkIdCallbacks* web_callbacks) override;
(...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after
1229 // process. 1227 // process.
1230 ManifestManager* manifest_manager_; 1228 ManifestManager* manifest_manager_;
1231 1229
1232 // The current accessibility mode. 1230 // The current accessibility mode.
1233 AccessibilityMode accessibility_mode_; 1231 AccessibilityMode accessibility_mode_;
1234 1232
1235 // Only valid if |accessibility_mode_| is anything other than 1233 // Only valid if |accessibility_mode_| is anything other than
1236 // AccessibilityModeOff. 1234 // AccessibilityModeOff.
1237 RenderAccessibilityImpl* render_accessibility_; 1235 RenderAccessibilityImpl* render_accessibility_;
1238 1236
1239 std::unique_ptr<blink::WebAppBannerClient> app_banner_client_;
1240
1241 std::unique_ptr<blink::WebBluetooth> bluetooth_; 1237 std::unique_ptr<blink::WebBluetooth> bluetooth_;
1242 1238
1243 // Manages play, pause notifications for WebMediaPlayer implementations; its 1239 // Manages play, pause notifications for WebMediaPlayer implementations; its
1244 // lifetime is tied to the RenderFrame via the RenderFrameObserver interface. 1240 // lifetime is tied to the RenderFrame via the RenderFrameObserver interface.
1245 media::RendererWebMediaPlayerDelegate* media_player_delegate_; 1241 media::RendererWebMediaPlayerDelegate* media_player_delegate_;
1246 1242
1247 // Whether or not this RenderFrame is using Lo-Fi mode. 1243 // Whether or not this RenderFrame is using Lo-Fi mode.
1248 bool is_using_lofi_; 1244 bool is_using_lofi_;
1249 1245
1250 // Effective connection type when the document of this frame was fetched. 1246 // Effective connection type when the document of this frame was fetched.
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
1298 remote_associated_interfaces_; 1294 remote_associated_interfaces_;
1299 1295
1300 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1296 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1301 1297
1302 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1298 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1303 }; 1299 };
1304 1300
1305 } // namespace content 1301 } // namespace content
1306 1302
1307 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1303 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698