| 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_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_ | 6 #define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
| 10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 // Stops speaking, if it is currently in progress. | 151 // Stops speaking, if it is currently in progress. |
| 152 virtual void StopSpeaking() = 0; | 152 virtual void StopSpeaking() = 0; |
| 153 #endif // defined(OS_MACOSX) | 153 #endif // defined(OS_MACOSX) |
| 154 | 154 |
| 155 #if defined(TOOLKIT_GTK) | 155 #if defined(TOOLKIT_GTK) |
| 156 // Gets the event for the last mouse down. | 156 // Gets the event for the last mouse down. |
| 157 virtual GdkEventButton* GetLastMouseDown() = 0; | 157 virtual GdkEventButton* GetLastMouseDown() = 0; |
| 158 // Builds a submenu containing all the gtk input method commands. | 158 // Builds a submenu containing all the gtk input method commands. |
| 159 virtual gfx::NativeView BuildInputMethodsGtkMenu() = 0; | 159 virtual gfx::NativeView BuildInputMethodsGtkMenu() = 0; |
| 160 #endif // defined(TOOLKIT_GTK) | 160 #endif // defined(TOOLKIT_GTK) |
| 161 | |
| 162 #if defined(OS_WIN) && !defined(USE_AURA) | |
| 163 // The region specified will be transparent to mouse clicks. | |
| 164 virtual void SetClickthroughRegion(SkRegion* region) = 0; | |
| 165 #endif | |
| 166 }; | 161 }; |
| 167 | 162 |
| 168 } // namespace content | 163 } // namespace content |
| 169 | 164 |
| 170 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_ | 165 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_ |
| OLD | NEW |