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

Side by Side Diff: chrome/browser/ui/views/tab_contents/tab_contents_view_win.cc

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "chrome/browser/ui/views/tab_contents/tab_contents_view_win.h" 5 #include "chrome/browser/ui/views/tab_contents/tab_contents_view_win.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 8
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/time.h" 11 #include "base/time.h"
12 #include "chrome/browser/download/download_request_limiter.h" 12 #include "chrome/browser/download/download_request_limiter.h"
13 #include "chrome/browser/renderer_host/render_process_host.h" 13 #include "chrome/browser/renderer_host/render_process_host.h"
14 #include "chrome/browser/renderer_host/render_view_host.h" 14 #include "chrome/browser/renderer_host/render_view_host.h"
15 #include "chrome/browser/renderer_host/render_view_host_factory.h" 15 #include "chrome/browser/renderer_host/render_view_host_factory.h"
16 #include "chrome/browser/renderer_host/render_widget_host_view_win.h" 16 #include "chrome/browser/renderer_host/render_widget_host_view_win.h"
17 #include "chrome/browser/tab_contents/interstitial_page.h" 17 #include "chrome/browser/tab_contents/interstitial_page.h"
18 #include "chrome/browser/tab_contents/tab_contents.h" 18 #include "chrome/browser/tab_contents/tab_contents.h"
19 #include "chrome/browser/tab_contents/tab_contents_delegate.h" 19 #include "chrome/browser/tab_contents/tab_contents_delegate.h"
20 #include "chrome/browser/tab_contents/web_drop_target_win.h" 20 #include "chrome/browser/tab_contents/web_drop_target_win.h"
21 #include "chrome/browser/ui/views/sad_tab_view.h" 21 #include "chrome/browser/ui/views/sad_tab_view.h"
22 #include "chrome/browser/ui/views/tab_contents/render_view_context_menu_views.h" 22 #include "chrome/browser/ui/views/tab_contents/render_view_context_menu_views.h"
23 #include "chrome/browser/ui/views/tab_contents/tab_contents_drag_win.h" 23 #include "chrome/browser/ui/views/tab_contents/tab_contents_drag_win.h"
24 #include "gfx/canvas_skia_paint.h" 24 #include "ui/gfx/canvas_skia_paint.h"
25 #include "views/focus/view_storage.h" 25 #include "views/focus/view_storage.h"
26 #include "views/screen.h" 26 #include "views/screen.h"
27 #include "views/widget/root_view.h" 27 #include "views/widget/root_view.h"
28 28
29 using WebKit::WebDragOperation; 29 using WebKit::WebDragOperation;
30 using WebKit::WebDragOperationNone; 30 using WebKit::WebDragOperationNone;
31 using WebKit::WebDragOperationsMask; 31 using WebKit::WebDragOperationsMask;
32 using WebKit::WebInputEvent; 32 using WebKit::WebInputEvent;
33 33
34 // static 34 // static
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
573 } 573 }
574 return false; 574 return false;
575 } 575 }
576 576
577 void TabContentsViewWin::WheelZoom(int distance) { 577 void TabContentsViewWin::WheelZoom(int distance) {
578 if (tab_contents()->delegate()) { 578 if (tab_contents()->delegate()) {
579 bool zoom_in = distance > 0; 579 bool zoom_in = distance > 0;
580 tab_contents()->delegate()->ContentsZoomChange(zoom_in); 580 tab_contents()->delegate()->ContentsZoomChange(zoom_in);
581 } 581 }
582 } 582 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tab_contents/tab_contents_view_win.h ('k') | chrome/browser/ui/views/tab_icon_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698