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

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

Issue 1612: Implement "iframe shim" behavior for windowed plugins.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 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/plugin/webplugin_proxy.cc ('k') | chrome/renderer/webplugin_delegate_proxy.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/gfx/bitmap_header.h" 12 #include "base/gfx/gdi_util.h"
13 #include "base/gfx/bitmap_platform_device_win.h" 13 #include "base/gfx/bitmap_platform_device_win.h"
14 #include "base/gfx/image_operations.h" 14 #include "base/gfx/image_operations.h"
15 #include "base/gfx/native_theme.h" 15 #include "base/gfx/native_theme.h"
16 #include "base/gfx/vector_canvas.h" 16 #include "base/gfx/vector_canvas.h"
17 #include "base/gfx/png_encoder.h" 17 #include "base/gfx/png_encoder.h"
18 #include "base/string_piece.h" 18 #include "base/string_piece.h"
19 #include "base/string_util.h" 19 #include "base/string_util.h"
20 #include "chrome/app/theme/theme_resources.h" 20 #include "chrome/app/theme/theme_resources.h"
21 #include "chrome/common/chrome_switches.h" 21 #include "chrome/common/chrome_switches.h"
22 #include "chrome/common/gfx/emf.h" 22 #include "chrome/common/gfx/emf.h"
(...skipping 2540 matching lines...) Expand 10 before | Expand all | Expand 10 after
2563 2563
2564 if (template_html.empty()) { 2564 if (template_html.empty()) {
2565 NOTREACHED() << "unable to load template. ID: " << template_resource_id; 2565 NOTREACHED() << "unable to load template. ID: " << template_resource_id;
2566 return ""; 2566 return "";
2567 } 2567 }
2568 // "t" is the id of the templates root node. 2568 // "t" is the id of the templates root node.
2569 return jstemplate_builder::GetTemplateHtml( 2569 return jstemplate_builder::GetTemplateHtml(
2570 template_html, &error_strings, "t"); 2570 template_html, &error_strings, "t");
2571 } 2571 }
2572 2572
OLDNEW
« no previous file with comments | « chrome/plugin/webplugin_proxy.cc ('k') | chrome/renderer/webplugin_delegate_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698