A mobile electronic device comprising: at least one processor (120, 1410) configured for receiving instructions, decipher the instructions, and perform calculation or data processing according to the deciphered instructions; a display module (251, 1460) electrically connected with the at least one processor; a communication module (160, 1420) electrically connected with the at least one processor and configured for connecting communication between the electronic device and an external device; a portable electronic device housing (210, 770) configured to house at least a part of the display module, the at least one processor, and the communication module; a heart rate, HR, sensor (205, 255, 310, 710) placed on one surface of the housing and has at least its part exposed to an outside, and is electrically connected with the at least one processor; at least one electronic component (203, 320, 720) exposed through a part of the housing, and placed adjacent to the HR sensor; wherein said at least one electronic component (320, 720) performs different operations than the heart rate, HR, sensor (205, 255, 310, 710); an integral window (2051, 330, 730, 1010, 1220) configured to cover the HR sensor and the at least one electronic component all together, wherein the integral window includes an HR sensor area (3321, 7321) and an area (3324, 7324) of the electronic component; and the integral window includes a shielding structure (760, 7326, 7327, 1020, 1210) configured to provide shielding between the HR sensor area and the area of the electronic component, wherein the integral window includes: a first member comprising a transparent material, and a second member comprises at least one penetrating hole, wherein the first member comprises a top portion, a bottom portion, and a connecting portion, wherein the connecting portion penetrates through the at least one penetrating hole for connecting the top portion and the bottom portion is almost wholly in contact with an inner wall of the penetrating hole, wherein the second member is in contact with the top portion and the bottom portion, and is interposed between the top portion and the bottom portion of the first member. wherein the second member includes an opaque material, which provides the shielding structure. at least one processor (120, 1410) configured for receiving instructions, decipher the instructions, and perform calculation or data processing according to the deciphered instructions; a display module (251, 1460) electrically connected with the at least one processor; a communication module (160, 1420) electrically connected with the at least one processor and configured for connecting communication between the electronic device and an external device; a portable electronic device housing (210, 770) configured to house at least a part of the display module, the at least one processor, and the communication module; a heart rate, HR, sensor (205, 255, 310, 710) placed on one surface of the housing and has at least its part exposed to an outside, and is electrically connected with the at least one processor; at least one electronic component (203, 320, 720) exposed through a part of the housing, and placed adjacent to the HR sensor; wherein said at least one electronic component (320, 720) performs different operations than the heart rate, HR, sensor (205, 255, 310, 710); an integral window (2051, 330, 730, 1010, 1220) configured to cover the HR sensor and the at least one electronic component all together, wherein the integral window includes an HR sensor area (3321, 7321) and an area (3324, 7324) of the electronic component; and the integral window includes a shielding structure (760, 7326, 7327, 1020, 1210) configured to provide shielding between the HR sensor area and the area of the electronic component, wherein the integral window includes: a first member comprising a transparent material, and a second member comprises at least one penetrating hole, wherein the first member comprises a top portion, a bottom portion, and a connecting portion, wherein the connecting portion penetrates through the at least one penetrating hole for connecting the top portion and the bottom portion is almost wholly in contact with an inner wall of the penetrating hole, wherein the second member is in contact with the top portion and the bottom portion, and is interposed between the top portion and the bottom portion of the first member. wherein the second member includes an opaque material, which provides the shielding structure. a first member comprising a transparent material, and a second member comprises at least one penetrating hole, wherein the first member comprises a top portion, a bottom portion, and a connecting portion, wherein the connecting portion penetrates through the at least one penetrating hole for connecting the top portion and the bottom portion is almost wholly in contact with an inner wall of the penetrating hole, wherein the second member is in contact with the top portion and the bottom portion, and is interposed between the top portion and the bottom portion of the first member. wherein the second member includes an opaque material, which provides the shielding structure.