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

Side by Side Diff: views/widget/gtk_views_window.cc

Issue 8566052: views: Delete bubble, events, focus, layout directories and its stubbed files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win Created 9 years, 1 month 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
« no previous file with comments | « views/view_unittest.cc ('k') | views/widget/native_widget_gtk.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <gtk/gtk.h> 5 #include <gtk/gtk.h>
6 #include "views/events/event.h" 6
7 #include "views/focus/focus_manager.h" 7 #include "ui/views/events/event.h"
8 #include "ui/views/focus/focus_manager.h"
8 #include "views/widget/gtk_views_window.h" 9 #include "views/widget/gtk_views_window.h"
9 #include "views/widget/widget.h" 10 #include "views/widget/widget.h"
10 11
11 G_BEGIN_DECLS 12 G_BEGIN_DECLS
12 13
13 G_DEFINE_TYPE(GtkViewsWindow, gtk_views_window, GTK_TYPE_WINDOW) 14 G_DEFINE_TYPE(GtkViewsWindow, gtk_views_window, GTK_TYPE_WINDOW)
14 15
15 static void gtk_views_window_move_focus(GtkWindow* window, 16 static void gtk_views_window_move_focus(GtkWindow* window,
16 GtkDirectionType dir) { 17 GtkDirectionType dir) {
17 views::Widget* widget = views::Widget::GetWidgetForNativeWindow(window); 18 views::Widget* widget = views::Widget::GetWidgetForNativeWindow(window);
(...skipping 18 matching lines...) Expand all
36 } 37 }
37 38
38 static void gtk_views_window_init(GtkViewsWindow* window) { 39 static void gtk_views_window_init(GtkViewsWindow* window) {
39 } 40 }
40 41
41 GtkWidget* gtk_views_window_new(GtkWindowType type) { 42 GtkWidget* gtk_views_window_new(GtkWindowType type) {
42 return GTK_WIDGET(g_object_new(GTK_TYPE_VIEWS_WINDOW, "type", type, NULL)); 43 return GTK_WIDGET(g_object_new(GTK_TYPE_VIEWS_WINDOW, "type", type, NULL));
43 } 44 }
44 45
45 G_END_DECLS 46 G_END_DECLS
OLDNEW
« no previous file with comments | « views/view_unittest.cc ('k') | views/widget/native_widget_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698