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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_base.h

Issue 351683002: Adds link disambiguation popup support to Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: attempt to fix athena build Created 6 years, 2 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
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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
7 7
8 #if defined(OS_MACOSX) 8 #if defined(OS_MACOSX)
9 #include <OpenGL/OpenGL.h> 9 #include <OpenGL/OpenGL.h>
10 #endif 10 #endif
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 328
329 // Gets the bounds of the window, in screen coordinates. 329 // Gets the bounds of the window, in screen coordinates.
330 virtual gfx::Rect GetBoundsInRootWindow() = 0; 330 virtual gfx::Rect GetBoundsInRootWindow() = 0;
331 331
332 virtual gfx::GLSurfaceHandle GetCompositingSurface() = 0; 332 virtual gfx::GLSurfaceHandle GetCompositingSurface() = 0;
333 333
334 virtual void OnTextSurroundingSelectionResponse(const base::string16& content, 334 virtual void OnTextSurroundingSelectionResponse(const base::string16& content,
335 size_t start_offset, 335 size_t start_offset,
336 size_t end_offset) {}; 336 size_t end_offset) {};
337 337
338 #if defined(OS_ANDROID) || defined(TOOLKIT_VIEWS)
339 virtual void ShowDisambiguationPopup(const gfx::Rect& rect_pixels,
340 const SkBitmap& zoomed_bitmap) = 0;
341 #endif
342
338 #if defined(OS_ANDROID) 343 #if defined(OS_ANDROID)
339 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect,
340 const SkBitmap& zoomed_bitmap) = 0;
341
342 // Instructs the view to not drop the surface even when the view is hidden. 344 // Instructs the view to not drop the surface even when the view is hidden.
343 virtual void LockCompositingSurface() = 0; 345 virtual void LockCompositingSurface() = 0;
344 virtual void UnlockCompositingSurface() = 0; 346 virtual void UnlockCompositingSurface() = 0;
345 #endif 347 #endif
346 348
347 #if defined(OS_MACOSX) 349 #if defined(OS_MACOSX)
348 // Does any event handling necessary for plugin IME; should be called after 350 // Does any event handling necessary for plugin IME; should be called after
349 // the plugin has already had a chance to process the event. If plugin IME is 351 // the plugin has already had a chance to process the event. If plugin IME is
350 // not enabled, this is a no-op, so it is always safe to call. 352 // not enabled, this is a no-op, so it is always safe to call.
351 // Returns true if the event was handled by IME. 353 // Returns true if the event was handled by IME.
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; 442 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_;
441 443
442 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; 444 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_;
443 445
444 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 446 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
445 }; 447 };
446 448
447 } // namespace content 449 } // namespace content
448 450
449 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 451 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura.cc ('k') | content/browser/web_contents/web_contents_view_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698