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

Side by Side Diff: content/browser/frame_host/render_widget_host_view_guest.h

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 12 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
7 7
8 #include <stddef.h>
9 #include <stdint.h>
10
8 #include <vector> 11 #include <vector>
9 12
13 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "build/build_config.h"
11 #include "content/browser/frame_host/render_widget_host_view_child_frame.h" 16 #include "content/browser/frame_host/render_widget_host_view_child_frame.h"
12 #include "content/common/content_export.h" 17 #include "content/common/content_export.h"
13 #include "content/common/cursors/webcursor.h" 18 #include "content/common/cursors/webcursor.h"
14 #include "third_party/WebKit/public/web/WebInputEvent.h" 19 #include "third_party/WebKit/public/web/WebInputEvent.h"
15 #include "ui/events/event.h" 20 #include "ui/events/event.h"
16 #include "ui/events/gestures/gesture_recognizer.h" 21 #include "ui/events/gestures/gesture_recognizer.h"
17 #include "ui/events/gestures/gesture_types.h" 22 #include "ui/events/gestures/gesture_types.h"
18 #include "ui/gfx/geometry/rect.h" 23 #include "ui/gfx/geometry/rect.h"
19 #include "ui/gfx/geometry/vector2d_f.h" 24 #include "ui/gfx/geometry/vector2d_f.h"
20 #include "ui/gfx/native_widget_types.h" 25 #include "ui/gfx/native_widget_types.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 #endif 88 #endif
84 void RenderProcessGone(base::TerminationStatus status, 89 void RenderProcessGone(base::TerminationStatus status,
85 int error_code) override; 90 int error_code) override;
86 void Destroy() override; 91 void Destroy() override;
87 void SetTooltipText(const base::string16& tooltip_text) override; 92 void SetTooltipText(const base::string16& tooltip_text) override;
88 void SelectionChanged(const base::string16& text, 93 void SelectionChanged(const base::string16& text,
89 size_t offset, 94 size_t offset,
90 const gfx::Range& range) override; 95 const gfx::Range& range) override;
91 void SelectionBoundsChanged( 96 void SelectionBoundsChanged(
92 const ViewHostMsg_SelectionBounds_Params& params) override; 97 const ViewHostMsg_SelectionBounds_Params& params) override;
93 void OnSwapCompositorFrame(uint32 output_surface_id, 98 void OnSwapCompositorFrame(uint32_t output_surface_id,
94 scoped_ptr<cc::CompositorFrame> frame) override; 99 scoped_ptr<cc::CompositorFrame> frame) override;
95 #if defined(USE_AURA) 100 #if defined(USE_AURA)
96 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, 101 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch,
97 InputEventAckState ack_result) override; 102 InputEventAckState ack_result) override;
98 #endif 103 #endif
99 void ProcessTouchEvent(const blink::WebTouchEvent& event, 104 void ProcessTouchEvent(const blink::WebTouchEvent& event,
100 const ui::LatencyInfo& latency) override; 105 const ui::LatencyInfo& latency) override;
101 void RegisterSurfaceNamespaceId(); 106 void RegisterSurfaceNamespaceId();
102 void UnregisterSurfaceNamespaceId(); 107 void UnregisterSurfaceNamespaceId();
103 108
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 // The platform view for this RenderWidgetHostView. 175 // The platform view for this RenderWidgetHostView.
171 // RenderWidgetHostViewGuest mostly only cares about stuff related to 176 // RenderWidgetHostViewGuest mostly only cares about stuff related to
172 // compositing, the rest are directly forwared to this |platform_view_|. 177 // compositing, the rest are directly forwared to this |platform_view_|.
173 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; 178 base::WeakPtr<RenderWidgetHostViewBase> platform_view_;
174 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); 179 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest);
175 }; 180 };
176 181
177 } // namespace content 182 } // namespace content
178 183
179 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 184 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698