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

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

Issue 589403004: Remove page id from ViewHostMsg_UpdateTargetURL; no one actually uses it on the browser side. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: android 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
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 // Request the delegate to move this WebContents to the specified position 137 // Request the delegate to move this WebContents to the specified position
138 // in screen coordinates. 138 // in screen coordinates.
139 virtual void MoveContents(WebContents* source, const gfx::Rect& pos) {} 139 virtual void MoveContents(WebContents* source, const gfx::Rect& pos) {}
140 140
141 // Called to determine if the WebContents is contained in a popup window 141 // Called to determine if the WebContents is contained in a popup window
142 // or a panel window. 142 // or a panel window.
143 virtual bool IsPopupOrPanel(const WebContents* source) const; 143 virtual bool IsPopupOrPanel(const WebContents* source) const;
144 144
145 // Notification that the target URL has changed. 145 // Notification that the target URL has changed.
146 virtual void UpdateTargetURL(WebContents* source, 146 virtual void UpdateTargetURL(WebContents* source,
147 int32 page_id,
148 const GURL& url) {} 147 const GURL& url) {}
149 148
150 // Notification that there was a mouse event, along with the absolute 149 // Notification that there was a mouse event, along with the absolute
151 // coordinates of the mouse pointer and whether it was a normal motion event 150 // coordinates of the mouse pointer and whether it was a normal motion event
152 // (otherwise, the pointer left the contents area). 151 // (otherwise, the pointer left the contents area).
153 virtual void ContentsMouseEvent(WebContents* source, 152 virtual void ContentsMouseEvent(WebContents* source,
154 const gfx::Point& location, 153 const gfx::Point& location,
155 bool motion) {} 154 bool motion) {}
156 155
157 // Request the delegate to change the zoom level of the current tab. 156 // Request the delegate to change the zoom level of the current tab.
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 // Called when |this| is no longer the WebContentsDelegate for |source|. 499 // Called when |this| is no longer the WebContentsDelegate for |source|.
501 void Detach(WebContents* source); 500 void Detach(WebContents* source);
502 501
503 // The WebContents that this is currently a delegate for. 502 // The WebContents that this is currently a delegate for.
504 std::set<WebContents*> attached_contents_; 503 std::set<WebContents*> attached_contents_;
505 }; 504 };
506 505
507 } // namespace content 506 } // namespace content
508 507
509 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ 508 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698