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

Side by Side Diff: content/public/browser/web_contents_view_delegate.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_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_DELEGATE_H_
7 7
8 #if defined(__OBJC__) 8 #if defined(__OBJC__)
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 #endif 10 #endif
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 // These methods allow the embedder to intercept a WebContentsView's 49 // These methods allow the embedder to intercept a WebContentsView's
50 // implementation of these methods. See the WebContentsView interface 50 // implementation of these methods. See the WebContentsView interface
51 // documentation for more information about these methods. 51 // documentation for more information about these methods.
52 virtual void StoreFocus(); 52 virtual void StoreFocus();
53 virtual void RestoreFocus(); 53 virtual void RestoreFocus();
54 virtual bool Focus(); 54 virtual bool Focus();
55 virtual void TakeFocus(bool reverse); 55 virtual void TakeFocus(bool reverse);
56 virtual void SizeChanged(const gfx::Size& size); 56 virtual void SizeChanged(const gfx::Size& size);
57 57
58 #if defined(TOOLKIT_VIEWS) 58 #if defined(TOOLKIT_VIEWS) || defined(USE_AURA)
59 // Shows a popup window containing the |zoomed_bitmap| of web content with 59 // Shows a popup window containing the |zoomed_bitmap| of web content with
60 // more than one link, allowing the user to more easily select which link 60 // more than one link, allowing the user to more easily select which link
61 // they were trying to touch. |target_rect| is the rectangle in DIPs in the 61 // they were trying to touch. |target_rect| is the rectangle in DIPs in the
62 // coordinate system of |content| that has been scaled up in |zoomed_bitmap|. 62 // coordinate system of |content| that has been scaled up in |zoomed_bitmap|.
63 // Should the popup receive any gesture events they should be translated back 63 // Should the popup receive any gesture events they should be translated back
64 // to the coordinate system of |content| and then provided to the |callback| 64 // to the coordinate system of |content| and then provided to the |callback|
65 // for forwarding on to the original scale web content. 65 // for forwarding on to the original scale web content.
66 virtual void ShowDisambiguationPopup( 66 virtual void ShowDisambiguationPopup(
67 const gfx::Rect& target_rect, 67 const gfx::Rect& target_rect,
68 const SkBitmap& zoomed_bitmap, 68 const SkBitmap& zoomed_bitmap,
(...skipping 14 matching lines...) Expand all
83 RenderWidgetHost* render_widget_host); 83 RenderWidgetHost* render_widget_host);
84 #else 84 #else
85 virtual void* CreateRenderWidgetHostViewDelegate( 85 virtual void* CreateRenderWidgetHostViewDelegate(
86 RenderWidgetHost* render_widget_host); 86 RenderWidgetHost* render_widget_host);
87 #endif 87 #endif
88 }; 88 };
89 89
90 } // namespace content 90 } // namespace content
91 91
92 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_DELEGATE_H_ 92 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_base.h ('k') | content/test/test_render_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698