OLD | NEW |
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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 // WebKit::WebViewClient | 181 // WebKit::WebViewClient |
182 virtual WebKit::WebView* createView(WebKit::WebFrame* creator); | 182 virtual WebKit::WebView* createView(WebKit::WebFrame* creator); |
183 virtual WebKit::WebWidget* createPopupMenu(bool activatable); | 183 virtual WebKit::WebWidget* createPopupMenu(bool activatable); |
184 virtual WebKit::WebWidget* createPopupMenu( | 184 virtual WebKit::WebWidget* createPopupMenu( |
185 const WebKit::WebPopupMenuInfo& info); | 185 const WebKit::WebPopupMenuInfo& info); |
186 virtual void didAddMessageToConsole( | 186 virtual void didAddMessageToConsole( |
187 const WebKit::WebConsoleMessage& message, | 187 const WebKit::WebConsoleMessage& message, |
188 const WebKit::WebString& source_name, unsigned source_line); | 188 const WebKit::WebString& source_name, unsigned source_line); |
189 virtual void printPage(WebKit::WebFrame* frame); | 189 virtual void printPage(WebKit::WebFrame* frame); |
190 virtual WebKit::WebNotificationPresenter* notificationPresenter() { | 190 virtual WebKit::WebNotificationPresenter* notificationPresenter() { |
191 return NULL; | 191 return notification_provider_.get(); |
192 } | 192 } |
193 virtual void didStartLoading(); | 193 virtual void didStartLoading(); |
194 virtual void didStopLoading(); | 194 virtual void didStopLoading(); |
195 virtual bool shouldBeginEditing(const WebKit::WebRange& range); | 195 virtual bool shouldBeginEditing(const WebKit::WebRange& range); |
196 virtual bool shouldEndEditing(const WebKit::WebRange& range); | 196 virtual bool shouldEndEditing(const WebKit::WebRange& range); |
197 virtual bool shouldInsertNode( | 197 virtual bool shouldInsertNode( |
198 const WebKit::WebNode& node, const WebKit::WebRange& range, | 198 const WebKit::WebNode& node, const WebKit::WebRange& range, |
199 WebKit::WebEditingAction action); | 199 WebKit::WebEditingAction action); |
200 virtual bool shouldInsertText( | 200 virtual bool shouldInsertText( |
201 const WebKit::WebString& text, const WebKit::WebRange& range, | 201 const WebKit::WebString& text, const WebKit::WebRange& range, |
(...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
988 // ImageResourceFetchers schedule via DownloadImage. | 988 // ImageResourceFetchers schedule via DownloadImage. |
989 typedef std::set<webkit_glue::ImageResourceFetcher*> ImageResourceFetcherSet; | 989 typedef std::set<webkit_glue::ImageResourceFetcher*> ImageResourceFetcherSet; |
990 ImageResourceFetcherSet image_fetchers_; | 990 ImageResourceFetcherSet image_fetchers_; |
991 | 991 |
992 typedef std::map<WebKit::WebView*, RenderView*> ViewMap; | 992 typedef std::map<WebKit::WebView*, RenderView*> ViewMap; |
993 | 993 |
994 DISALLOW_COPY_AND_ASSIGN(RenderView); | 994 DISALLOW_COPY_AND_ASSIGN(RenderView); |
995 }; | 995 }; |
996 | 996 |
997 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 997 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |