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

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

Issue 7800015: prune down content_dll change to just the CONTENT_EXPORTS (Closed)
Patch Set: update copyright headers, merge Created 9 years, 3 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/gtest_prod_util.h" 13 #include "base/gtest_prod_util.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/process_util.h" 15 #include "base/process_util.h"
16 #include "base/string16.h" 16 #include "base/string16.h"
17 #include "base/timer.h" 17 #include "base/timer.h"
18 #include "content/common/content_export.h"
18 #include "content/common/native_web_keyboard_event.h" 19 #include "content/common/native_web_keyboard_event.h"
19 #include "content/common/property_bag.h" 20 #include "content/common/property_bag.h"
20 #include "ipc/ipc_channel.h" 21 #include "ipc/ipc_channel.h"
21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h" 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h"
23 #include "ui/base/ime/text_input_type.h" 24 #include "ui/base/ime/text_input_type.h"
24 #include "ui/gfx/native_widget_types.h" 25 #include "ui/gfx/native_widget_types.h"
25 #include "ui/gfx/rect.h" 26 #include "ui/gfx/rect.h"
26 #include "ui/gfx/size.h" 27 #include "ui/gfx/size.h"
27 #include "ui/gfx/surface/transport_dib.h" 28 #include "ui/gfx/surface/transport_dib.h"
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 // to it (the TabContents does not). 117 // to it (the TabContents does not).
117 // 118 //
118 // It should be noted that the RenderViewHost, not the RenderWidgetHost, 119 // It should be noted that the RenderViewHost, not the RenderWidgetHost,
119 // handles IPC messages relating to the render process going away, since the 120 // handles IPC messages relating to the render process going away, since the
120 // way a RenderViewHost (TabContents) handles the process dying is different to 121 // way a RenderViewHost (TabContents) handles the process dying is different to
121 // the way a select popup does. As such the RenderWidgetHostView handles these 122 // the way a select popup does. As such the RenderWidgetHostView handles these
122 // messages for select popups. This placement is more out of convenience than 123 // messages for select popups. This placement is more out of convenience than
123 // anything else. When the view is live, these messages are forwarded to it by 124 // anything else. When the view is live, these messages are forwarded to it by
124 // the RenderWidgetHost's IPC message map. 125 // the RenderWidgetHost's IPC message map.
125 // 126 //
126 class RenderWidgetHost : public IPC::Channel::Listener, 127 class CONTENT_EXPORT RenderWidgetHost : public IPC::Channel::Listener,
127 public IPC::Channel::Sender { 128 public IPC::Channel::Sender {
128 public: 129 public:
129 // Used as the details object for a 130 // Used as the details object for a
130 // RENDER_WIDGET_HOST_DID_RECEIVE_PAINT_AT_SIZE_ACK notification. 131 // RENDER_WIDGET_HOST_DID_RECEIVE_PAINT_AT_SIZE_ACK notification.
131 struct PaintAtSizeAckDetails { 132 struct PaintAtSizeAckDetails {
132 // The tag that was passed to the PaintAtSize() call that triggered this 133 // The tag that was passed to the PaintAtSize() call that triggered this
133 // ack. 134 // ack.
134 int tag; 135 int tag;
135 gfx::Size size; 136 gfx::Size size;
136 }; 137 };
137 138
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after
674 675
675 std::vector<gfx::PluginWindowHandle> deferred_plugin_handles_; 676 std::vector<gfx::PluginWindowHandle> deferred_plugin_handles_;
676 677
677 // The last scroll offset of the render widget. 678 // The last scroll offset of the render widget.
678 gfx::Point last_scroll_offset_; 679 gfx::Point last_scroll_offset_;
679 680
680 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); 681 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost);
681 }; 682 };
682 683
683 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ 684 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698