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_WIDGET_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_ |
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ | 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 | 10 |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 const string16& text, | 301 const string16& text, |
302 const std::vector<WebKit::WebCompositionUnderline>& underlines, | 302 const std::vector<WebKit::WebCompositionUnderline>& underlines, |
303 int selection_start, | 303 int selection_start, |
304 int selection_end); | 304 int selection_end); |
305 virtual void OnImeConfirmComposition( | 305 virtual void OnImeConfirmComposition( |
306 const string16& text, const ui::Range& replacement_range); | 306 const string16& text, const ui::Range& replacement_range); |
307 void OnPaintAtSize(const TransportDIB::Handle& dib_id, | 307 void OnPaintAtSize(const TransportDIB::Handle& dib_id, |
308 int tag, | 308 int tag, |
309 const gfx::Size& page_size, | 309 const gfx::Size& page_size, |
310 const gfx::Size& desired_size); | 310 const gfx::Size& desired_size); |
311 void OnRepaint(const gfx::Size& size_to_paint); | 311 void OnRepaint(gfx::Size size_to_paint); |
312 void OnSmoothScrollCompleted(int gesture_id); | 312 void OnSmoothScrollCompleted(int gesture_id); |
313 void OnSetTextDirection(WebKit::WebTextDirection direction); | 313 void OnSetTextDirection(WebKit::WebTextDirection direction); |
314 void OnGetFPS(); | 314 void OnGetFPS(); |
315 void OnScreenInfoChanged(const WebKit::WebScreenInfo& screen_info); | 315 void OnScreenInfoChanged(const WebKit::WebScreenInfo& screen_info); |
316 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, | 316 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, |
317 const gfx::Rect& window_screen_rect); | 317 const gfx::Rect& window_screen_rect); |
318 #if defined(OS_ANDROID) | 318 #if defined(OS_ANDROID) |
319 void OnImeBatchStateChanged(bool is_begin); | 319 void OnImeBatchStateChanged(bool is_begin); |
320 void OnShowImeIfNeeded(); | 320 void OnShowImeIfNeeded(); |
321 #endif | 321 #endif |
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
692 bool is_threaded_compositing_enabled_; | 692 bool is_threaded_compositing_enabled_; |
693 | 693 |
694 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; | 694 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; |
695 | 695 |
696 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 696 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
697 }; | 697 }; |
698 | 698 |
699 } // namespace content | 699 } // namespace content |
700 | 700 |
701 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 701 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |