OLD | NEW |
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_RENDERER_RENDER_VIEW_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 virtual blink::WebStorageNamespace* createSessionStorageNamespace(); | 376 virtual blink::WebStorageNamespace* createSessionStorageNamespace(); |
377 virtual void printPage(blink::WebLocalFrame* frame); | 377 virtual void printPage(blink::WebLocalFrame* frame); |
378 virtual bool enumerateChosenDirectory( | 378 virtual bool enumerateChosenDirectory( |
379 const blink::WebString& path, | 379 const blink::WebString& path, |
380 blink::WebFileChooserCompletion* chooser_completion); | 380 blink::WebFileChooserCompletion* chooser_completion); |
381 virtual void didCancelCompositionOnSelectionChange(); | 381 virtual void didCancelCompositionOnSelectionChange(); |
382 virtual bool handleCurrentKeyboardEvent(); | 382 virtual bool handleCurrentKeyboardEvent(); |
383 virtual bool runFileChooser( | 383 virtual bool runFileChooser( |
384 const blink::WebFileChooserParams& params, | 384 const blink::WebFileChooserParams& params, |
385 blink::WebFileChooserCompletion* chooser_completion); | 385 blink::WebFileChooserCompletion* chooser_completion); |
| 386 void SetValidationMessageDirection(base::string16* main_text, |
| 387 blink::WebTextDirection main_text_hint, |
| 388 base::string16* sub_text, |
| 389 blink::WebTextDirection sub_text_hint); |
386 virtual void showValidationMessage(const blink::WebRect& anchor_in_root_view, | 390 virtual void showValidationMessage(const blink::WebRect& anchor_in_root_view, |
387 const blink::WebString& main_text, | 391 const blink::WebString& main_text, |
| 392 blink::WebTextDirection main_text_hint, |
388 const blink::WebString& sub_text, | 393 const blink::WebString& sub_text, |
389 blink::WebTextDirection hint) OVERRIDE; | 394 blink::WebTextDirection hint) OVERRIDE; |
390 virtual void hideValidationMessage() OVERRIDE; | 395 virtual void hideValidationMessage() OVERRIDE; |
391 virtual void moveValidationMessage( | 396 virtual void moveValidationMessage( |
392 const blink::WebRect& anchor_in_root_view) OVERRIDE; | 397 const blink::WebRect& anchor_in_root_view) OVERRIDE; |
393 virtual void setStatusText(const blink::WebString& text); | 398 virtual void setStatusText(const blink::WebString& text); |
394 virtual void setMouseOverURL(const blink::WebURL& url); | 399 virtual void setMouseOverURL(const blink::WebURL& url); |
395 virtual void setKeyboardFocusURL(const blink::WebURL& url); | 400 virtual void setKeyboardFocusURL(const blink::WebURL& url); |
396 virtual void startDragging(blink::WebLocalFrame* frame, | 401 virtual void startDragging(blink::WebLocalFrame* frame, |
397 const blink::WebDragData& data, | 402 const blink::WebDragData& data, |
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1128 // use the Observer interface to filter IPC messages and receive frame change | 1133 // use the Observer interface to filter IPC messages and receive frame change |
1129 // notifications. | 1134 // notifications. |
1130 // --------------------------------------------------------------------------- | 1135 // --------------------------------------------------------------------------- |
1131 | 1136 |
1132 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1137 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1133 }; | 1138 }; |
1134 | 1139 |
1135 } // namespace content | 1140 } // namespace content |
1136 | 1141 |
1137 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1142 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |