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

Side by Side Diff: content/renderer/render_view_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
« no previous file with comments | « content/common/input_messages.h ('k') | content/renderer/render_view_impl.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_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 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 int selection_start, 503 int selection_start,
504 int selection_end) override; 504 int selection_end) override;
505 void OnImeConfirmComposition(const base::string16& text, 505 void OnImeConfirmComposition(const base::string16& text,
506 const gfx::Range& replacement_range, 506 const gfx::Range& replacement_range,
507 bool keep_selection) override; 507 bool keep_selection) override;
508 void SetDeviceScaleFactor(float device_scale_factor) override; 508 void SetDeviceScaleFactor(float device_scale_factor) override;
509 bool SetDeviceColorProfile(const std::vector<char>& color_profile) override; 509 bool SetDeviceColorProfile(const std::vector<char>& color_profile) override;
510 void OnOrientationChange() override; 510 void OnOrientationChange() override;
511 ui::TextInputType GetTextInputType() override; 511 ui::TextInputType GetTextInputType() override;
512 void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) override; 512 void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) override;
513 #if defined(OS_MACOSX) || defined(USE_AURA) || defined(OS_ANDROID)
514 void GetCompositionCharacterBounds( 513 void GetCompositionCharacterBounds(
515 std::vector<gfx::Rect>* character_bounds) override; 514 std::vector<gfx::Rect>* character_bounds) override;
516 void GetCompositionRange(gfx::Range* range) override; 515 void GetCompositionRange(gfx::Range* range) override;
517 #endif
518 bool CanComposeInline() override; 516 bool CanComposeInline() override;
519 void DidCommitCompositorFrame() override; 517 void DidCommitCompositorFrame() override;
520 void InstrumentWillBeginFrame(int frame_id) override; 518 void InstrumentWillBeginFrame(int frame_id) override;
521 void InstrumentDidBeginFrame() override; 519 void InstrumentDidBeginFrame() override;
522 void InstrumentDidCancelFrame() override; 520 void InstrumentDidCancelFrame() override;
523 void InstrumentWillComposite() override; 521 void InstrumentWillComposite() override;
524 522
525 protected: 523 protected:
526 explicit RenderViewImpl(const ViewMsg_New_Params& params); 524 explicit RenderViewImpl(const ViewMsg_New_Params& params);
527 525
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
1089 // use the Observer interface to filter IPC messages and receive frame change 1087 // use the Observer interface to filter IPC messages and receive frame change
1090 // notifications. 1088 // notifications.
1091 // --------------------------------------------------------------------------- 1089 // ---------------------------------------------------------------------------
1092 1090
1093 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1091 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1094 }; 1092 };
1095 1093
1096 } // namespace content 1094 } // namespace content
1097 1095
1098 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1096 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/common/input_messages.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698