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

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

Issue 596373002: Fix Ozone build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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) 338 #if defined(OS_ANDROID) || defined(TOOLKIT_VIEWS) || defined(USE_AURA)
339 virtual void ShowDisambiguationPopup(const gfx::Rect& rect_pixels, 339 virtual void ShowDisambiguationPopup(const gfx::Rect& rect_pixels,
340 const SkBitmap& zoomed_bitmap) = 0; 340 const SkBitmap& zoomed_bitmap) = 0;
341 #endif 341 #endif
342 342
343 #if defined(OS_ANDROID) 343 #if defined(OS_ANDROID)
344 // 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.
345 virtual void LockCompositingSurface() = 0; 345 virtual void LockCompositingSurface() = 0;
346 virtual void UnlockCompositingSurface() = 0; 346 virtual void UnlockCompositingSurface() = 0;
347 #endif 347 #endif
348 348
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; 442 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_;
443 443
444 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; 444 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_;
445 445
446 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 446 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
447 }; 447 };
448 448
449 } // namespace content 449 } // namespace content
450 450
451 #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_view_host_delegate_view.h ('k') | content/public/browser/web_contents_view_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698