Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 95 #include "modules/credentialmanager/CredentialManagerClient.h" | 95 #include "modules/credentialmanager/CredentialManagerClient.h" |
| 96 #include "modules/encryptedmedia/MediaKeysController.h" | 96 #include "modules/encryptedmedia/MediaKeysController.h" |
| 97 #include "modules/storage/StorageNamespaceController.h" | 97 #include "modules/storage/StorageNamespaceController.h" |
| 98 #include "modules/webgl/WebGLRenderingContext.h" | 98 #include "modules/webgl/WebGLRenderingContext.h" |
| 99 #include "platform/ContextMenu.h" | 99 #include "platform/ContextMenu.h" |
| 100 #include "platform/ContextMenuItem.h" | 100 #include "platform/ContextMenuItem.h" |
| 101 #include "platform/Cursor.h" | 101 #include "platform/Cursor.h" |
| 102 #include "platform/Histogram.h" | 102 #include "platform/Histogram.h" |
| 103 #include "platform/KeyboardCodes.h" | 103 #include "platform/KeyboardCodes.h" |
| 104 #include "platform/Logging.h" | 104 #include "platform/Logging.h" |
| 105 #include "platform/NotImplemented.h" | |
| 106 #include "platform/PlatformGestureEvent.h" | 105 #include "platform/PlatformGestureEvent.h" |
| 107 #include "platform/PlatformKeyboardEvent.h" | 106 #include "platform/PlatformKeyboardEvent.h" |
| 108 #include "platform/PlatformMouseEvent.h" | 107 #include "platform/PlatformMouseEvent.h" |
| 109 #include "platform/RuntimeEnabledFeatures.h" | 108 #include "platform/RuntimeEnabledFeatures.h" |
| 110 #include "platform/TraceEvent.h" | 109 #include "platform/TraceEvent.h" |
| 111 #include "platform/UserGestureIndicator.h" | 110 #include "platform/UserGestureIndicator.h" |
| 112 #include "platform/exported/WebActiveGestureAnimation.h" | 111 #include "platform/exported/WebActiveGestureAnimation.h" |
| 113 #include "platform/fonts/FontCache.h" | 112 #include "platform/fonts/FontCache.h" |
| 114 #include "platform/graphics/Color.h" | 113 #include "platform/graphics/Color.h" |
| 115 #include "platform/graphics/CompositorFactory.h" | 114 #include "platform/graphics/CompositorFactory.h" |
| (...skipping 2580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2696 | 2695 |
| 2697 case WebTextDirectionLeftToRight: | 2696 case WebTextDirectionLeftToRight: |
| 2698 editor.setBaseWritingDirection(LeftToRightWritingDirection); | 2697 editor.setBaseWritingDirection(LeftToRightWritingDirection); |
| 2699 break; | 2698 break; |
| 2700 | 2699 |
| 2701 case WebTextDirectionRightToLeft: | 2700 case WebTextDirectionRightToLeft: |
| 2702 editor.setBaseWritingDirection(RightToLeftWritingDirection); | 2701 editor.setBaseWritingDirection(RightToLeftWritingDirection); |
| 2703 break; | 2702 break; |
| 2704 | 2703 |
| 2705 default: | 2704 default: |
| 2706 notImplemented(); | 2705 NOTIMPLEMENTED(); |
|
haraken
2016/03/24 04:09:58
Not related to this CL, most of the NOTIMPLEMENTED
| |
| 2707 break; | 2706 break; |
| 2708 } | 2707 } |
| 2709 } | 2708 } |
| 2710 | 2709 |
| 2711 bool WebViewImpl::isAcceleratedCompositingActive() const | 2710 bool WebViewImpl::isAcceleratedCompositingActive() const |
| 2712 { | 2711 { |
| 2713 // For SPv2, accelerated compositing is managed by the | 2712 // For SPv2, accelerated compositing is managed by the |
| 2714 // PaintArtifactCompositor. | 2713 // PaintArtifactCompositor. |
| 2715 if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) | 2714 if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) |
| 2716 return m_paintArtifactCompositor.rootLayer(); | 2715 return m_paintArtifactCompositor.rootLayer(); |
| (...skipping 1849 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4566 { | 4565 { |
| 4567 // TODO(oshima): Investigate if this should return the ScreenInfo's scale fa ctor rather than | 4566 // TODO(oshima): Investigate if this should return the ScreenInfo's scale fa ctor rather than |
| 4568 // page's scale factor, which can be 1 in use-zoom-for-dsf mode. | 4567 // page's scale factor, which can be 1 in use-zoom-for-dsf mode. |
| 4569 if (!page()) | 4568 if (!page()) |
| 4570 return 1; | 4569 return 1; |
| 4571 | 4570 |
| 4572 return page()->deviceScaleFactor(); | 4571 return page()->deviceScaleFactor(); |
| 4573 } | 4572 } |
| 4574 | 4573 |
| 4575 } // namespace blink | 4574 } // namespace blink |
| OLD | NEW |