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 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GTK_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GTK_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GTK_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GTK_H_ |
7 #pragma once | |
8 | 7 |
9 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
10 | 9 |
11 #include <vector> | 10 #include <vector> |
12 | 11 |
13 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
14 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
15 #include "content/port/browser/render_view_host_delegate_view.h" | 14 #include "content/port/browser/render_view_host_delegate_view.h" |
16 #include "content/public/browser/web_contents_view.h" | 15 #include "content/public/browser/web_contents_view.h" |
17 #include "ui/base/gtk/focus_store_gtk.h" | 16 #include "ui/base/gtk/focus_store_gtk.h" |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 // The size we want the view to be. We keep this in a separate variable | 132 // The size we want the view to be. We keep this in a separate variable |
134 // because resizing in GTK+ is async. | 133 // because resizing in GTK+ is async. |
135 gfx::Size requested_size_; | 134 gfx::Size requested_size_; |
136 | 135 |
137 DISALLOW_COPY_AND_ASSIGN(WebContentsViewGtk); | 136 DISALLOW_COPY_AND_ASSIGN(WebContentsViewGtk); |
138 }; | 137 }; |
139 | 138 |
140 } // namespace content | 139 } // namespace content |
141 | 140 |
142 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GTK_H_ | 141 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GTK_H_ |
OLD | NEW |