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

Side by Side Diff: chrome/browser/views/tab_contents/tab_contents_view_gtk.cc

Issue 1132006: Move app/gfx/canvas and app/gfx/font to gfx/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 9 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/views/tab_contents/tab_contents_view_gtk.h" 5 #include "chrome/browser/views/tab_contents/tab_contents_view_gtk.h"
6 6
7 #include <gdk/gdk.h> 7 #include <gdk/gdk.h>
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include "app/gfx/canvas_paint.h"
11 #include "base/string_util.h" 10 #include "base/string_util.h"
12 #include "build/build_config.h" 11 #include "build/build_config.h"
13 #include "chrome/browser/download/download_shelf.h" 12 #include "chrome/browser/download/download_shelf.h"
14 #include "chrome/browser/gtk/constrained_window_gtk.h" 13 #include "chrome/browser/gtk/constrained_window_gtk.h"
15 #include "chrome/browser/gtk/tab_contents_drag_source.h" 14 #include "chrome/browser/gtk/tab_contents_drag_source.h"
16 #include "chrome/browser/renderer_host/render_view_host.h" 15 #include "chrome/browser/renderer_host/render_view_host.h"
17 #include "chrome/browser/renderer_host/render_view_host_factory.h" 16 #include "chrome/browser/renderer_host/render_view_host_factory.h"
18 #include "chrome/browser/renderer_host/render_widget_host_view_gtk.h" 17 #include "chrome/browser/renderer_host/render_widget_host_view_gtk.h"
19 #include "chrome/browser/tab_contents/interstitial_page.h" 18 #include "chrome/browser/tab_contents/interstitial_page.h"
20 #include "chrome/browser/tab_contents/tab_contents.h" 19 #include "chrome/browser/tab_contents/tab_contents.h"
21 #include "chrome/browser/tab_contents/tab_contents_delegate.h" 20 #include "chrome/browser/tab_contents/tab_contents_delegate.h"
22 #include "chrome/browser/tab_contents/web_drag_dest_gtk.h" 21 #include "chrome/browser/tab_contents/web_drag_dest_gtk.h"
23 #include "chrome/browser/views/sad_tab_view.h" 22 #include "chrome/browser/views/sad_tab_view.h"
24 #include "chrome/browser/views/tab_contents/render_view_context_menu_gtk.h" 23 #include "chrome/browser/views/tab_contents/render_view_context_menu_gtk.h"
24 #include "gfx/canvas_paint.h"
25 #include "gfx/point.h" 25 #include "gfx/point.h"
26 #include "gfx/rect.h" 26 #include "gfx/rect.h"
27 #include "gfx/size.h" 27 #include "gfx/size.h"
28 #include "views/controls/native/native_view_host.h" 28 #include "views/controls/native/native_view_host.h"
29 #include "views/focus/view_storage.h" 29 #include "views/focus/view_storage.h"
30 #include "views/screen.h" 30 #include "views/screen.h"
31 #include "views/widget/root_view.h" 31 #include "views/widget/root_view.h"
32 32
33 using WebKit::WebDragOperation; 33 using WebKit::WebDragOperation;
34 using WebKit::WebDragOperationsMask; 34 using WebKit::WebDragOperationsMask;
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 // not NULL, else our delegate. 441 // not NULL, else our delegate.
442 gboolean TabContentsViewGtk::OnMouseMove(GtkWidget* widget, 442 gboolean TabContentsViewGtk::OnMouseMove(GtkWidget* widget,
443 GdkEventMotion* event) { 443 GdkEventMotion* event) {
444 if (sad_tab_ != NULL) 444 if (sad_tab_ != NULL)
445 WidgetGtk::OnMotionNotify(widget, event); 445 WidgetGtk::OnMotionNotify(widget, event);
446 else if (tab_contents()->delegate()) 446 else if (tab_contents()->delegate())
447 tab_contents()->delegate()->ContentsMouseEvent( 447 tab_contents()->delegate()->ContentsMouseEvent(
448 tab_contents(), views::Screen::GetCursorScreenPoint(), true); 448 tab_contents(), views::Screen::GetCursorScreenPoint(), true);
449 return FALSE; 449 return FALSE;
450 } 450 }
OLDNEW
« no previous file with comments | « chrome/browser/views/status_bubble_views.cc ('k') | chrome/browser/views/tab_contents/tab_contents_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698