OLD | NEW |
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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <functional> | 10 #include <functional> |
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
540 int32_t route_id) override; | 540 int32_t route_id) override; |
541 void ShowCreatedWidget(int process_id, | 541 void ShowCreatedWidget(int process_id, |
542 int route_id, | 542 int route_id, |
543 const gfx::Rect& initial_rect) override; | 543 const gfx::Rect& initial_rect) override; |
544 void ShowCreatedFullscreenWidget(int process_id, int route_id) override; | 544 void ShowCreatedFullscreenWidget(int process_id, int route_id) override; |
545 void RequestMediaAccessPermission( | 545 void RequestMediaAccessPermission( |
546 const MediaStreamRequest& request, | 546 const MediaStreamRequest& request, |
547 const MediaResponseCallback& callback) override; | 547 const MediaResponseCallback& callback) override; |
548 bool CheckMediaAccessPermission(const GURL& security_origin, | 548 bool CheckMediaAccessPermission(const GURL& security_origin, |
549 MediaStreamType type) override; | 549 MediaStreamType type) override; |
| 550 std::string GetDefaultMediaDeviceId(MediaStreamType type) override; |
550 SessionStorageNamespace* GetSessionStorageNamespace( | 551 SessionStorageNamespace* GetSessionStorageNamespace( |
551 SiteInstance* instance) override; | 552 SiteInstance* instance) override; |
552 SessionStorageNamespaceMap GetSessionStorageNamespaceMap() override; | 553 SessionStorageNamespaceMap GetSessionStorageNamespaceMap() override; |
553 double GetPendingPageZoomLevel() override; | 554 double GetPendingPageZoomLevel() override; |
554 FrameTree* GetFrameTree() override; | 555 FrameTree* GetFrameTree() override; |
555 void SetIsVirtualKeyboardRequested(bool requested) override; | 556 void SetIsVirtualKeyboardRequested(bool requested) override; |
556 bool IsVirtualKeyboardRequested() override; | 557 bool IsVirtualKeyboardRequested() override; |
557 bool IsOverridingUserAgent() override; | 558 bool IsOverridingUserAgent() override; |
558 bool IsJavaScriptDialogShowing() const override; | 559 bool IsJavaScriptDialogShowing() const override; |
559 bool HideDownloadUI() const override; | 560 bool HideDownloadUI() const override; |
(...skipping 956 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1516 // Adds/removes a callback called on creation of each new WebContents. | 1517 // Adds/removes a callback called on creation of each new WebContents. |
1517 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1518 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1518 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1519 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1519 | 1520 |
1520 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1521 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1521 }; | 1522 }; |
1522 | 1523 |
1523 } // namespace content | 1524 } // namespace content |
1524 | 1525 |
1525 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1526 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |