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

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: removed scrolling cruft Created 6 years, 4 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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 317
318 // Gets the bounds of the window, in screen coordinates. 318 // Gets the bounds of the window, in screen coordinates.
319 virtual gfx::Rect GetBoundsInRootWindow() = 0; 319 virtual gfx::Rect GetBoundsInRootWindow() = 0;
320 320
321 virtual gfx::GLSurfaceHandle GetCompositingSurface() = 0; 321 virtual gfx::GLSurfaceHandle GetCompositingSurface() = 0;
322 322
323 virtual void OnTextSurroundingSelectionResponse(const base::string16& content, 323 virtual void OnTextSurroundingSelectionResponse(const base::string16& content,
324 size_t start_offset, 324 size_t start_offset,
325 size_t end_offset) {}; 325 size_t end_offset) {};
326 326
327 #if defined(OS_ANDROID) 327 #if defined(OS_ANDROID) || defined(OS_WIN)
sky 2014/08/04 20:05:20 OS_WIN->TOOLKIT_VIEWS
luken 2014/09/11 01:07:27 Done.
328 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, 328 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect,
329 const SkBitmap& zoomed_bitmap) = 0; 329 const SkBitmap& zoomed_bitmap) = 0;
330 #endif
330 331
332 #if defined(OS_ANDROID)
331 // Instructs the view to not drop the surface even when the view is hidden. 333 // Instructs the view to not drop the surface even when the view is hidden.
332 virtual void LockCompositingSurface() = 0; 334 virtual void LockCompositingSurface() = 0;
333 virtual void UnlockCompositingSurface() = 0; 335 virtual void UnlockCompositingSurface() = 0;
334 #endif 336 #endif
335 337
336 #if defined(OS_MACOSX) 338 #if defined(OS_MACOSX)
337 // Does any event handling necessary for plugin IME; should be called after 339 // Does any event handling necessary for plugin IME; should be called after
338 // the plugin has already had a chance to process the event. If plugin IME is 340 // the plugin has already had a chance to process the event. If plugin IME is
339 // not enabled, this is a no-op, so it is always safe to call. 341 // not enabled, this is a no-op, so it is always safe to call.
340 // Returns true if the event was handled by IME. 342 // Returns true if the event was handled by IME.
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 uint32 renderer_frame_number_; 429 uint32 renderer_frame_number_;
428 430
429 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; 431 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_;
430 432
431 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 433 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
432 }; 434 };
433 435
434 } // namespace content 436 } // namespace content
435 437
436 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 438 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698