Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: content/renderer/render_widget.h

Issue 1131673009: Revert of Pass Surface ID namespace to renderer compositors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 virtual void OnImeConfirmComposition(const base::string16& text, 437 virtual void OnImeConfirmComposition(const base::string16& text,
438 const gfx::Range& replacement_range, 438 const gfx::Range& replacement_range,
439 bool keep_selection); 439 bool keep_selection);
440 void OnRepaint(gfx::Size size_to_paint); 440 void OnRepaint(gfx::Size size_to_paint);
441 void OnSyntheticGestureCompleted(); 441 void OnSyntheticGestureCompleted();
442 void OnSetTextDirection(blink::WebTextDirection direction); 442 void OnSetTextDirection(blink::WebTextDirection direction);
443 void OnGetFPS(); 443 void OnGetFPS();
444 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, 444 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect,
445 const gfx::Rect& window_screen_rect); 445 const gfx::Rect& window_screen_rect);
446 void OnShowImeIfNeeded(); 446 void OnShowImeIfNeeded();
447 void OnSetSurfaceIdNamespace(uint32_t surface_id_namespace);
448 447
449 #if defined(OS_ANDROID) 448 #if defined(OS_ANDROID)
450 // Whenever an IME event that needs an acknowledgement is sent to the browser, 449 // Whenever an IME event that needs an acknowledgement is sent to the browser,
451 // the number of outstanding IME events that needs acknowledgement should be 450 // the number of outstanding IME events that needs acknowledgement should be
452 // incremented. All IME events will be dropped until we receive an ack from 451 // incremented. All IME events will be dropped until we receive an ack from
453 // the browser. 452 // the browser.
454 void IncrementOutstandingImeEventAcks(); 453 void IncrementOutstandingImeEventAcks();
455 454
456 // Called by the browser process for every required IME acknowledgement. 455 // Called by the browser process for every required IME acknowledgement.
457 void OnImeEventAck(); 456 void OnImeEventAck();
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
812 ui::MenuSourceType context_menu_source_type_; 811 ui::MenuSourceType context_menu_source_type_;
813 bool has_host_context_menu_location_; 812 bool has_host_context_menu_location_;
814 gfx::Point host_context_menu_location_; 813 gfx::Point host_context_menu_location_;
815 814
816 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 815 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
817 }; 816 };
818 817
819 } // namespace content 818 } // namespace content
820 819
821 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 820 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698