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

Side by Side Diff: chrome/renderer/render_view.cc

Issue 293001: Delete glue/webview{_delegate}.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/render_view.h ('k') | chrome/renderer/webplugin_delegate_proxy.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "chrome/renderer/render_view.h" 5 #include "chrome/renderer/render_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 #include "webkit/glue/media/simple_data_source.h" 90 #include "webkit/glue/media/simple_data_source.h"
91 #include "webkit/glue/password_form.h" 91 #include "webkit/glue/password_form.h"
92 #include "webkit/glue/plugins/plugin_list.h" 92 #include "webkit/glue/plugins/plugin_list.h"
93 #include "webkit/glue/plugins/webplugin_delegate_impl.h" 93 #include "webkit/glue/plugins/webplugin_delegate_impl.h"
94 #include "webkit/glue/searchable_form_data.h" 94 #include "webkit/glue/searchable_form_data.h"
95 #include "webkit/glue/webaccessibilitymanager_impl.h" 95 #include "webkit/glue/webaccessibilitymanager_impl.h"
96 #include "webkit/glue/webdropdata.h" 96 #include "webkit/glue/webdropdata.h"
97 #include "webkit/glue/webkit_glue.h" 97 #include "webkit/glue/webkit_glue.h"
98 #include "webkit/glue/webmediaplayer_impl.h" 98 #include "webkit/glue/webmediaplayer_impl.h"
99 #include "webkit/glue/webplugin_impl.h" 99 #include "webkit/glue/webplugin_impl.h"
100 #include "webkit/glue/webview.h"
101 100
102 #if defined(OS_WIN) 101 #if defined(OS_WIN)
103 // TODO(port): these files are currently Windows only because they concern: 102 // TODO(port): these files are currently Windows only because they concern:
104 // * theming 103 // * theming
105 #include "app/gfx/native_theme_win.h" 104 #include "app/gfx/native_theme_win.h"
106 #endif 105 #endif
107 106
108 using base::Time; 107 using base::Time;
109 using base::TimeDelta; 108 using base::TimeDelta;
110 using webkit_glue::AltErrorPageResourceFetcher; 109 using webkit_glue::AltErrorPageResourceFetcher;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 using WebKit::WebSettings; 144 using WebKit::WebSettings;
146 using WebKit::WebSize; 145 using WebKit::WebSize;
147 using WebKit::WebString; 146 using WebKit::WebString;
148 using WebKit::WebTextAffinity; 147 using WebKit::WebTextAffinity;
149 using WebKit::WebTextDirection; 148 using WebKit::WebTextDirection;
150 using WebKit::WebURL; 149 using WebKit::WebURL;
151 using WebKit::WebURLError; 150 using WebKit::WebURLError;
152 using WebKit::WebURLRequest; 151 using WebKit::WebURLRequest;
153 using WebKit::WebURLResponse; 152 using WebKit::WebURLResponse;
154 using WebKit::WebVector; 153 using WebKit::WebVector;
154 using WebKit::WebView;
155 using WebKit::WebWidget; 155 using WebKit::WebWidget;
156 using WebKit::WebWorker; 156 using WebKit::WebWorker;
157 using WebKit::WebWorkerClient; 157 using WebKit::WebWorkerClient;
158 158
159 //----------------------------------------------------------------------------- 159 //-----------------------------------------------------------------------------
160 160
161 // define to write the time necessary for thumbnail/DOM text retrieval, 161 // define to write the time necessary for thumbnail/DOM text retrieval,
162 // respectively, into the system debug log 162 // respectively, into the system debug log
163 // #define TIME_BITMAP_RETRIEVAL 163 // #define TIME_BITMAP_RETRIEVAL
164 // #define TIME_TEXT_RETRIEVAL 164 // #define TIME_TEXT_RETRIEVAL
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 shared_popup_counter_ = counter; 339 shared_popup_counter_ = counter;
340 shared_popup_counter_->data++; 340 shared_popup_counter_->data++;
341 decrement_shared_popup_at_destruction_ = true; 341 decrement_shared_popup_at_destruction_ = true;
342 } else { 342 } else {
343 shared_popup_counter_ = new SharedRenderViewCounter(0); 343 shared_popup_counter_ = new SharedRenderViewCounter(0);
344 decrement_shared_popup_at_destruction_ = false; 344 decrement_shared_popup_at_destruction_ = false;
345 } 345 }
346 346
347 devtools_agent_.reset(new DevToolsAgent(routing_id, this)); 347 devtools_agent_.reset(new DevToolsAgent(routing_id, this));
348 348
349 webwidget_ = WebView::Create(this); 349 webwidget_ = WebView::create(this);
350 Singleton<ViewMap>::get()->insert(std::make_pair(webview(), this)); 350 Singleton<ViewMap>::get()->insert(std::make_pair(webview(), this));
351 webkit_preferences_.Apply(webview()); 351 webkit_preferences_.Apply(webview());
352 webview()->initializeMainFrame(this); 352 webview()->initializeMainFrame(this);
353 353
354 OnSetRendererPrefs(renderer_prefs); 354 OnSetRendererPrefs(renderer_prefs);
355 355
356 routing_id_ = routing_id; 356 routing_id_ = routing_id;
357 render_thread_->AddRoute(routing_id_, this); 357 render_thread_->AddRoute(routing_id_, this);
358 // Take a reference on behalf of the RenderThread. This will be balanced 358 // Take a reference on behalf of the RenderThread. This will be balanced
359 // when we receive ViewMsg_Close. 359 // when we receive ViewMsg_Close.
(...skipping 3300 matching lines...) Expand 10 before | Expand all | Expand 10 after
3660 new PluginMsg_SignalModalDialogEvent(host_window_)); 3660 new PluginMsg_SignalModalDialogEvent(host_window_));
3661 3661
3662 message->EnableMessagePumping(); // Runs a nested message loop. 3662 message->EnableMessagePumping(); // Runs a nested message loop.
3663 bool rv = Send(message); 3663 bool rv = Send(message);
3664 3664
3665 PluginChannelHost::Broadcast( 3665 PluginChannelHost::Broadcast(
3666 new PluginMsg_ResetModalDialogEvent(host_window_)); 3666 new PluginMsg_ResetModalDialogEvent(host_window_));
3667 3667
3668 return rv; 3668 return rv;
3669 } 3669 }
OLDNEW
« no previous file with comments | « chrome/renderer/render_view.h ('k') | chrome/renderer/webplugin_delegate_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698