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

Side by Side Diff: chrome/renderer/render_view.h

Issue 276059: Kill WebViewDelegate::WasOpenedByUserGesture, and instead have... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 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
« no previous file with comments | « no previous file | chrome/renderer/render_view.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_RENDERER_RENDER_VIEW_H_ 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_
6 #define CHROME_RENDERER_RENDER_VIEW_H_ 6 #define CHROME_RENDERER_RENDER_VIEW_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 virtual void LoadNavigationErrorPage( 168 virtual void LoadNavigationErrorPage(
169 WebKit::WebFrame* frame, 169 WebKit::WebFrame* frame,
170 const WebKit::WebURLRequest& failed_request, 170 const WebKit::WebURLRequest& failed_request,
171 const WebKit::WebURLError& error, 171 const WebKit::WebURLError& error,
172 const std::string& html, 172 const std::string& html,
173 bool replace); 173 bool replace);
174 virtual void OnMissingPluginStatus( 174 virtual void OnMissingPluginStatus(
175 WebPluginDelegateProxy* delegate, 175 WebPluginDelegateProxy* delegate,
176 int status); 176 int status);
177 virtual WebDevToolsAgentDelegate* GetWebDevToolsAgentDelegate(); 177 virtual WebDevToolsAgentDelegate* GetWebDevToolsAgentDelegate();
178 virtual bool WasOpenedByUserGesture() const;
179 virtual void UserMetricsRecordAction(const std::wstring& action); 178 virtual void UserMetricsRecordAction(const std::wstring& action);
180 virtual void DnsPrefetch(const std::vector<std::string>& host_names); 179 virtual void DnsPrefetch(const std::vector<std::string>& host_names);
181 180
182 // WebKit::WebViewClient 181 // WebKit::WebViewClient
183 virtual WebView* createView(WebKit::WebFrame* creator); 182 virtual WebView* createView(WebKit::WebFrame* creator);
184 virtual WebKit::WebWidget* createPopupMenu(bool activatable); 183 virtual WebKit::WebWidget* createPopupMenu(bool activatable);
185 virtual WebKit::WebWidget* createPopupMenu( 184 virtual WebKit::WebWidget* createPopupMenu(
186 const WebKit::WebPopupMenuInfo& info); 185 const WebKit::WebPopupMenuInfo& info);
187 virtual void didAddMessageToConsole( 186 virtual void didAddMessageToConsole(
188 const WebKit::WebConsoleMessage& message, 187 const WebKit::WebConsoleMessage& message,
(...skipping 794 matching lines...) Expand 10 before | Expand all | Expand 10 after
983 // ImageResourceFetchers schedule via DownloadImage. 982 // ImageResourceFetchers schedule via DownloadImage.
984 typedef std::set<webkit_glue::ImageResourceFetcher*> ImageResourceFetcherSet; 983 typedef std::set<webkit_glue::ImageResourceFetcher*> ImageResourceFetcherSet;
985 ImageResourceFetcherSet image_fetchers_; 984 ImageResourceFetcherSet image_fetchers_;
986 985
987 typedef std::map<WebView*, RenderView*> ViewMap; 986 typedef std::map<WebView*, RenderView*> ViewMap;
988 987
989 DISALLOW_COPY_AND_ASSIGN(RenderView); 988 DISALLOW_COPY_AND_ASSIGN(RenderView);
990 }; 989 };
991 990
992 #endif // CHROME_RENDERER_RENDER_VIEW_H_ 991 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698