| 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 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 460 void Deactivate() override; | 460 void Deactivate() override; |
| 461 void LostCapture() override; | 461 void LostCapture() override; |
| 462 void HandleMouseDown() override; | 462 void HandleMouseDown() override; |
| 463 void HandleMouseUp() override; | 463 void HandleMouseUp() override; |
| 464 void HandlePointerActivate() override; | 464 void HandlePointerActivate() override; |
| 465 void HandleGestureBegin() override; | 465 void HandleGestureBegin() override; |
| 466 void HandleGestureEnd() override; | 466 void HandleGestureEnd() override; |
| 467 void RunFileChooser(RenderViewHost* render_view_host, | 467 void RunFileChooser(RenderViewHost* render_view_host, |
| 468 const FileChooserParams& params) override; | 468 const FileChooserParams& params) override; |
| 469 bool IsFullscreenForCurrentTab() const override; | 469 bool IsFullscreenForCurrentTab() const override; |
| 470 blink::WebDisplayMode GetDisplayMode() const override; |
| 470 void UpdatePreferredSize(const gfx::Size& pref_size) override; | 471 void UpdatePreferredSize(const gfx::Size& pref_size) override; |
| 471 void ResizeDueToAutoResize(const gfx::Size& new_size) override; | 472 void ResizeDueToAutoResize(const gfx::Size& new_size) override; |
| 472 void RequestToLockMouse(bool user_gesture, | 473 void RequestToLockMouse(bool user_gesture, |
| 473 bool last_unlocked_by_target) override; | 474 bool last_unlocked_by_target) override; |
| 474 void LostMouseLock() override; | 475 void LostMouseLock() override; |
| 475 void CreateNewWindow( | 476 void CreateNewWindow( |
| 476 int render_process_id, | 477 int render_process_id, |
| 477 int route_id, | 478 int route_id, |
| 478 int main_frame_route_id, | 479 int main_frame_route_id, |
| 479 const ViewHostMsg_CreateWindow_Params& params, | 480 const ViewHostMsg_CreateWindow_Params& params, |
| (...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1282 // Adds/removes a callback called on creation of each new WebContents. | 1283 // Adds/removes a callback called on creation of each new WebContents. |
| 1283 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1284 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1284 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1285 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1285 | 1286 |
| 1286 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1287 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1287 }; | 1288 }; |
| 1288 | 1289 |
| 1289 } // namespace content | 1290 } // namespace content |
| 1290 | 1291 |
| 1291 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1292 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |