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 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 const FileChooserParams& params) override; | 484 const FileChooserParams& params) override; |
485 bool IsFullscreenForCurrentTab() const override; | 485 bool IsFullscreenForCurrentTab() const override; |
486 blink::WebDisplayMode GetDisplayMode() const override; | 486 blink::WebDisplayMode GetDisplayMode() const override; |
487 void UpdatePreferredSize(const gfx::Size& pref_size) override; | 487 void UpdatePreferredSize(const gfx::Size& pref_size) override; |
488 void ResizeDueToAutoResize(const gfx::Size& new_size) override; | 488 void ResizeDueToAutoResize(const gfx::Size& new_size) override; |
489 void RequestToLockMouse(bool user_gesture, | 489 void RequestToLockMouse(bool user_gesture, |
490 bool last_unlocked_by_target) override; | 490 bool last_unlocked_by_target) override; |
491 void LostMouseLock() override; | 491 void LostMouseLock() override; |
492 void CreateNewWindow( | 492 void CreateNewWindow( |
493 SiteInstance* source_site_instance, | 493 SiteInstance* source_site_instance, |
494 int route_id, | 494 int32_t route_id, |
495 int main_frame_route_id, | 495 int32_t main_frame_route_id, |
| 496 int32_t main_frame_widget_route_id, |
496 const ViewHostMsg_CreateWindow_Params& params, | 497 const ViewHostMsg_CreateWindow_Params& params, |
497 SessionStorageNamespace* session_storage_namespace) override; | 498 SessionStorageNamespace* session_storage_namespace) override; |
498 void CreateNewWidget(int32 render_process_id, | 499 void CreateNewWidget(int32 render_process_id, |
499 int32 route_id, | 500 int32 route_id, |
500 blink::WebPopupType popup_type) override; | 501 blink::WebPopupType popup_type) override; |
501 void CreateNewFullscreenWidget(int32 render_process_id, | 502 void CreateNewFullscreenWidget(int32 render_process_id, |
502 int32 route_id) override; | 503 int32 route_id) override; |
503 void ShowCreatedWindow(int route_id, | 504 void ShowCreatedWindow(int route_id, |
504 WindowOpenDisposition disposition, | 505 WindowOpenDisposition disposition, |
505 const gfx::Rect& initial_rect, | 506 const gfx::Rect& initial_rect, |
(...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1330 // Adds/removes a callback called on creation of each new WebContents. | 1331 // Adds/removes a callback called on creation of each new WebContents. |
1331 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1332 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1332 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1333 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1333 | 1334 |
1334 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1335 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1335 }; | 1336 }; |
1336 | 1337 |
1337 } // namespace content | 1338 } // namespace content |
1338 | 1339 |
1339 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1340 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |