Searched defs:image (Results 226 - 250 of 902) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/browser/thumbnails/
H A Dthumbnail_tab_helper.cc58 gfx::Image image = gfx::Image::CreateFrom1xBitmap(thumbnail); local
59 context.service->SetPageThumbnail(context, image);
/external/chromium_org/chrome/browser/ui/libgtk2ui/
H A Dmenu_util.cc17 GtkWidget* BuildMenuItemWithImage(const std::string& label, GtkWidget* image) { argument
19 gtk_image_menu_item_set_image(GTK_IMAGE_MENU_ITEM(menu_item), image); local
/external/chromium_org/chrome/browser/ui/search/
H A Dinstant_test_utils.cc164 const std::string& image,
170 "img.src = '" + image + "';";
163 LoadImage(content::RenderViewHost* rvh, const std::string& image, bool* loaded) argument
/external/chromium_org/chrome/browser/ui/toolbar/
H A Dwrench_icon_painter.cc13 #include "ui/gfx/image/image_skia.h"
75 gfx::ImageSkia* image = theme_provider->GetImageSkiaNamed( local
78 canvas->DrawImageInt(*image,
79 center.x() - image->width() / 2,
80 center.y() - image->height() / 2);
85 gfx::ImageSkia* image = theme_provider->GetImageSkiaNamed(IDR_TOOLS_BAR); local
86 int x = center.x() - image->width() / 2;
87 int y = center.y() - image->height() * kBarCount / 2;
89 canvas->DrawImageInt(*image, x, y);
90 y += image
97 gfx::ImageSkia* image = local
[all...]
/external/chromium_org/chrome/browser/ui/views/apps/app_info_dialog/
H A Dapp_info_header_panel.cc29 #include "ui/gfx/image/image.h"
30 #include "ui/gfx/image/image_skia.h"
31 #include "ui/gfx/image/image_skia_rep.h"
140 extensions::ExtensionResource image = extensions::IconsInfo::GetIconResource( local
148 image,
153 void AppInfoHeaderPanel::OnAppImageLoaded(const gfx::Image& image) { argument
155 if (image.IsEmpty()) {
160 bitmap = image.ToSkBitmap();
/external/chromium_org/chrome/browser/ui/views/
H A Dcritical_notification_bubble_view.cc174 views::ImageView* image = new views::ImageView(); local
175 image->SetImage(rb.GetImageSkiaNamed(IDR_UPDATE_MENU_SEVERITY_HIGH));
176 layout->AddView(image);
H A Dglobal_error_bubble_view.cc14 #include "ui/gfx/image/image.h"
68 // Compensate for built-in vertical padding in the anchor view's image.
73 gfx::Image image = error_->GetBubbleViewIcon(); local
74 CHECK(!image.IsEmpty());
76 image_view->SetImage(image.ToImageSkia());
H A Dtab_icon_view.cc104 const gfx::ImageSkia& image) {
105 PaintIcon(canvas, image, 0, 0, image.width(), image.height(), true);
109 const gfx::ImageSkia& image,
134 // Center the scaled image.
135 canvas->DrawImageInt(image, src_x, src_y, src_w, src_h,
103 PaintFavicon(gfx::Canvas* canvas, const gfx::ImageSkia& image) argument
108 PaintIcon(gfx::Canvas* canvas, const gfx::ImageSkia& image, int src_x, int src_y, int src_w, int src_h, bool filter) argument
/external/chromium_org/chrome/browser/ui/views/extensions/
H A Dbookmark_app_bubble_view.cc240 const gfx::ImageSkia& image) {
242 icon_image_view_->SetImage(image);
239 SetAppImage(const std::string& id, const gfx::ImageSkia& image) argument
H A Dextension_uninstall_dialog_view.cc72 gfx::ImageSkia* image);
159 gfx::ImageSkia* image)
163 gfx::Size size(image->width(), image->height());
168 icon_->SetImage(*image);
155 ExtensionUninstallDialogDelegateView( ExtensionUninstallDialogViews* dialog_view, const extensions::Extension* extension, const extensions::Extension* triggering_extension, gfx::ImageSkia* image) argument
/external/chromium_org/chrome/browser/ui/views/infobars/
H A Dextension_infobar.cc23 #include "ui/gfx/image/canvas_image_source.h"
24 #include "ui/gfx/image/image.h"
74 // The margin between the extension icon and the drop-down arrow image.
138 // Wait until the icon image is loaded before showing it.
192 void ExtensionInfoBar::OnImageLoaded(const gfx::Image& image) { argument
199 if (image.IsEmpty())
202 icon = image.ToImageSkia();
/external/chromium_org/chrome/browser/ui/views/status_icons/
H A Dstatus_tray_win.cc202 const gfx::ImageSkia& image,
213 icon->SetImage(image);
200 CreatePlatformStatusIcon( StatusTray::StatusIconType type, const gfx::ImageSkia& image, const base::string16& tool_tip) argument
/external/chromium_org/chrome/browser/ui/views/website_settings/
H A Dpermission_selector_view.cc13 #include "ui/gfx/image/image.h"
153 const gfx::Image& image = WebsiteSettingsUI::GetPermissionIcon(permission); local
154 icon_->SetImage(image.ToImageSkia());
210 const gfx::Image& image = WebsiteSettingsUI::GetPermissionIcon(permission); local
211 icon_->SetImage(image.ToImageSkia());
/external/chromium_org/components/enhanced_bookmarks/
H A Dpersistent_image_store.cc95 const gfx::Image& image) {
100 Erase(page_url); // Remove previous image for this url, if any.
110 enhanced_bookmarks::BytesForImage(image);
112 // Insert an empty image in case encoding fails.
120 statement.BindInt(3, image.Size().width());
121 statement.BindInt(4, image.Size().height());
230 DCHECK(false) << "Can't open image DB";
93 Insert(const GURL& page_url, const GURL& image_url, const gfx::Image& image) argument
/external/chromium_org/components/feedback/
H A Dfeedback_common.h69 const std::string* image() const { return image_.get(); } function in class:FeedbackCommon
89 void set_image(scoped_ptr<std::string> image) { image_ = image.Pass(); } argument
/external/chromium_org/content/browser/compositor/
H A Dbuffer_queue_unittest.cc43 unsigned current_surface() { return output_surface_->current_surface_.image; }
71 EXPECT_TRUE(InsertUnique(&buffers, available_surfaces()[i].image));
76 EXPECT_TRUE(InsertUnique(&buffers, it->image));
158 Expectation image = local
168 .After(tex, image);
/external/chromium_org/content/browser/renderer_host/
H A Drender_view_host_delegate_view.h52 const gfx::ImageSkia& image,
88 // system, |zoomed_bitmap| is an enlarged image of that |target_rect|, and
50 StartDragging(const DropData& drop_data, blink::WebDragOperationsMask allowed_ops, const gfx::ImageSkia& image, const gfx::Vector2d& image_offset, const DragEventSourceInfo& event_info) argument
/external/chromium_org/content/browser/web_contents/aura/
H A Dimage_window_delegate.cc11 #include "ui/gfx/image/image.h"
12 #include "ui/gfx/image/image_skia.h"
25 void ImageWindowDelegate::SetImage(const gfx::Image& image) { argument
26 image_ = image;
/external/chromium_org/content/renderer/
H A Dimage_loading_helper.cc31 // Proportionally resizes the |image| to fit in a box of size
33 SkBitmap ResizeImage(const SkBitmap& image, uint32_t max_image_size) { argument
35 return image;
36 uint32_t max_dimension = std::max(image.width(), image.height());
38 return image;
39 // Proportionally resize the minimal image to fit in a box of size
42 image,
44 static_cast<uint64_t>(image.width()) * max_image_size / max_dimension,
45 static_cast<uint64_t>(image
74 const SkBitmap& image = *it; local
[all...]
H A Dwebclipboard_impl.cc151 void WebClipboardImpl::writeImage(const WebImage& image, argument
156 if (!image.isNull()) {
157 const SkBitmap& bitmap = image.getSkBitmap();
166 scw.WriteBitmapFromPixels(pixels, image.size());
172 // When writing the image, we also write the image markup so that pasting
173 // into rich text editors, such as Gmail, reveals the image. We also don't
175 // the image if there is also a text format on the clipboard.
177 // the image markup over attaching the actual image
[all...]
/external/chromium_org/content/test/
H A Dmock_webclipboard_impl.cc67 results.push_back(WebString("image/png"));
99 // TODO(dcheng): Verify that we can assume the image is ARGB8888. Note that
157 void MockWebClipboardImpl::writeImage(const blink::WebImage& image, argument
160 if (!image.isNull()) {
165 m_image = image;
/external/chromium_org/extensions/browser/
H A Dimage_loader_unittest.cc25 #include "ui/gfx/image/image.h"
26 #include "ui/gfx/image/image_family.h"
27 #include "ui/gfx/image/image_skia.h"
45 void OnImageLoaded(const gfx::Image& image) { argument
49 image_ = image;
118 // Tests loading an image works correctly.
137 // The image isn't cached, so we should not have received notification.
142 // We should have gotten the image.
146 // Check that the image wa
292 const gfx::Image* image = image_family_.GetBest(sizes[i], sizes[i]); local
[all...]
/external/chromium_org/gpu/command_buffer/service/
H A Dtexture_definition.h40 // the underlying image buffer(s).
46 const scoped_refptr<NativeImageBuffer>& image);
58 scoped_refptr<NativeImageBuffer> image() { return image_buffer_; } function in class:gpu::gles2::TextureDefinition
/external/chromium_org/ppapi/cpp/
H A Dcompositor_layer.cc81 int32_t CompositorLayer::SetImage(const ImageData& image, argument
85 pp_resource(), image.pp_resource(), NULL,
90 pp_resource(), image.pp_resource(), NULL,
96 int32_t CompositorLayer::SetImage(const ImageData& image, argument
101 pp_resource(), image.pp_resource(), &size.pp_size(),
106 pp_resource(), image.pp_resource(), &size.pp_size(),
/external/chromium_org/ppapi/examples/2d/
H A Dpaint_manager_example.cc27 static void FillRect(pp::ImageData* image, argument
31 y < std::min(image->size().height() - 1, top + height);
34 x < std::min(image->size().width() - 1, left + width);
36 *image->GetAddr32(pp::Point(x, y)) = color;
84 // Make an image just large enough to hold all dirty rects. We won't
86 // ones. Since image allocation can be somewhat heavyweight, we wouldn't
91 // We could repaint everything inside the image we made above. For this
102 // Since our image is just the invalid region, we need to offset the

Completed in 5725 milliseconds

1234567891011>>