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

Side by Side Diff: content/browser/web_contents/web_contents_view_mac.h

Issue 10378026: Reland 135525 - Add a first-class off-store install UI to chrome://extensions/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_
7 #pragma once 7 #pragma once
8 8
9 #if defined(__OBJC__) 9 #if defined(__OBJC__)
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 virtual void SetPageTitle(const string16& title) OVERRIDE; 70 virtual void SetPageTitle(const string16& title) OVERRIDE;
71 virtual void OnTabCrashed(base::TerminationStatus status, 71 virtual void OnTabCrashed(base::TerminationStatus status,
72 int error_code) OVERRIDE; 72 int error_code) OVERRIDE;
73 virtual void SizeContents(const gfx::Size& size) OVERRIDE; 73 virtual void SizeContents(const gfx::Size& size) OVERRIDE;
74 virtual void Focus() OVERRIDE; 74 virtual void Focus() OVERRIDE;
75 virtual void SetInitialFocus() OVERRIDE; 75 virtual void SetInitialFocus() OVERRIDE;
76 virtual void StoreFocus() OVERRIDE; 76 virtual void StoreFocus() OVERRIDE;
77 virtual void RestoreFocus() OVERRIDE; 77 virtual void RestoreFocus() OVERRIDE;
78 virtual bool IsDoingDrag() const OVERRIDE; 78 virtual bool IsDoingDrag() const OVERRIDE;
79 virtual void CancelDragAndCloseTab() OVERRIDE; 79 virtual void CancelDragAndCloseTab() OVERRIDE;
80 virtual WebDropData* GetDropData() const OVERRIDE;
80 virtual bool IsEventTracking() const OVERRIDE; 81 virtual bool IsEventTracking() const OVERRIDE;
81 virtual void CloseTabAfterEventTracking() OVERRIDE; 82 virtual void CloseTabAfterEventTracking() OVERRIDE;
82 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE; 83 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE;
83 84
84 // Backend implementation of RenderViewHostDelegate::View. 85 // Backend implementation of RenderViewHostDelegate::View.
85 virtual void CreateNewWindow( 86 virtual void CreateNewWindow(
86 int route_id, 87 int route_id,
87 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE; 88 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE;
88 virtual void CreateNewWidget(int route_id, 89 virtual void CreateNewWidget(int route_id,
89 WebKit::WebPopupType popup_type) OVERRIDE; 90 WebKit::WebPopupType popup_type) OVERRIDE;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 } 149 }
149 150
150 namespace web_contents_view_mac { 151 namespace web_contents_view_mac {
151 // Creates a WebContentsViewMac. Takes ownership of |delegate|. 152 // Creates a WebContentsViewMac. Takes ownership of |delegate|.
152 CONTENT_EXPORT content::WebContentsView* CreateWebContentsView( 153 CONTENT_EXPORT content::WebContentsView* CreateWebContentsView(
153 WebContentsImpl* web_contents, 154 WebContentsImpl* web_contents,
154 content::WebContentsViewDelegate* delegate); 155 content::WebContentsViewDelegate* delegate);
155 } 156 }
156 157
157 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ 158 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_view_gtk.cc ('k') | content/browser/web_contents/web_contents_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698