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 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
474 const FileChooserParams& params) override; | 474 const FileChooserParams& params) override; |
475 bool IsFullscreenForCurrentTab() const override; | 475 bool IsFullscreenForCurrentTab() const override; |
476 blink::WebDisplayMode GetDisplayMode() const override; | 476 blink::WebDisplayMode GetDisplayMode() const override; |
477 void UpdatePreferredSize(const gfx::Size& pref_size) override; | 477 void UpdatePreferredSize(const gfx::Size& pref_size) override; |
478 void ResizeDueToAutoResize(const gfx::Size& new_size) override; | 478 void ResizeDueToAutoResize(const gfx::Size& new_size) override; |
479 void RequestToLockMouse(bool user_gesture, | 479 void RequestToLockMouse(bool user_gesture, |
480 bool last_unlocked_by_target) override; | 480 bool last_unlocked_by_target) override; |
481 void LostMouseLock() override; | 481 void LostMouseLock() override; |
482 void CreateNewWindow( | 482 void CreateNewWindow( |
483 SiteInstance* source_site_instance, | 483 SiteInstance* source_site_instance, |
484 int route_id, | 484 int32 route_id, |
485 int main_frame_route_id, | 485 int32 main_frame_route_id, |
| 486 int32 main_frame_widget_route_id, |
486 const ViewHostMsg_CreateWindow_Params& params, | 487 const ViewHostMsg_CreateWindow_Params& params, |
487 SessionStorageNamespace* session_storage_namespace) override; | 488 SessionStorageNamespace* session_storage_namespace) override; |
488 void CreateNewWidget(int render_process_id, | 489 void CreateNewWidget(int render_process_id, |
489 int route_id, | 490 int route_id, |
490 blink::WebPopupType popup_type) override; | 491 blink::WebPopupType popup_type) override; |
491 void CreateNewFullscreenWidget(int render_process_id, int route_id) override; | 492 void CreateNewFullscreenWidget(int render_process_id, int route_id) override; |
492 void ShowCreatedWindow(int route_id, | 493 void ShowCreatedWindow(int route_id, |
493 WindowOpenDisposition disposition, | 494 WindowOpenDisposition disposition, |
494 const gfx::Rect& initial_rect, | 495 const gfx::Rect& initial_rect, |
495 bool user_gesture) override; | 496 bool user_gesture) override; |
(...skipping 811 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1307 // Adds/removes a callback called on creation of each new WebContents. | 1308 // Adds/removes a callback called on creation of each new WebContents. |
1308 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1309 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1309 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1310 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1310 | 1311 |
1311 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1312 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1312 }; | 1313 }; |
1313 | 1314 |
1314 } // namespace content | 1315 } // namespace content |
1315 | 1316 |
1316 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1317 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |