| 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 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 452 const WebKit::WebConsoleMessage& message, | 452 const WebKit::WebConsoleMessage& message, |
| 453 const WebKit::WebString& source_name, | 453 const WebKit::WebString& source_name, |
| 454 unsigned source_line, | 454 unsigned source_line, |
| 455 const WebKit::WebString& stack_trace); | 455 const WebKit::WebString& stack_trace); |
| 456 virtual void printPage(WebKit::WebFrame* frame); | 456 virtual void printPage(WebKit::WebFrame* frame); |
| 457 virtual WebKit::WebNotificationPresenter* notificationPresenter(); | 457 virtual WebKit::WebNotificationPresenter* notificationPresenter(); |
| 458 virtual bool enumerateChosenDirectory( | 458 virtual bool enumerateChosenDirectory( |
| 459 const WebKit::WebString& path, | 459 const WebKit::WebString& path, |
| 460 WebKit::WebFileChooserCompletion* chooser_completion); | 460 WebKit::WebFileChooserCompletion* chooser_completion); |
| 461 virtual void initializeHelperPluginWebFrame(WebKit::WebHelperPlugin*); | 461 virtual void initializeHelperPluginWebFrame(WebKit::WebHelperPlugin*); |
| 462 virtual void emulateDevice( |
| 463 bool enabled, const WebKit::WebSize& device_size, |
| 464 const WebKit::WebRect& view_rect, float device_scale_factor, |
| 465 bool fit_to_view); |
| 462 virtual void didStartLoading(); | 466 virtual void didStartLoading(); |
| 463 virtual void didStopLoading(); | 467 virtual void didStopLoading(); |
| 464 virtual void didChangeLoadProgress(WebKit::WebFrame* frame, | 468 virtual void didChangeLoadProgress(WebKit::WebFrame* frame, |
| 465 double load_progress); | 469 double load_progress); |
| 466 virtual void didCancelCompositionOnSelectionChange(); | 470 virtual void didCancelCompositionOnSelectionChange(); |
| 467 virtual void didChangeSelection(bool is_selection_empty); | 471 virtual void didChangeSelection(bool is_selection_empty); |
| 468 virtual void didExecuteCommand(const WebKit::WebString& command_name); | 472 virtual void didExecuteCommand(const WebKit::WebString& command_name); |
| 469 virtual bool handleCurrentKeyboardEvent(); | 473 virtual bool handleCurrentKeyboardEvent(); |
| 470 virtual WebKit::WebColorChooser* createColorChooser( | 474 virtual WebKit::WebColorChooser* createColorChooser( |
| 471 WebKit::WebColorChooserClient*, const WebKit::WebColor& initial_color); | 475 WebKit::WebColorChooserClient*, const WebKit::WebColor& initial_color); |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 763 virtual bool ForceCompositingModeEnabled() OVERRIDE; | 767 virtual bool ForceCompositingModeEnabled() OVERRIDE; |
| 764 virtual void OnImeSetComposition( | 768 virtual void OnImeSetComposition( |
| 765 const string16& text, | 769 const string16& text, |
| 766 const std::vector<WebKit::WebCompositionUnderline>& underlines, | 770 const std::vector<WebKit::WebCompositionUnderline>& underlines, |
| 767 int selection_start, | 771 int selection_start, |
| 768 int selection_end) OVERRIDE; | 772 int selection_end) OVERRIDE; |
| 769 virtual void OnImeConfirmComposition(const string16& text, | 773 virtual void OnImeConfirmComposition(const string16& text, |
| 770 const ui::Range& replacement_range, | 774 const ui::Range& replacement_range, |
| 771 bool keep_selection) OVERRIDE; | 775 bool keep_selection) OVERRIDE; |
| 772 virtual void SetDeviceScaleFactor(float device_scale_factor) OVERRIDE; | 776 virtual void SetDeviceScaleFactor(float device_scale_factor) OVERRIDE; |
| 777 virtual void SetDeviceEmulationScale(float scale) OVERRIDE; |
| 773 virtual ui::TextInputType GetTextInputType() OVERRIDE; | 778 virtual ui::TextInputType GetTextInputType() OVERRIDE; |
| 774 virtual void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) OVERRIDE; | 779 virtual void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) OVERRIDE; |
| 775 #if defined(OS_MACOSX) || defined(OS_WIN) || defined(USE_AURA) | 780 #if defined(OS_MACOSX) || defined(OS_WIN) || defined(USE_AURA) |
| 776 virtual void GetCompositionCharacterBounds( | 781 virtual void GetCompositionCharacterBounds( |
| 777 std::vector<gfx::Rect>* character_bounds) OVERRIDE; | 782 std::vector<gfx::Rect>* character_bounds) OVERRIDE; |
| 778 virtual void GetCompositionRange(ui::Range* range) OVERRIDE; | 783 virtual void GetCompositionRange(ui::Range* range) OVERRIDE; |
| 779 #endif | 784 #endif |
| 780 virtual bool CanComposeInline() OVERRIDE; | 785 virtual bool CanComposeInline() OVERRIDE; |
| 781 virtual void DidCommitCompositorFrame() OVERRIDE; | 786 virtual void DidCommitCompositorFrame() OVERRIDE; |
| 782 virtual void InstrumentWillBeginFrame() OVERRIDE; | 787 virtual void InstrumentWillBeginFrame() OVERRIDE; |
| (...skipping 770 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1553 // use the Observer interface to filter IPC messages and receive frame change | 1558 // use the Observer interface to filter IPC messages and receive frame change |
| 1554 // notifications. | 1559 // notifications. |
| 1555 // --------------------------------------------------------------------------- | 1560 // --------------------------------------------------------------------------- |
| 1556 | 1561 |
| 1557 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1562 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1558 }; | 1563 }; |
| 1559 | 1564 |
| 1560 } // namespace content | 1565 } // namespace content |
| 1561 | 1566 |
| 1562 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1567 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |