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

Side by Side Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 780343002: Remove always true guard (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comment Created 6 years 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
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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); 597 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params);
598 void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet); 598 void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet);
599 virtual void OnFocus(); 599 virtual void OnFocus();
600 virtual void OnBlur(); 600 virtual void OnBlur();
601 void OnSetCursor(const WebCursor& cursor); 601 void OnSetCursor(const WebCursor& cursor);
602 void OnTextInputTypeChanged(ui::TextInputType type, 602 void OnTextInputTypeChanged(ui::TextInputType type,
603 ui::TextInputMode input_mode, 603 ui::TextInputMode input_mode,
604 bool can_compose_inline, 604 bool can_compose_inline,
605 int flags); 605 int flags);
606 606
607 #if defined(OS_MACOSX) || defined(USE_AURA) || defined(OS_ANDROID)
608 void OnImeCompositionRangeChanged( 607 void OnImeCompositionRangeChanged(
609 const gfx::Range& range, 608 const gfx::Range& range,
610 const std::vector<gfx::Rect>& character_bounds); 609 const std::vector<gfx::Rect>& character_bounds);
611 #endif
612 void OnImeCancelComposition(); 610 void OnImeCancelComposition();
613 void OnLockMouse(bool user_gesture, 611 void OnLockMouse(bool user_gesture,
614 bool last_unlocked_by_target, 612 bool last_unlocked_by_target,
615 bool privileged); 613 bool privileged);
616 void OnUnlockMouse(); 614 void OnUnlockMouse();
617 void OnShowDisambiguationPopup(const gfx::Rect& rect_pixels, 615 void OnShowDisambiguationPopup(const gfx::Rect& rect_pixels,
618 const gfx::Size& size, 616 const gfx::Size& size,
619 const cc::SharedBitmapId& id); 617 const cc::SharedBitmapId& id);
620 #if defined(OS_WIN) 618 #if defined(OS_WIN)
621 void OnWindowlessPluginDummyWindowCreated( 619 void OnWindowlessPluginDummyWindowCreated(
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 PendingSnapshotMap pending_browser_snapshots_; 830 PendingSnapshotMap pending_browser_snapshots_;
833 831
834 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 832 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
835 833
836 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 834 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
837 }; 835 };
838 836
839 } // namespace content 837 } // namespace content
840 838
841 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 839 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698