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

Side by Side Diff: chrome/browser/renderer_host/render_view_host.cc

Issue 4979003: Implement web app definition parsing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 10 years, 1 month 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/browser/renderer_host/render_view_host.h" 5 #include "chrome/browser/renderer_host/render_view_host.h"
6 6
7 #include <string> 7 #include <string>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 27 matching lines...) Expand all
38 #include "chrome/common/net/url_request_context_getter.h" 38 #include "chrome/common/net/url_request_context_getter.h"
39 #include "chrome/common/notification_details.h" 39 #include "chrome/common/notification_details.h"
40 #include "chrome/common/notification_service.h" 40 #include "chrome/common/notification_service.h"
41 #include "chrome/common/notification_type.h" 41 #include "chrome/common/notification_type.h"
42 #include "chrome/common/render_messages.h" 42 #include "chrome/common/render_messages.h"
43 #include "chrome/common/render_messages_params.h" 43 #include "chrome/common/render_messages_params.h"
44 #include "chrome/common/result_codes.h" 44 #include "chrome/common/result_codes.h"
45 #include "chrome/common/thumbnail_score.h" 45 #include "chrome/common/thumbnail_score.h"
46 #include "chrome/common/translate_errors.h" 46 #include "chrome/common/translate_errors.h"
47 #include "chrome/common/url_constants.h" 47 #include "chrome/common/url_constants.h"
48 #include "chrome/common/web_apps.h"
48 #include "gfx/native_widget_types.h" 49 #include "gfx/native_widget_types.h"
49 #include "net/base/net_util.h" 50 #include "net/base/net_util.h"
50 #include "third_party/skia/include/core/SkBitmap.h" 51 #include "third_party/skia/include/core/SkBitmap.h"
51 #include "third_party/WebKit/WebKit/chromium/public/WebFindOptions.h" 52 #include "third_party/WebKit/WebKit/chromium/public/WebFindOptions.h"
52 #include "webkit/glue/context_menu.h" 53 #include "webkit/glue/context_menu.h"
53 #include "webkit/glue/dom_operations.h"
54 #include "webkit/glue/form_data.h" 54 #include "webkit/glue/form_data.h"
55 #include "webkit/glue/form_field.h" 55 #include "webkit/glue/form_field.h"
56 #include "webkit/glue/password_form_dom_manager.h" 56 #include "webkit/glue/password_form_dom_manager.h"
57 #include "webkit/glue/webaccessibility.h" 57 #include "webkit/glue/webaccessibility.h"
58 #include "webkit/glue/webdropdata.h" 58 #include "webkit/glue/webdropdata.h"
59 59
60 using base::TimeDelta; 60 using base::TimeDelta;
61 using webkit_glue::FormData; 61 using webkit_glue::FormData;
62 using webkit_glue::PasswordForm; 62 using webkit_glue::PasswordForm;
63 using webkit_glue::PasswordFormDomManager; 63 using webkit_glue::PasswordFormDomManager;
64 using webkit_glue::PasswordFormFillData; 64 using webkit_glue::PasswordFormFillData;
65 using webkit_glue::WebApplicationInfo;
66 using WebKit::WebConsoleMessage; 65 using WebKit::WebConsoleMessage;
67 using WebKit::WebDragOperation; 66 using WebKit::WebDragOperation;
68 using WebKit::WebDragOperationNone; 67 using WebKit::WebDragOperationNone;
69 using WebKit::WebDragOperationsMask; 68 using WebKit::WebDragOperationsMask;
70 using WebKit::WebFindOptions; 69 using WebKit::WebFindOptions;
71 using WebKit::WebInputEvent; 70 using WebKit::WebInputEvent;
72 using WebKit::WebMediaPlayerAction; 71 using WebKit::WebMediaPlayerAction;
73 using WebKit::WebTextDirection; 72 using WebKit::WebTextDirection;
74 73
75 namespace { 74 namespace {
(...skipping 2170 matching lines...) Expand 10 before | Expand all | Expand 10 after
2246 } 2245 }
2247 #else 2246 #else
2248 void RenderViewHost::OnPagesReadyForPreview(int fd_in_browser) { 2247 void RenderViewHost::OnPagesReadyForPreview(int fd_in_browser) {
2249 // TODO(kmadhusu): Function definition needs to be changed. 2248 // TODO(kmadhusu): Function definition needs to be changed.
2250 // fd_in_browser should be the file descriptor of the metafile. 2249 // fd_in_browser should be the file descriptor of the metafile.
2251 2250
2252 // Send the printingDone msg for now. 2251 // Send the printingDone msg for now.
2253 Send(new ViewMsg_PrintingDone(routing_id(), -1, true)); 2252 Send(new ViewMsg_PrintingDone(routing_id(), -1, true));
2254 } 2253 }
2255 #endif 2254 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698