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

Side by Side Diff: chrome/browser/external_tab/external_tab_container.h

Issue 10987047: Remove WebContentsDelegate::ExecuteContextMenuCommand since it's not called by content. Since it's … (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: also GetFrameNativeWindow Created 8 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 | Annotate | Revision Log
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 CHROME_BROWSER_EXTERNAL_TAB_EXTERNAL_TAB_CONTAINER_H_ 5 #ifndef CHROME_BROWSER_EXTERNAL_TAB_EXTERNAL_TAB_CONTAINER_H_
6 #define CHROME_BROWSER_EXTERNAL_TAB_EXTERNAL_TAB_CONTAINER_H_ 6 #define CHROME_BROWSER_EXTERNAL_TAB_EXTERNAL_TAB_CONTAINER_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 virtual content::WebContents* GetWebContents() const = 0; 82 virtual content::WebContents* GetWebContents() const = 0;
83 83
84 virtual TabContents* GetTabContents() = 0; 84 virtual TabContents* GetTabContents() = 0;
85 85
86 // This is a wrapper for GetNativeView from ExternalTabContainerWin. 86 // This is a wrapper for GetNativeView from ExternalTabContainerWin.
87 virtual gfx::NativeView GetExternalTabNativeView() const = 0; 87 virtual gfx::NativeView GetExternalTabNativeView() const = 0;
88 88
89 virtual void SetTabHandle(int handle) = 0; 89 virtual void SetTabHandle(int handle) = 0;
90 virtual int GetTabHandle() const = 0; 90 virtual int GetTabHandle() const = 0;
91 91
92 // Returns true if the context menu command was handled
93 virtual bool ExecuteContextMenuCommand(int command) = 0;
94
92 protected: 95 protected:
93 virtual ~ExternalTabContainer() {} 96 virtual ~ExternalTabContainer() {}
94 97
95 private: 98 private:
96 friend class base::RefCounted<ExternalTabContainer>; 99 friend class base::RefCounted<ExternalTabContainer>;
97 }; 100 };
98 101
99 #endif // CHROME_BROWSER_EXTERNAL_TAB_EXTERNAL_TAB_CONTAINER_H_ 102 #endif // CHROME_BROWSER_EXTERNAL_TAB_EXTERNAL_TAB_CONTAINER_H_
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_provider_win.cc ('k') | chrome/browser/ui/views/external_tab_container_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698