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

Side by Side Diff: blimp/client/feature/render_widget_feature.cc

Issue 1636163002: Restructure contents of blimp/client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "blimp/client/session/render_widget_feature.h" 5 #include "blimp/client/feature/render_widget_feature.h"
6 6
7 #include "base/numerics/safe_conversions.h" 7 #include "base/numerics/safe_conversions.h"
8 #include "blimp/common/create_blimp_message.h" 8 #include "blimp/common/create_blimp_message.h"
9 #include "blimp/common/proto/blimp_message.pb.h" 9 #include "blimp/common/proto/blimp_message.pb.h"
10 #include "blimp/common/proto/compositor.pb.h" 10 #include "blimp/common/proto/compositor.pb.h"
11 #include "blimp/common/proto/input.pb.h" 11 #include "blimp/common/proto/input.pb.h"
12 #include "blimp/common/proto/render_widget.pb.h" 12 #include "blimp/common/proto/render_widget.pb.h"
13 #include "cc/proto/compositor_message.pb.h" 13 #include "cc/proto/compositor_message.pb.h"
14 #include "net/base/net_errors.h" 14 #include "net/base/net_errors.h"
15 15
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 125
126 uint32_t RenderWidgetFeature::GetRenderWidgetId(const int tab_id) { 126 uint32_t RenderWidgetFeature::GetRenderWidgetId(const int tab_id) {
127 RenderWidgetIdMap::const_iterator it = render_widget_ids_.find(tab_id); 127 RenderWidgetIdMap::const_iterator it = render_widget_ids_.find(tab_id);
128 if (it != render_widget_ids_.end()) 128 if (it != render_widget_ids_.end())
129 return it->second; 129 return it->second;
130 return 0U; 130 return 0U;
131 } 131 }
132 132
133 } // namespace client 133 } // namespace client
134 } // namespace blimp 134 } // namespace blimp
OLDNEW
« no previous file with comments | « blimp/client/feature/render_widget_feature.h ('k') | blimp/client/feature/render_widget_feature_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698