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

Side by Side Diff: webkit/glue/webworker_impl.cc

Issue 155378: Replace ShowAsPopupWithItems to CreatePopupWidgetWithInfo. Also,... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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 | « webkit/glue/webwidget_impl.cc ('k') | webkit/tools/test_shell/mac/test_webview_delegate.mm » ('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 "config.h" 5 #include "config.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 8
9 #include "GenericWorkerTask.h" 9 #include "GenericWorkerTask.h"
10 #include "KURL.h" 10 #include "KURL.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 WebKit::WebScreenInfo info; 62 WebKit::WebScreenInfo info;
63 return info; 63 return info;
64 } 64 }
65 virtual void GetWindowRect(WebWidget *webwidget, WebKit::WebRect *rect) { } 65 virtual void GetWindowRect(WebWidget *webwidget, WebKit::WebRect *rect) { }
66 virtual bool IsHidden(WebWidget *webwidget) { return true; } 66 virtual bool IsHidden(WebWidget *webwidget) { return true; }
67 virtual void RunModal(WebWidget *webwidget) { } 67 virtual void RunModal(WebWidget *webwidget) { }
68 virtual void SetCursor(WebWidget *webwidget, const WebCursorInfo &cursor) { } 68 virtual void SetCursor(WebWidget *webwidget, const WebCursorInfo &cursor) { }
69 virtual void SetWindowRect(WebWidget *webwidget, 69 virtual void SetWindowRect(WebWidget *webwidget,
70 const WebKit::WebRect &rect) { } 70 const WebKit::WebRect &rect) { }
71 virtual void Show(WebWidget *webwidget, WindowOpenDisposition disposition) { } 71 virtual void Show(WebWidget *webwidget, WindowOpenDisposition disposition) { }
72 virtual void ShowAsPopupWithItems(WebWidget *webwidget,
73 const WebKit::WebRect &bounds,
74 int item_height,
75 int selected_index,
76 const std::vector<WebMenuItem> &items) { }
77 // Tell the loader to load the data into the 'shadow page' synchronously, 72 // Tell the loader to load the data into the 'shadow page' synchronously,
78 // so we can grab the resulting Document right after load. 73 // so we can grab the resulting Document right after load.
79 virtual void DidCreateDataSource(WebFrame* frame, WebKit::WebDataSource* ds) { 74 virtual void DidCreateDataSource(WebFrame* frame, WebKit::WebDataSource* ds) {
80 static_cast<WebDataSourceImpl*>(ds)->setDeferMainResourceDataLoad(false); 75 static_cast<WebDataSourceImpl*>(ds)->setDeferMainResourceDataLoad(false);
81 } 76 }
82 // Lazy allocate and leak this instance. 77 // Lazy allocate and leak this instance.
83 static WorkerWebViewDelegate* worker_delegate() { 78 static WorkerWebViewDelegate* worker_delegate() {
84 static WorkerWebViewDelegate* worker_delegate = new WorkerWebViewDelegate(); 79 static WorkerWebViewDelegate* worker_delegate = new WorkerWebViewDelegate();
85 return worker_delegate; 80 return worker_delegate;
86 } 81 }
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 370
376 namespace WebKit { 371 namespace WebKit {
377 372
378 WebWorker* WebWorker::create(WebWorkerClient* client) { 373 WebWorker* WebWorker::create(WebWorkerClient* client) {
379 return NULL; 374 return NULL;
380 } 375 }
381 376
382 } 377 }
383 378
384 #endif 379 #endif
OLDNEW
« no previous file with comments | « webkit/glue/webwidget_impl.cc ('k') | webkit/tools/test_shell/mac/test_webview_delegate.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698