| 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 #include "content/browser/web_contents/web_contents_view_win.h" | 5 #include "content/browser/web_contents/web_contents_view_win.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/memory/scoped_vector.h" | 8 #include "base/memory/scoped_vector.h" |
| 9 #include "content/browser/frame_host/interstitial_page_impl.h" |
| 9 #include "content/browser/renderer_host/render_view_host_factory.h" | 10 #include "content/browser/renderer_host/render_view_host_factory.h" |
| 10 #include "content/browser/renderer_host/render_view_host_impl.h" | 11 #include "content/browser/renderer_host/render_view_host_impl.h" |
| 11 #include "content/browser/renderer_host/render_widget_host_view_win.h" | 12 #include "content/browser/renderer_host/render_widget_host_view_win.h" |
| 12 #include "content/browser/web_contents/interstitial_page_impl.h" | |
| 13 #include "content/browser/web_contents/web_contents_drag_win.h" | 13 #include "content/browser/web_contents/web_contents_drag_win.h" |
| 14 #include "content/browser/web_contents/web_contents_impl.h" | 14 #include "content/browser/web_contents/web_contents_impl.h" |
| 15 #include "content/browser/web_contents/web_drag_dest_win.h" | 15 #include "content/browser/web_contents/web_drag_dest_win.h" |
| 16 #include "content/public/browser/web_contents_delegate.h" | 16 #include "content/public/browser/web_contents_delegate.h" |
| 17 #include "content/public/browser/web_contents_view_delegate.h" | 17 #include "content/public/browser/web_contents_view_delegate.h" |
| 18 #include "ui/base/win/hidden_window.h" | 18 #include "ui/base/win/hidden_window.h" |
| 19 #include "ui/base/win/hwnd_subclass.h" | 19 #include "ui/base/win/hwnd_subclass.h" |
| 20 #include "ui/gfx/screen.h" | 20 #include "ui/gfx/screen.h" |
| 21 | 21 |
| 22 namespace content { | 22 namespace content { |
| (...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 456 si.nPage = 10; | 456 si.nPage = 10; |
| 457 si.nPos = 50; | 457 si.nPos = 50; |
| 458 | 458 |
| 459 ::SetScrollInfo(hwnd(), SB_HORZ, &si, FALSE); | 459 ::SetScrollInfo(hwnd(), SB_HORZ, &si, FALSE); |
| 460 ::SetScrollInfo(hwnd(), SB_VERT, &si, FALSE); | 460 ::SetScrollInfo(hwnd(), SB_VERT, &si, FALSE); |
| 461 | 461 |
| 462 return 1; | 462 return 1; |
| 463 } | 463 } |
| 464 | 464 |
| 465 } // namespace content | 465 } // namespace content |
| OLD | NEW |