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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_base.h

Issue 2085973004: Color: Remove ViewMsg_ColorProfile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't change profile yet Created 4 years, 6 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
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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 348
349 // Compute the orientation type of the display assuming it is a mobile device. 349 // Compute the orientation type of the display assuming it is a mobile device.
350 static blink::WebScreenOrientationType GetOrientationTypeForMobile( 350 static blink::WebScreenOrientationType GetOrientationTypeForMobile(
351 const display::Display& display); 351 const display::Display& display);
352 352
353 // Compute the orientation type of the display assuming it is a desktop. 353 // Compute the orientation type of the display assuming it is a desktop.
354 static blink::WebScreenOrientationType GetOrientationTypeForDesktop( 354 static blink::WebScreenOrientationType GetOrientationTypeForDesktop(
355 const display::Display& display); 355 const display::Display& display);
356 356
357 virtual void GetScreenInfo(blink::WebScreenInfo* results) = 0; 357 virtual void GetScreenInfo(blink::WebScreenInfo* results) = 0;
358 virtual bool GetScreenColorProfile(std::vector<char>* color_profile) = 0;
359 358
360 // Gets the bounds of the window, in screen coordinates. 359 // Gets the bounds of the window, in screen coordinates.
361 virtual gfx::Rect GetBoundsInRootWindow() = 0; 360 virtual gfx::Rect GetBoundsInRootWindow() = 0;
362 361
363 // Called by the RenderFrameHost when it receives an IPC response to a 362 // Called by the RenderFrameHost when it receives an IPC response to a
364 // TextSurroundingSelectionRequest. 363 // TextSurroundingSelectionRequest.
365 virtual void OnTextSurroundingSelectionResponse(const base::string16& content, 364 virtual void OnTextSurroundingSelectionResponse(const base::string16& content,
366 size_t start_offset, 365 size_t start_offset,
367 size_t end_offset); 366 size_t end_offset);
368 367
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_; 466 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_;
468 467
469 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; 468 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_;
470 469
471 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 470 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
472 }; 471 };
473 472
474 } // namespace content 473 } // namespace content
475 474
476 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 475 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698