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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
556 void OnUpdateWebPreferences(const WebPreferences& prefs); | 556 void OnUpdateWebPreferences(const WebPreferences& prefs); |
557 void OnSetPageScale(float page_scale_factor); | 557 void OnSetPageScale(float page_scale_factor); |
558 void OnForceRedraw(const ui::LatencyInfo& latency_info); | 558 void OnForceRedraw(const ui::LatencyInfo& latency_info); |
559 void OnSelectWordAroundCaret(); | 559 void OnSelectWordAroundCaret(); |
560 void OnAudioStateChanged(bool is_audio_playing); | 560 void OnAudioStateChanged(bool is_audio_playing); |
561 #if defined(OS_ANDROID) | 561 #if defined(OS_ANDROID) |
562 void OnUndoScrollFocusedEditableNodeIntoRect(); | 562 void OnUndoScrollFocusedEditableNodeIntoRect(); |
563 void OnUpdateBrowserControlsState(bool enable_hiding, | 563 void OnUpdateBrowserControlsState(bool enable_hiding, |
564 bool enable_showing, | 564 bool enable_showing, |
565 bool animate); | 565 bool animate); |
566 void OnExtractSmartClipData(const gfx::Rect& rect); | |
567 #elif defined(OS_MACOSX) | 566 #elif defined(OS_MACOSX) |
568 void OnGetRenderedText(); | 567 void OnGetRenderedText(); |
569 #endif | 568 #endif |
570 | 569 |
571 // Page message handlers ----------------------------------------------------- | 570 // Page message handlers ----------------------------------------------------- |
572 void OnUpdateWindowScreenRect(gfx::Rect window_screen_rect); | 571 void OnUpdateWindowScreenRect(gfx::Rect window_screen_rect); |
573 void OnSetZoomLevel(PageMsg_SetZoomLevel_Command command, double zoom_level); | 572 void OnSetZoomLevel(PageMsg_SetZoomLevel_Command command, double zoom_level); |
574 void OnPageWasHidden(); | 573 void OnPageWasHidden(); |
575 void OnPageWasShown(); | 574 void OnPageWasShown(); |
576 | 575 |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
840 // --------------------------------------------------------------------------- | 839 // --------------------------------------------------------------------------- |
841 | 840 |
842 base::WeakPtrFactory<RenderViewImpl> weak_ptr_factory_; | 841 base::WeakPtrFactory<RenderViewImpl> weak_ptr_factory_; |
843 | 842 |
844 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 843 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
845 }; | 844 }; |
846 | 845 |
847 } // namespace content | 846 } // namespace content |
848 | 847 |
849 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 848 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |