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

Side by Side Diff: content/port/browser/render_widget_host_view_port.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_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 5 #ifndef CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 virtual bool PostProcessEventForPluginIme( 328 virtual bool PostProcessEventForPluginIme(
329 const NativeWebKeyboardEvent& event) = 0; 329 const NativeWebKeyboardEvent& event) = 0;
330 #endif 330 #endif
331 331
332 #if defined(OS_ANDROID) 332 #if defined(OS_ANDROID)
333 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, 333 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect,
334 const SkBitmap& zoomed_bitmap) = 0; 334 const SkBitmap& zoomed_bitmap) = 0;
335 virtual void HasTouchEventHandlers(bool need_touch_events) = 0; 335 virtual void HasTouchEventHandlers(bool need_touch_events) = 0;
336 #endif 336 #endif
337 337
338 #if defined(OS_WIN) && !defined(USE_AURA) 338 #if defined(OS_WIN)
339 virtual void WillWmDestroy() = 0;
340 #endif
341
342 #if defined(OS_WIN) && defined(USE_AURA)
343 virtual void SetParentNativeViewAccessible( 339 virtual void SetParentNativeViewAccessible(
344 gfx::NativeViewAccessible accessible_parent) = 0; 340 gfx::NativeViewAccessible accessible_parent) = 0;
345 341
346 // Returns an HWND that's given as the parent window for windowless Flash to 342 // Returns an HWND that's given as the parent window for windowless Flash to
347 // workaround crbug.com/301548. 343 // workaround crbug.com/301548.
348 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const = 0; 344 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const = 0;
349 #endif 345 #endif
350 }; 346 };
351 347
352 } // namespace content 348 } // namespace content
353 349
354 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 350 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698