| 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/browser/dom_ui/web_ui_factory.h" | 12 #include "chrome/browser/dom_ui/web_ui_factory.h" |
| 13 #include "chrome/common/window_container_type.h" | 13 #include "chrome/common/window_container_type.h" |
| 14 #include "gfx/rect.h" | |
| 15 #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" |
| 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; |
| 24 class RenderWidgetHost; | 24 class RenderWidgetHost; |
| 25 class RenderWidgetHostView; | 25 class RenderWidgetHostView; |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 | 112 |
| 113 // Master switch for enabling/disabling GPU acceleration for the current | 113 // Master switch for enabling/disabling GPU acceleration for the current |
| 114 // browser session. It does not change the acceleration settings for | 114 // browser session. It does not change the acceleration settings for |
| 115 // existing tabs, just the future ones. | 115 // existing tabs, just the future ones. |
| 116 static bool gpu_enabled_; | 116 static bool gpu_enabled_; |
| 117 | 117 |
| 118 DISALLOW_COPY_AND_ASSIGN(RenderViewHostDelegateHelper); | 118 DISALLOW_COPY_AND_ASSIGN(RenderViewHostDelegateHelper); |
| 119 }; | 119 }; |
| 120 | 120 |
| 121 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_DELEGATE_HELPER_H_ | 121 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_DELEGATE_HELPER_H_ |
| OLD | NEW |