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 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
473 void RunFileChooser(RenderViewHost* render_view_host, | 473 void RunFileChooser(RenderViewHost* render_view_host, |
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 int render_process_id, | 483 SiteInstance* source_site_instance, |
484 int route_id, | 484 int route_id, |
485 int main_frame_route_id, | 485 int main_frame_route_id, |
486 const ViewHostMsg_CreateWindow_Params& params, | 486 const ViewHostMsg_CreateWindow_Params& params, |
487 SessionStorageNamespace* session_storage_namespace) override; | 487 SessionStorageNamespace* session_storage_namespace) override; |
488 void CreateNewWidget(int render_process_id, | 488 void CreateNewWidget(int render_process_id, |
489 int route_id, | 489 int route_id, |
490 blink::WebPopupType popup_type) override; | 490 blink::WebPopupType popup_type) override; |
491 void CreateNewFullscreenWidget(int render_process_id, int route_id) override; | 491 void CreateNewFullscreenWidget(int render_process_id, int route_id) override; |
492 void ShowCreatedWindow(int route_id, | 492 void ShowCreatedWindow(int route_id, |
493 WindowOpenDisposition disposition, | 493 WindowOpenDisposition disposition, |
(...skipping 805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1299 // Adds/removes a callback called on creation of each new WebContents. | 1299 // Adds/removes a callback called on creation of each new WebContents. |
1300 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1300 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1301 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1301 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1302 | 1302 |
1303 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1303 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1304 }; | 1304 }; |
1305 | 1305 |
1306 } // namespace content | 1306 } // namespace content |
1307 | 1307 |
1308 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1308 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |