| 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 notification_provider_.get(); | 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); | |
| 196 virtual bool shouldEndEditing(const WebKit::WebRange& range); | |
| 197 virtual bool shouldInsertNode( | |
| 198 const WebKit::WebNode& node, const WebKit::WebRange& range, | |
| 199 WebKit::WebEditingAction action); | |
| 200 virtual bool shouldInsertText( | |
| 201 const WebKit::WebString& text, const WebKit::WebRange& range, | |
| 202 WebKit::WebEditingAction action); | |
| 203 virtual bool shouldChangeSelectedRange( | |
| 204 const WebKit::WebRange& from, const WebKit::WebRange& to, | |
| 205 WebKit::WebTextAffinity affinity, bool still_selecting); | |
| 206 virtual bool shouldDeleteRange(const WebKit::WebRange& range); | |
| 207 virtual bool shouldApplyStyle( | |
| 208 const WebKit::WebString& style, const WebKit::WebRange& range); | |
| 209 virtual bool isSmartInsertDeleteEnabled(); | |
| 210 virtual bool isSelectTrailingWhitespaceEnabled(); | 195 virtual bool isSelectTrailingWhitespaceEnabled(); |
| 211 virtual void setInputMethodEnabled(bool enabled); | 196 virtual void setInputMethodEnabled(bool enabled); |
| 212 virtual void didBeginEditing() {} | |
| 213 virtual void didChangeSelection(bool is_selection_empty); | 197 virtual void didChangeSelection(bool is_selection_empty); |
| 214 virtual void didChangeContents() {} | |
| 215 virtual void didExecuteCommand(const WebKit::WebString& command_name); | 198 virtual void didExecuteCommand(const WebKit::WebString& command_name); |
| 216 virtual void didEndEditing() {} | |
| 217 virtual bool handleCurrentKeyboardEvent(); | 199 virtual bool handleCurrentKeyboardEvent(); |
| 218 virtual void spellCheck( | 200 virtual void spellCheck( |
| 219 const WebKit::WebString& text, int& offset, int& length); | 201 const WebKit::WebString& text, int& offset, int& length); |
| 220 virtual WebKit::WebString autoCorrectWord( | 202 virtual WebKit::WebString autoCorrectWord( |
| 221 const WebKit::WebString& misspelled_word); | 203 const WebKit::WebString& misspelled_word); |
| 222 virtual void showSpellingUI(bool show); | 204 virtual void showSpellingUI(bool show); |
| 223 virtual bool isShowingSpellingUI(); | 205 virtual bool isShowingSpellingUI(); |
| 224 virtual void updateSpellingUIWithMisspelledWord( | 206 virtual void updateSpellingUIWithMisspelledWord( |
| 225 const WebKit::WebString& word); | 207 const WebKit::WebString& word); |
| 226 virtual bool runFileChooser( | 208 virtual bool runFileChooser( |
| (...skipping 780 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1007 // ImageResourceFetchers schedule via DownloadImage. | 989 // ImageResourceFetchers schedule via DownloadImage. |
| 1008 typedef std::set<webkit_glue::ImageResourceFetcher*> ImageResourceFetcherSet; | 990 typedef std::set<webkit_glue::ImageResourceFetcher*> ImageResourceFetcherSet; |
| 1009 ImageResourceFetcherSet image_fetchers_; | 991 ImageResourceFetcherSet image_fetchers_; |
| 1010 | 992 |
| 1011 typedef std::map<WebKit::WebView*, RenderView*> ViewMap; | 993 typedef std::map<WebKit::WebView*, RenderView*> ViewMap; |
| 1012 | 994 |
| 1013 DISALLOW_COPY_AND_ASSIGN(RenderView); | 995 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 1014 }; | 996 }; |
| 1015 | 997 |
| 1016 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 998 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |