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

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 226523006: Changes to content/ to facilitate new zoom extension API (work in progress) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 virtual void DeleteImage(int32 image_id, int32 sync_point) OVERRIDE; 398 virtual void DeleteImage(int32 image_id, int32 sync_point) OVERRIDE;
399 virtual scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer( 399 virtual scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer(
400 size_t width, 400 size_t width,
401 size_t height, 401 size_t height,
402 unsigned internalformat) OVERRIDE; 402 unsigned internalformat) OVERRIDE;
403 403
404 void Init(); 404 void Init();
405 405
406 void OnSetZoomLevelForCurrentURL(const std::string& scheme, 406 void OnSetZoomLevelForCurrentURL(const std::string& scheme,
407 const std::string& host, 407 const std::string& host,
408 double zoom_level); 408 double zoom_level,
409 const std::set<int>& exceptions);
409 void OnCreateNewView(const ViewMsg_New_Params& params); 410 void OnCreateNewView(const ViewMsg_New_Params& params);
410 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); 411 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id);
411 void OnPurgePluginListCache(bool reload_pages); 412 void OnPurgePluginListCache(bool reload_pages);
412 void OnNetworkStateChanged(bool online); 413 void OnNetworkStateChanged(bool online);
413 void OnGetAccessibilityTree(); 414 void OnGetAccessibilityTree();
414 void OnTempCrashWithData(const GURL& data); 415 void OnTempCrashWithData(const GURL& data);
415 void OnUpdateTimezone(); 416 void OnUpdateTimezone();
416 void OnMemoryPressure( 417 void OnMemoryPressure(
417 base::MemoryPressureListener::MemoryPressureLevel memory_pressure_level); 418 base::MemoryPressureListener::MemoryPressureLevel memory_pressure_level);
418 #if defined(OS_ANDROID) 419 #if defined(OS_ANDROID)
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 bool is_low_res_tiling_enabled_; 542 bool is_low_res_tiling_enabled_;
542 bool is_lcd_text_enabled_; 543 bool is_lcd_text_enabled_;
543 bool is_map_image_enabled_; 544 bool is_map_image_enabled_;
544 545
545 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 546 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
546 }; 547 };
547 548
548 } // namespace content 549 } // namespace content
549 550
550 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 551 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698