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

Side by Side Diff: content/public/browser/render_widget_host_view.h

Issue 137403005: Remove some code inside USE_AURA and OS_WIN ifdefs. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 11 months 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
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698