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 <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
476 const FileChooserParams& params) override; | 476 const FileChooserParams& params) override; |
477 bool IsFullscreenForCurrentTab() const override; | 477 bool IsFullscreenForCurrentTab() const override; |
478 blink::WebDisplayMode GetDisplayMode() const override; | 478 blink::WebDisplayMode GetDisplayMode() const override; |
479 void UpdatePreferredSize(const gfx::Size& pref_size) override; | 479 void UpdatePreferredSize(const gfx::Size& pref_size) override; |
480 void ResizeDueToAutoResize(const gfx::Size& new_size) override; | 480 void ResizeDueToAutoResize(const gfx::Size& new_size) override; |
481 void RequestToLockMouse(bool user_gesture, | 481 void RequestToLockMouse(bool user_gesture, |
482 bool last_unlocked_by_target) override; | 482 bool last_unlocked_by_target) override; |
483 void LostMouseLock() override; | 483 void LostMouseLock() override; |
484 void CreateNewWindow( | 484 void CreateNewWindow( |
485 SiteInstance* source_site_instance, | 485 SiteInstance* source_site_instance, |
486 int route_id, | 486 int32 route_id, |
487 int main_frame_route_id, | 487 int32 main_frame_route_id, |
| 488 int32 main_frame_widget_route_id, |
| 489 int32 surface_id, |
488 const ViewHostMsg_CreateWindow_Params& params, | 490 const ViewHostMsg_CreateWindow_Params& params, |
489 SessionStorageNamespace* session_storage_namespace) override; | 491 SessionStorageNamespace* session_storage_namespace) override; |
490 void CreateNewWidget(int32 render_process_id, | 492 void CreateNewWidget(int32 render_process_id, |
491 int32 route_id, | 493 int32 route_id, |
492 int32 surface_id, | 494 int32 surface_id, |
493 blink::WebPopupType popup_type) override; | 495 blink::WebPopupType popup_type) override; |
494 void CreateNewFullscreenWidget(int32 render_process_id, | 496 void CreateNewFullscreenWidget(int32 render_process_id, |
495 int32 route_id, | 497 int32 route_id, |
496 int32 surface_id) override; | 498 int32 surface_id) override; |
497 void ShowCreatedWindow(int route_id, | 499 void ShowCreatedWindow(int route_id, |
(...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1324 // Adds/removes a callback called on creation of each new WebContents. | 1326 // Adds/removes a callback called on creation of each new WebContents. |
1325 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1327 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1326 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1328 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1327 | 1329 |
1328 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1330 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1329 }; | 1331 }; |
1330 | 1332 |
1331 } // namespace content | 1333 } // namespace content |
1332 | 1334 |
1333 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1335 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |