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

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

Issue 2393513004: Convert app banners to use Mojo. (Closed)
Patch Set: Rebase 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 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
625 void handleAccessibilityFindInPageResult( 624 void handleAccessibilityFindInPageResult(
626 int identifier, 625 int identifier,
627 int match_index, 626 int match_index,
628 const blink::WebAXObject& start_object, 627 const blink::WebAXObject& start_object,
629 int start_offset, 628 int start_offset,
630 const blink::WebAXObject& end_object, 629 const blink::WebAXObject& end_object,
631 int end_offset) override; 630 int end_offset) override;
632 void didChangeManifest() override; 631 void didChangeManifest() override;
633 void enterFullscreen() override; 632 void enterFullscreen() override;
634 void exitFullscreen() override; 633 void exitFullscreen() override;
635 blink::WebAppBannerClient* appBannerClient() override;
636 void registerProtocolHandler(const blink::WebString& scheme, 634 void registerProtocolHandler(const blink::WebString& scheme,
637 const blink::WebURL& url, 635 const blink::WebURL& url,
638 const blink::WebString& title) override; 636 const blink::WebString& title) override;
639 void unregisterProtocolHandler(const blink::WebString& scheme, 637 void unregisterProtocolHandler(const blink::WebString& scheme,
640 const blink::WebURL& url) override; 638 const blink::WebURL& url) override;
641 blink::WebBluetooth* bluetooth() override; 639 blink::WebBluetooth* bluetooth() override;
642 void checkIfAudioSinkExistsAndIsAuthorized( 640 void checkIfAudioSinkExistsAndIsAuthorized(
643 const blink::WebString& sink_id, 641 const blink::WebString& sink_id,
644 const blink::WebSecurityOrigin& security_origin, 642 const blink::WebSecurityOrigin& security_origin,
645 blink::WebSetSinkIdCallbacks* web_callbacks) override; 643 blink::WebSetSinkIdCallbacks* web_callbacks) override;
(...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after
1236 // process. 1234 // process.
1237 ManifestManager* manifest_manager_; 1235 ManifestManager* manifest_manager_;
1238 1236
1239 // The current accessibility mode. 1237 // The current accessibility mode.
1240 AccessibilityMode accessibility_mode_; 1238 AccessibilityMode accessibility_mode_;
1241 1239
1242 // Only valid if |accessibility_mode_| is anything other than 1240 // Only valid if |accessibility_mode_| is anything other than
1243 // AccessibilityModeOff. 1241 // AccessibilityModeOff.
1244 RenderAccessibilityImpl* render_accessibility_; 1242 RenderAccessibilityImpl* render_accessibility_;
1245 1243
1246 std::unique_ptr<blink::WebAppBannerClient> app_banner_client_;
1247
1248 std::unique_ptr<blink::WebBluetooth> bluetooth_; 1244 std::unique_ptr<blink::WebBluetooth> bluetooth_;
1249 1245
1250 // Manages play, pause notifications for WebMediaPlayer implementations; its 1246 // Manages play, pause notifications for WebMediaPlayer implementations; its
1251 // lifetime is tied to the RenderFrame via the RenderFrameObserver interface. 1247 // lifetime is tied to the RenderFrame via the RenderFrameObserver interface.
1252 media::RendererWebMediaPlayerDelegate* media_player_delegate_; 1248 media::RendererWebMediaPlayerDelegate* media_player_delegate_;
1253 1249
1254 // Whether or not this RenderFrame is using Lo-Fi mode. 1250 // Whether or not this RenderFrame is using Lo-Fi mode.
1255 bool is_using_lofi_; 1251 bool is_using_lofi_;
1256 1252
1257 // Effective connection type when the document of this frame was fetched. 1253 // Effective connection type when the document of this frame was fetched.
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
1309 bool name_changed_before_first_commit_ = false; 1305 bool name_changed_before_first_commit_ = false;
1310 1306
1311 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1307 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1312 1308
1313 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1309 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1314 }; 1310 };
1315 1311
1316 } // namespace content 1312 } // namespace content
1317 1313
1318 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1314 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698