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

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

Issue 6544028: Create a Factory for NativeMetafile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ARM compile failure fix Created 9 years, 9 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/utility/utility_thread.cc ('k') | printing/emf_win.h » ('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) 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 #include "content/browser/renderer_host/render_view_host.h" 5 #include "content/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/web_apps.h" 38 #include "chrome/common/web_apps.h"
39 #include "content/browser/child_process_security_policy.h" 39 #include "content/browser/child_process_security_policy.h"
40 #include "content/browser/cross_site_request_manager.h" 40 #include "content/browser/cross_site_request_manager.h"
41 #include "content/browser/in_process_webkit/session_storage_namespace.h" 41 #include "content/browser/in_process_webkit/session_storage_namespace.h"
42 #include "content/browser/renderer_host/render_process_host.h" 42 #include "content/browser/renderer_host/render_process_host.h"
43 #include "content/browser/renderer_host/render_view_host_delegate.h" 43 #include "content/browser/renderer_host/render_view_host_delegate.h"
44 #include "content/browser/renderer_host/render_widget_host.h" 44 #include "content/browser/renderer_host/render_widget_host.h"
45 #include "content/browser/renderer_host/render_widget_host_view.h" 45 #include "content/browser/renderer_host/render_widget_host_view.h"
46 #include "content/browser/site_instance.h" 46 #include "content/browser/site_instance.h"
47 #include "net/base/net_util.h" 47 #include "net/base/net_util.h"
48 #include "printing/native_metafile.h"
49 #include "third_party/skia/include/core/SkBitmap.h" 48 #include "third_party/skia/include/core/SkBitmap.h"
50 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h" 49 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h"
51 #include "ui/gfx/native_widget_types.h" 50 #include "ui/gfx/native_widget_types.h"
52 #include "webkit/glue/context_menu.h" 51 #include "webkit/glue/context_menu.h"
53 #include "webkit/glue/webaccessibility.h" 52 #include "webkit/glue/webaccessibility.h"
54 #include "webkit/glue/webdropdata.h" 53 #include "webkit/glue/webdropdata.h"
55 54
56 using base::TimeDelta; 55 using base::TimeDelta;
57 using WebKit::WebConsoleMessage; 56 using WebKit::WebConsoleMessage;
58 using WebKit::WebDragOperation; 57 using WebKit::WebDragOperation;
(...skipping 1644 matching lines...) Expand 10 before | Expand all | Expand 10 after
1703 LOG(DFATAL) << "Invalid checked state " << checked_state; 1702 LOG(DFATAL) << "Invalid checked state " << checked_state;
1704 return; 1703 return;
1705 } 1704 }
1706 1705
1707 CommandState state; 1706 CommandState state;
1708 state.is_enabled = is_enabled; 1707 state.is_enabled = is_enabled;
1709 state.checked_state = 1708 state.checked_state =
1710 static_cast<RenderViewCommandCheckedState>(checked_state); 1709 static_cast<RenderViewCommandCheckedState>(checked_state);
1711 command_states_[static_cast<RenderViewCommand>(command)] = state; 1710 command_states_[static_cast<RenderViewCommand>(command)] = state;
1712 } 1711 }
OLDNEW
« no previous file with comments | « chrome/utility/utility_thread.cc ('k') | printing/emf_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698