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

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: fix nacl64 build 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 26 matching lines...) Expand all
37 #include "chrome/common/net/url_request_context_getter.h" 37 #include "chrome/common/net/url_request_context_getter.h"
38 #include "chrome/common/notification_details.h" 38 #include "chrome/common/notification_details.h"
39 #include "chrome/common/notification_service.h" 39 #include "chrome/common/notification_service.h"
40 #include "chrome/common/notification_type.h" 40 #include "chrome/common/notification_type.h"
41 #include "chrome/common/render_messages.h" 41 #include "chrome/common/render_messages.h"
42 #include "chrome/common/render_messages_params.h" 42 #include "chrome/common/render_messages_params.h"
43 #include "chrome/common/result_codes.h" 43 #include "chrome/common/result_codes.h"
44 #include "chrome/common/thumbnail_score.h" 44 #include "chrome/common/thumbnail_score.h"
45 #include "chrome/common/translate_errors.h" 45 #include "chrome/common/translate_errors.h"
46 #include "chrome/common/url_constants.h" 46 #include "chrome/common/url_constants.h"
47 #include "chrome/common/web_apps.h"
47 #include "gfx/native_widget_types.h" 48 #include "gfx/native_widget_types.h"
48 #include "net/base/net_util.h" 49 #include "net/base/net_util.h"
49 #include "third_party/skia/include/core/SkBitmap.h" 50 #include "third_party/skia/include/core/SkBitmap.h"
50 #include "third_party/WebKit/WebKit/chromium/public/WebFindOptions.h" 51 #include "third_party/WebKit/WebKit/chromium/public/WebFindOptions.h"
51 #include "webkit/glue/context_menu.h" 52 #include "webkit/glue/context_menu.h"
52 #include "webkit/glue/dom_operations.h"
53 #include "webkit/glue/form_data.h" 53 #include "webkit/glue/form_data.h"
54 #include "webkit/glue/form_field.h" 54 #include "webkit/glue/form_field.h"
55 #include "webkit/glue/password_form_dom_manager.h" 55 #include "webkit/glue/password_form_dom_manager.h"
56 #include "webkit/glue/webaccessibility.h" 56 #include "webkit/glue/webaccessibility.h"
57 #include "webkit/glue/webdropdata.h" 57 #include "webkit/glue/webdropdata.h"
58 58
59 using base::TimeDelta; 59 using base::TimeDelta;
60 using webkit_glue::FormData; 60 using webkit_glue::FormData;
61 using webkit_glue::PasswordForm; 61 using webkit_glue::PasswordForm;
62 using webkit_glue::PasswordFormDomManager; 62 using webkit_glue::PasswordFormDomManager;
63 using webkit_glue::PasswordFormFillData; 63 using webkit_glue::PasswordFormFillData;
64 using webkit_glue::WebApplicationInfo;
65 using WebKit::WebConsoleMessage; 64 using WebKit::WebConsoleMessage;
66 using WebKit::WebDragOperation; 65 using WebKit::WebDragOperation;
67 using WebKit::WebDragOperationNone; 66 using WebKit::WebDragOperationNone;
68 using WebKit::WebDragOperationsMask; 67 using WebKit::WebDragOperationsMask;
69 using WebKit::WebFindOptions; 68 using WebKit::WebFindOptions;
70 using WebKit::WebInputEvent; 69 using WebKit::WebInputEvent;
71 using WebKit::WebMediaPlayerAction; 70 using WebKit::WebMediaPlayerAction;
72 using WebKit::WebTextDirection; 71 using WebKit::WebTextDirection;
73 72
74 namespace { 73 namespace {
(...skipping 2149 matching lines...) Expand 10 before | Expand all | Expand 10 after
2224 } 2223 }
2225 #else 2224 #else
2226 void RenderViewHost::OnPagesReadyForPreview(int fd_in_browser) { 2225 void RenderViewHost::OnPagesReadyForPreview(int fd_in_browser) {
2227 // TODO(kmadhusu): Function definition needs to be changed. 2226 // TODO(kmadhusu): Function definition needs to be changed.
2228 // fd_in_browser should be the file descriptor of the metafile. 2227 // fd_in_browser should be the file descriptor of the metafile.
2229 2228
2230 // Send the printingDone msg for now. 2229 // Send the printingDone msg for now.
2231 Send(new ViewMsg_PrintingDone(routing_id(), -1, true)); 2230 Send(new ViewMsg_PrintingDone(routing_id(), -1, true));
2232 } 2231 }
2233 #endif 2232 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698