Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: content/browser/web_contents/web_contents_view_win.cc

Issue 10804031: Move more files into the content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/renderer_host/render_view_host_factory.h" 9 #include "content/browser/renderer_host/render_view_host_factory.h"
10 #include "content/browser/renderer_host/render_view_host_impl.h" 10 #include "content/browser/renderer_host/render_view_host_impl.h"
11 #include "content/browser/renderer_host/render_widget_host_view_win.h" 11 #include "content/browser/renderer_host/render_widget_host_view_win.h"
12 #include "content/browser/web_contents/interstitial_page_impl.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/hwnd_subclass.h" 18 #include "ui/base/win/hwnd_subclass.h"
19 #include "ui/gfx/screen.h" 19 #include "ui/gfx/screen.h"
20 20
21 using content::RenderViewHost; 21 using content::RenderViewHost;
22 using content::RenderWidgetHostView; 22 using content::RenderWidgetHostView;
23 using content::RenderWidgetHostViewWin;
23 using content::WebContents; 24 using content::WebContents;
24 using content::WebContentsViewDelegate; 25 using content::WebContentsViewDelegate;
25 26
26 namespace content { 27 namespace content {
27 WebContentsView* CreateWebContentsView( 28 WebContentsView* CreateWebContentsView(
28 WebContentsImpl* web_contents, 29 WebContentsImpl* web_contents,
29 WebContentsViewDelegate* delegate, 30 WebContentsViewDelegate* delegate,
30 RenderViewHostDelegateView** render_view_host_delegate_view) { 31 RenderViewHostDelegateView** render_view_host_delegate_view) {
31 WebContentsViewWin* rv = new WebContentsViewWin(web_contents, delegate); 32 WebContentsViewWin* rv = new WebContentsViewWin(web_contents, delegate);
32 *render_view_host_delegate_view = rv; 33 *render_view_host_delegate_view = rv;
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 si.nMin = 1; 523 si.nMin = 1;
523 si.nMax = 100; 524 si.nMax = 100;
524 si.nPage = 10; 525 si.nPage = 10;
525 si.nPos = 50; 526 si.nPos = 50;
526 527
527 ::SetScrollInfo(hwnd(), SB_HORZ, &si, FALSE); 528 ::SetScrollInfo(hwnd(), SB_HORZ, &si, FALSE);
528 ::SetScrollInfo(hwnd(), SB_VERT, &si, FALSE); 529 ::SetScrollInfo(hwnd(), SB_VERT, &si, FALSE);
529 530
530 return 1; 531 return 1;
531 } 532 }
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_view_win.h ('k') | content/port/browser/render_widget_host_view_port.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698