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

Side by Side Diff: content/shell/browser/shell_web_contents_view_delegate.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_SHELL_BROWSER_SHELL_WEB_CONTENTS_VIEW_DELEGATE_H_ 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_WEB_CONTENTS_VIEW_DELEGATE_H_
6 #define CONTENT_SHELL_BROWSER_SHELL_WEB_CONTENTS_VIEW_DELEGATE_H_ 6 #define CONTENT_SHELL_BROWSER_SHELL_WEB_CONTENTS_VIEW_DELEGATE_H_
7 7
8 #include "content/public/browser/web_contents.h" 8 #include "content/public/browser/web_contents.h"
9 #include "content/public/browser/web_contents_view_delegate.h" 9 #include "content/public/browser/web_contents_view_delegate.h"
10 #include "content/public/common/context_menu_params.h" 10 #include "content/public/common/context_menu_params.h"
(...skipping 15 matching lines...) Expand all
26 CreateRenderWidgetHostViewDelegate( 26 CreateRenderWidgetHostViewDelegate(
27 RenderWidgetHost* render_widget_host) OVERRIDE; 27 RenderWidgetHost* render_widget_host) OVERRIDE;
28 void ActionPerformed(int id); 28 void ActionPerformed(int id);
29 #elif defined(OS_WIN) 29 #elif defined(OS_WIN)
30 virtual void StoreFocus() OVERRIDE; 30 virtual void StoreFocus() OVERRIDE;
31 virtual void RestoreFocus() OVERRIDE; 31 virtual void RestoreFocus() OVERRIDE;
32 virtual bool Focus() OVERRIDE; 32 virtual bool Focus() OVERRIDE;
33 virtual void TakeFocus(bool reverse) OVERRIDE; 33 virtual void TakeFocus(bool reverse) OVERRIDE;
34 virtual void SizeChanged(const gfx::Size& size) OVERRIDE; 34 virtual void SizeChanged(const gfx::Size& size) OVERRIDE;
35 void MenuItemSelected(int selection); 35 void MenuItemSelected(int selection);
36 virtual void ShowLinkDisambiguationPopup(const gfx::Rect& target_rect,
sky 2014/08/04 20:05:20 OS_WIN->TOOLKIT_VIEWS
luken 2014/09/11 01:07:28 Done.
37 const SkBitmap& zoomed_bitmap,
38 const gfx::NativeView content,
39 const GestureCallback callback)
40 OVERRIDE;
36 #endif 41 #endif
37 42
38 private: 43 private:
39 WebContents* web_contents_; 44 WebContents* web_contents_;
40 ContextMenuParams params_; 45 ContextMenuParams params_;
41 46
42 DISALLOW_COPY_AND_ASSIGN(ShellWebContentsViewDelegate); 47 DISALLOW_COPY_AND_ASSIGN(ShellWebContentsViewDelegate);
43 }; 48 };
44 49
45 } // namespace content 50 } // namespace content
46 51
47 #endif // CONTENT_SHELL_BROWSER_SHELL_WEB_CONTENTS_VIEW_DELEGATE_H_ 52 #endif // CONTENT_SHELL_BROWSER_SHELL_WEB_CONTENTS_VIEW_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698