OLD | NEW |
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 #ifndef CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_DELEGATE_HELPER_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_DELEGATE_HELPER_H_ |
6 #define CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_DELEGATE_HELPER_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_DELEGATE_HELPER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "chrome/common/window_container_type.h" | |
13 #include "content/browser/webui/web_ui_factory.h" | 12 #include "content/browser/webui/web_ui_factory.h" |
| 13 #include "content/common/window_container_type.h" |
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" |
15 #include "ui/gfx/rect.h" | 15 #include "ui/gfx/rect.h" |
16 #include "webkit/glue/webpreferences.h" | 16 #include "webkit/glue/webpreferences.h" |
17 #include "webkit/glue/window_open_disposition.h" | 17 #include "webkit/glue/window_open_disposition.h" |
18 | 18 |
19 class BackgroundContents; | 19 class BackgroundContents; |
20 class Profile; | 20 class Profile; |
21 class RenderProcessHost; | 21 class RenderProcessHost; |
22 class RenderViewHost; | 22 class RenderViewHost; |
23 class RenderViewHostDelegate; | 23 class RenderViewHostDelegate; |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 | 110 |
111 // Master switch for enabling/disabling GPU acceleration for the current | 111 // Master switch for enabling/disabling GPU acceleration for the current |
112 // browser session. It does not change the acceleration settings for | 112 // browser session. It does not change the acceleration settings for |
113 // existing tabs, just the future ones. | 113 // existing tabs, just the future ones. |
114 static bool gpu_enabled_; | 114 static bool gpu_enabled_; |
115 | 115 |
116 DISALLOW_COPY_AND_ASSIGN(RenderViewHostDelegateHelper); | 116 DISALLOW_COPY_AND_ASSIGN(RenderViewHostDelegateHelper); |
117 }; | 117 }; |
118 | 118 |
119 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_DELEGATE_HELPER_H_ | 119 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_DELEGATE_HELPER_H_ |
OLD | NEW |