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

Side by Side Diff: content/public/browser/web_contents_view_win_delegate.h

Issue 9700023: Move creation of content TabContentsViews to content so that we can hide these headers through DEPS… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 9 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 | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_WIN_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_WIN_DELEGATE_H_
7 #pragma once
8
9 #include "content/common/content_export.h"
10 #include "ui/gfx/native_widget_types.h"
11
12 namespace gfx {
13 class Size;
14 }
15
16 namespace content {
17
18 class WebDragDestDelegate;
19 struct ContextMenuParams;
20
21 // This interface allows a client to extend the functionality of
22 // WebContentsViewWin.
23 class CONTENT_EXPORT WebContentsViewWinDelegate {
24 public:
25 virtual ~WebContentsViewWinDelegate() {}
26
27 // Returns a delegate to process drags not handled by content.
28 virtual WebDragDestDelegate* GetDragDestDelegate() = 0;
29
30 // These methods allow the embedder to intercept WebContentsViewWin's
31 // implementation of these WebContentsView methods. See the WebContentsView
32 // interface documentation for more information about these methods.
33 virtual void StoreFocus() = 0;
34 virtual void RestoreFocus() = 0;
35 virtual bool Focus() = 0;
36 virtual void TakeFocus(bool reverse) = 0;
37 virtual void ShowContextMenu(const content::ContextMenuParams& params) = 0;
38 virtual void SizeChanged(const gfx::Size& size) = 0;
39 };
40
41 } // namespace content
42
43 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_WIN_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698